body {
    background-color: #0b0b0b;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ሄደር እና ናቪጌሽን */
header, .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #0b0b0b;
    border-bottom: 1px solid #1f1f1f;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* የናቭ ሎጎ ምስል ትክክለኛ መጠን እና የባክግራውንድ ሳጥን እንዳይኖር ማስተካከያ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: transparent !important;
}

.logo-img, .nav-left img, .navbar img {
    height: 36px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover {
    color: #fff;
}

.auth-buttons, .header-buttons, .nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.signin-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.signin-link:hover {
    color: #fff;
}

.get-started-btn {
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa8621 100%);
    color: #111;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.get-started-btn:hover {
    opacity: 0.95;
}

.form-container {
    background: #141414;
    padding: 35px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    border: 1px solid #d4af3744;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    margin: 40px auto;
}

/* ለሁሉም ፎርሞች (Sign in, Sign up, Verification) ሎጎ ማስተካከያ */
.form-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    text-align: center;
    background: transparent !important;
}

.form-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

.logo-header {
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-symbol {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f3e0aa 0%, #d4af37 50%, #9a7b1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-name {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
}

h2 {
    color: #ffffff;
    margin: 0 0 5px 0;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #bbb;
}

.input-box {
    position: relative;
    margin-bottom: 15px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #1a1a1a;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 14px;
}

.terms-box {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    color: #aaa;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.terms-box input[type="checkbox"] {
    accent-color: #d4af37;
    margin-top: 2px;
}

.terms-box a {
    color: #d4af37;
    text-decoration: none;
}

.terms-box a:hover {
    text-decoration: underline;
}

.captcha-box {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.captcha-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-icon {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.captcha-right {
    text-align: right;
    font-size: 10px;
}

.cloudflare-text {
    font-weight: bold;
    color: #f38020;
    display: block;
    font-size: 11px;
}

.submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa8621 100%);
    color: #111;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: 0.2s;
    box-sizing: border-box;
}

.submit-btn:hover {
    opacity: 0.95;
}

.google-btn, .passkey-btn {
    width: 100%;
    padding: 12px;
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    transition: 0.2s;
}

.passkey-btn {
    color: #d4af37;
    border-color: #d4af3744;
}

.google-btn:hover, .passkey-btn:hover {
    background-color: #222;
}

.divider {
    text-align: center;
    border-bottom: 1px solid #252525;
    line-height: 0.1em;
    margin: 20px 0;
    color: #555;
    font-size: 11px;
}

.divider span {
    background: #141414;
    padding: 0 15px;
}

.signin-text {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #888;
}

.signin-text a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.signin-text a:hover {
    text-decoration: underline;
}

.forgot-container {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 15px;
}

.forgot-container a {
    color: #d4af37;
    font-size: 12px;
    text-decoration: none;
}

.forgot-container a:hover {
    text-decoration: underline;
}

/* ========================================================= */
/* MOBILE RESPONSIVE FIXES */
/* ========================================================= */
@media (max-width: 768px) {
    body {
        padding: 0;
        overflow-x: hidden;
    }

    .form-container {
        width: 92% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin: 20px auto !important;
        border-radius: 12px;
    }

    header, .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 12px 16px !important;
        box-sizing: border-box !important;
    }

    .nav-links {
        display: none !important;
    }

    .auth-buttons, .header-buttons, .nav-right {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .signin-link {
        font-size: 12px !important;
    }

    .get-started-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 20px !important;
    }

    p, .hero-description {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

.nav-kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 10px;
}

.nav-kyc-badge.unverified {
    background: rgba(246, 70, 93, 0.1);
    color: #f6465d;
    border: 1px solid rgba(246, 70, 93, 0.3);
}

.nav-kyc-badge.pending {
    background: rgba(243, 186, 47, 0.1);
    color: #f3ba2f;
    border: 1px solid rgba(243, 186, 47, 0.3);
}

.nav-kyc-badge.approved {
    background: rgba(14, 203, 129, 0.1);
    color: #0ecb81;
    border: 1px solid rgba(14, 203, 129, 0.3);
}

.nav-kyc-badge.rejected {
    background: rgba(246, 70, 93, 0.15);
    color: #f6465d;
    border: 1px solid rgba(246, 70, 93, 0.5);
}

/* --- Absolute Force Light Mode Styling --- */
body.light-mode {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

body.light-mode .navbar, 
body.light-mode header,
body.light-mode nav {
    background-color: #ffffff !important;
    color: #212529 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

body.light-mode div[class*="balance"],
body.light-mode div[class*="card"],
body.light-mode section,
body.light-mode .box,
body.light-mode div {
    background-color: #ffffff !important;
    color: #212529 !important;
}

body.light-mode span, 
body.light-mode p, 
body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3, 
body.light-mode h4,
body.light-mode a {
    color: inherit;
}