/* ======================
   FONT
====================== */
@font-face {
    font-family: "Bahij";
    src: url("Bahij_Zar.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ======================
   RESET
====================== */
* {
    box-sizing: border-box;
}

/* ======================
   FORCE FONT OVERRIDE (UIKit Killer)
====================== */
html,
body,
h1, h2, h3, h4, h5, h6,
p, span, div, a,
input, textarea, button, select,
.uk-container,
.uk-grid,
.uk-panel,
.uk-article,
.uk-navbar,
.uk-navbar-nav > li > a,
.uk-text-center,
.uk-text-right,
.uk-text-left,
.uk-modal,
.uk-modal-dialog {
    font-family: "Bahij", Arial, sans-serif !important;
}

/* ======================
   BODY
====================== */
body {
    background-color: #0a1a33;
    margin: 0;
    color: #e8f0ff;
    direction: rtl;
}

/* ======================
   GLOBAL CONTENT WIDTH
====================== */
.container,
.content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ======================
   HEADER
====================== */
.header-stripe {
    background: #0d2247;
    border-bottom: 3px solid #1e88ff;
    box-shadow: 0px 0px 30px rgba(30, 136, 255, 0.3);
}

/* ======================
   FOOTER
====================== */
.footer-stripe {
    background: #0d2247;
    border-top: 3px solid #1e88ff;
    box-shadow: 0px 0px 30px rgba(30, 136, 255, 0.3);
    padding: 20px 0;
    text-align: center;
}

/* ======================
   SEARCH BOX
====================== */
#search_box {
    width: 90%;
    margin: 10px auto 0 auto;
}

#searchid,
#searchid:focus {
    width: 100%;
    padding: 12px 18px;
    background: #ffffff;
    border: 2px solid #1e88ff;
    border-radius: 10px;
    font-size: 22px;
    outline: none;
    color: #003366;
    font-family: "Bahij", Arial, sans-serif;
}

/* ======================
   RESULT BOX
====================== */
#result {
    background: #ffffff;
    color: #003366;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

/* ======================
   TEXTAREA
====================== */
.retranslit {
    width: 100%;
    background: #ffffff;
    border: 2px solid #1e88ff;
    border-radius: 12px;
    padding: 18px;
    font-size: 18px;
    color: #001a33;
    line-height: 1.6;
    height: 500px !important;
    resize: vertical;
    font-family: "Bahij", Arial, sans-serif;
}

/* ======================
   TITLES
====================== */
.white {
    color: #1e88ff !important;
}

/* ======================
   LETTERS TABS
====================== */
#letters li a {
    background: #1e88ff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
}

#letters li.uk-active a {
    background: #fff;
    color: #1e88ff;
    border: 2px solid #1e88ff;
}

#letters li a .word_count {
    color: #e0e0e0;
}

/* ======================
   WORD LIST
====================== */
.word {
    padding: 12px;
    margin: 4px 0;
    background: #10294f;
    border-left: 4px solid #1e88ff;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
}

.result_word {
    padding: 10px;
    color: #1e88ff;
    font-weight: bold;
}

/* ======================
   STATUS COLORS
====================== */
.loading   { background: #1e88ff; }
.up2date   { background: #0cb14b; }
.attention { background: #d93025; }

.input_error {
    color: #ff4b4b;
}
