/* ═══════════════════════════════════════════════════════════════
   AhmedXD - Main Site Stylesheet
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--background-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Container ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-admin { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.logo-link {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 800; font-size: 1.25rem; color: var(--text);
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .9rem;
}
.logo-text { font-size: 1.2rem; }
.logo-accent { color: var(--primary); }

.desktop-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
    padding: .5rem .875rem; border-radius: 8px;
    font-size: .9rem; font-weight: 500; color: var(--text-light);
    transition: all .15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(37,99,235,.08); }

/* Profile dropdown in nav */
.nav-profile-menu { position: relative; }
.profile-btn {
    display: flex; align-items: center; gap: .5rem;
    padding: .375rem .75rem .375rem .5rem;
    border-radius: 100px;
    background: var(--background-light);
    border: 1px solid var(--border);
    font-size: .875rem; font-weight: 500;
    transition: all .15s;
}
.profile-btn:hover { border-color: var(--primary); color: var(--primary); }
.avatar-sm {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; font-size: .75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.profile-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    width: 200px; background: var(--background);
    border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-lg); overflow: hidden; z-index: 999;
}
.nav-profile-menu:hover .profile-dropdown,
.nav-profile-menu:focus-within .profile-dropdown { display: block; }
.profile-dropdown a {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1rem; font-size: .875rem;
    color: var(--text); transition: background .15s;
}
.profile-dropdown a:hover { background: var(--background-light); color: var(--primary); }
.profile-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 0; }
.profile-dropdown .logout-link { color: #ef4444; }
.profile-dropdown .logout-link:hover { background: #fef2f2; }

/* Nav courses section inside dropdown — compact */
.nav-courses-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: .25rem 0;
    margin: .25rem 0;
}
.nav-courses-label {
    padding: .3rem .875rem;
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: .3rem;
}
.nav-courses-list { padding: 0; }
.nav-courses-list .nav-course-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .875rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background .12s, color .12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.nav-courses-list .nav-course-link:hover {
    background: rgba(37,99,235,.07);
    color: var(--primary);
}
.nav-courses-list .nav-course-link i {
    font-size: .65rem;
    color: var(--primary);
    flex-shrink: 0;
}
.nav-courses-list .nav-course-link small {
    display: none;
}
.nav-no-courses {
    padding: .35rem .875rem;
    font-size: .78rem;
    color: var(--text-light);
    font-style: italic;
}
/* course-code-badge in profile */
.course-code-badge {
    display: inline-block;
    background: rgba(37,99,235,.08);
    color: var(--primary);
    border-radius: 6px;
    padding: .1rem .45rem;
    font-size: .68rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.header-actions {
    margin-left: auto; /* هذا السطر الرئيسي */
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav + .header-actions { margin-left: 0; }

/* Notifications */
.notif-wrapper { position: relative; }
.notif-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: 1rem;
    transition: all .15s; position: relative;
    border: 1px solid var(--border); background: var(--background-light);
}
.notif-btn:hover { color: var(--primary); border-color: var(--primary); }
.notif-badge {
    position: absolute; top: -2px; right: -2px;
    min-width: 18px; height: 18px; border-radius: 9px;
    background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.notif-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    width: 320px; background: var(--background);
    border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-lg); overflow: hidden; z-index: 999;
}
.notif-wrapper:hover .notif-dropdown { display: block; }
.notif-header {
    padding: .75rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border);
    font-size: .875rem; font-weight: 600;
}
.notif-clear {
    font-size: .75rem; color: var(--primary); font-weight: 500;
    padding: .25rem .5rem; border-radius: 6px;
    transition: background .15s;
}
.notif-clear:hover { background: rgba(37,99,235,.08); }
.notif-list { max-height: 320px; overflow-y: auto; }
.notif-item {
    padding: .875rem 1rem; border-bottom: 1px solid var(--border);
    display: flex; gap: .75rem; cursor: pointer; transition: background .15s;
}
.notif-item:hover { background: var(--background-light); }
.notif-item.unread { background: rgba(37,99,235,.04); }
.notif-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: .875rem;
}
.notif-icon.enrollment { background: #dbeafe; color: var(--primary); }
.notif-icon.tma        { background: #d1fae5; color: #059669; }
.notif-icon.success    { background: #d1fae5; color: #059669; }
.notif-icon.warning    { background: #fef3c7; color: #d97706; }
.notif-icon.info       { background: #e0e7ff; color: #4f46e5; }
.notif-text { flex: 1; }
.notif-title { font-size: .8125rem; font-weight: 600; color: var(--text); }
.notif-body  { font-size: .75rem; color: var(--text-light); margin-top: 2px; }
.notif-time  { font-size: .7rem; color: var(--text-light); margin-top: 4px; }
.notif-empty { padding: 2rem; text-align: center; color: var(--text-light); font-size: .875rem; }

/* Dark toggle */
.dark-toggle {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: .95rem;
    border: 1px solid var(--border); background: var(--background-light);
    transition: all .15s;
}
.dark-toggle:hover { color: var(--primary); border-color: var(--primary); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none; flex-direction: column;
    padding: .5rem 1.5rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--background);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: .625rem .75rem; border-radius: 8px; font-size: .9375rem; }
.mobile-nav .nav-signup {
    color: var(--primary); font-weight: 600;
    border: 1px solid var(--primary); border-radius: 8px;
    text-align: center; margin-top: .25rem;
}
.mobile-nav .nav-logout { color: #ef4444; }

/* ── Main content ────────────────────────────────────────────── */
.site-main { padding-top: 64px; min-height: calc(100vh - 64px); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .625rem 1.25rem; border-radius: 10px;
    font-weight: 600; font-size: .9rem; transition: all .2s;
    white-space: nowrap; cursor: pointer; border: 2px solid transparent;
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0); transition: background .2s;
}
.btn:hover::after { background: rgba(255,255,255,.12); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.35); color:#fff; }
.btn-outline {
    background: transparent; color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-tma {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
}
.btn-tma:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,150,105,.35); color:#fff; }
.btn-ghost { background: transparent; color: var(--text-light); }
.btn-ghost:hover { background: var(--background-light); color: var(--text); }
.btn-ghost-white { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.btn-warning:hover { transform: translateY(-2px); color:#fff; }
.btn-sm { padding: .375rem .875rem; font-size: .8125rem; border-radius: 8px; }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; padding: .875rem; font-size: 1rem; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-control {
    width: 100%; padding: .75rem 1rem; border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--background); color: var(--text);
    font-size: .9375rem; transition: border-color .2s, box-shadow .2s;
    outline: none; appearance: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-control::placeholder { color: var(--text-light); }

.form-group { position: relative; margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .5rem; color: var(--text); }

/* Floating label */
.form-group.floating .form-control { padding: 1.25rem 1rem .5rem; height: 56px; }
.form-group.floating label {
    position: absolute; left: 1rem; top: 50%;
    transform: translateY(-50%);
    font-size: .9375rem; color: var(--text-light);
    pointer-events: none; transition: all .15s; background: transparent;
}
.form-group.floating .form-control:focus ~ label,
.form-group.floating .form-control:not(:placeholder-shown) ~ label {
    top: .5rem; transform: none; font-size: .75rem; color: var(--primary);
}
.field-icon {
    position: absolute; right: 1rem; top: 50%;
    transform: translateY(-50%); color: var(--text-light);
    pointer-events: none;
}
.field-suffix {
    position: absolute; right: 2.5rem; top: 50%;
    transform: translateY(-50%);
    font-size: .8rem; color: var(--text-light);
    background: var(--background-light);
    padding: 2px 6px; border-radius: 4px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.25rem; }
.form-row-space {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem;
}
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .875rem; }
.link-subtle { font-size: .875rem; color: var(--primary); }
.link-subtle:hover { text-decoration: underline; }
.show-pass-btn {
    position: absolute; right: .75rem; top: 50%;
    transform: translateY(-50%); color: var(--text-light);
    font-size: .9rem; padding: .25rem .375rem; transition: color .15s;
    line-height: 1; z-index: 2;
}
.show-pass-btn:hover { color: var(--primary); }
/* strength bar stays inside the input box visually */
.strength-bar {
    height: 3px; background: var(--border); border-radius: 2px;
    margin-top: .375rem; overflow: hidden;
}
.strength-fill { height: 100%; width: 0; border-radius: 2px; transition: all .3s; }
.strength-text { font-size: .7rem; margin-top: 2px; display: block; min-height: 1rem; }
.field-error { font-size: .75rem; color: #ef4444; margin-top: .25rem; display: block; }
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .875rem center;
    padding-right: 2.5rem;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .2rem .625rem; border-radius: 20px;
    font-size: .75rem; font-weight: 600;
}
.badge-level    { background: #dbeafe; color: var(--primary); }
.badge-category { background: #ede9fe; color: #7c3aed; }
.badge-tma      { background: #d1fae5; color: #059669; }
.badge-student  { background: #dbeafe; color: var(--primary); }
.badge-verified { background: #d1fae5; color: #059669; }

/* Status badges */
.status-badge { display: inline-block; padding: .2rem .625rem; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.status-pending          { background: #fef3c7; color: #d97706; }
.status-active           { background: #d1fae5; color: #059669; }
.status-expired          { background: #fee2e2; color: #dc2626; }
.status-cancelled        { background: #f3f4f6; color: #6b7280; }
.status-pending_payment  { background: #dbeafe; color: #2563eb; }
.status-tma-new         { background: #dbeafe; color: var(--primary); }
.status-tma-accepted    { background: #d1fae5; color: #059669; }
.status-tma-in_progress { background: #fef3c7; color: #d97706; }
.status-tma-solved      { background: #d1fae5; color: #059669; }
.status-tma-delivered   { background: #ede9fe; color: #7c3aed; }
.status-tma-cancelled   { background: #fee2e2; color: #dc2626; }

/* ── Section commons ─────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-badge {
    display: inline-flex; align-items: center; gap: .375rem;
    padding: .375rem .875rem; border-radius: 20px;
    background: rgba(37,99,235,.08); color: var(--primary);
    font-size: .8125rem; font-weight: 600; margin-bottom: 1rem;
}
.section-title { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: .75rem; }
.section-sub   { font-size: 1.0625rem; color: var(--text-light); max-width: 520px; margin: 0 auto; }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--background); border-radius: 16px;
    padding: 2rem; width: 100%; max-width: 440px;
    box-shadow: var(--shadow-xl); position: relative;
    animation: modalIn .2s ease-out;
}
@keyframes modalIn { from { transform: scale(.95) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: .875rem;
    transition: all .15s;
}
.modal-close:hover { background: var(--background-light); color: var(--text); }
.modal-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(37,99,235,.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1rem;
}
.modal-box h3 { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: .5rem; }
.modal-box > p { font-size: .9rem; color: var(--text-light); text-align: center; margin-bottom: 1.25rem; }
.discount-row {
    display: flex; gap: .5rem; margin-bottom: .5rem;
    background: var(--background-light);
    border: 1.5px solid var(--border);
    border-radius: 10px; padding: .3rem .3rem .3rem .75rem;
    transition: border-color .2s;
}
.discount-row:focus-within { border-color: var(--primary); }
.discount-row input {
    flex: 1; border: none; background: transparent; outline: none;
    font-size: .875rem; color: var(--text);
    font-family: inherit; min-width: 0;
}
.discount-row input::placeholder { color: var(--text-light); }
.discount-row .btn-apply {
    flex-shrink: 0; padding: .45rem .9rem; border-radius: 7px;
    font-size: .8rem; font-weight: 600;
    background: var(--primary); color: #fff; border: none; cursor: pointer;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}
.discount-row .btn-apply:hover  { background: var(--primary-dark); }
.discount-row .btn-apply:active { transform: scale(.95); }
.discount-msg {
    font-size: .8rem; padding: .45rem .75rem; border-radius: 8px;
    margin-bottom: .75rem; display: flex; align-items: center; gap: .4rem;
}
.discount-msg.success { background: rgba(16,185,129,.12); color: #059669; }
.discount-msg.error   { background: rgba(239,68,68,.12);  color: #dc2626; }
.price-display {
    display: flex; align-items: center; justify-content: space-between;
    padding: .875rem 1rem; background: var(--background-light);
    border-radius: 10px; margin-bottom: 1.25rem;
}
.price-display .price-label { font-size: .875rem; color: var(--text-light); }
.price-display .price-value { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.modal-actions { display: flex; gap: .75rem; }
.modal-actions .btn { flex: 1; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,.7);
    padding: 3rem 1.5rem 0;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.footer-logo span { color: var(--primary); }
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .95rem; transition: all .2s;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-col a, .footer-col p {
    display: block; font-size: .875rem; margin-bottom: .5rem;
    color: rgba(255,255,255,.6); transition: color .15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-col p i { margin-right: .5rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0; text-align: center;
    font-size: .8125rem; color: rgba(255,255,255,.4);
    max-width: 1200px; margin: 0 auto;
}

/* ── Page Loader ─────────────────────────────────────────────── */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
}
.loader-content { text-align: center; }
.loader-svg { width: 100px; height: 100px; }
.loader-text {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; font-weight: 900;
    fill: none; stroke: var(--primary); stroke-width: 2;
    animation: loaderStroke 1.5s ease-in-out infinite alternate;
}
@keyframes loaderStroke {
    0%   { stroke-dasharray: 0 200; stroke-dashoffset: 0; fill: transparent; }
    50%  { stroke-dasharray: 200 0; fill: transparent; }
    100% { fill: var(--primary); stroke-dasharray: 200 0; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger   { display: flex; }
    .header-actions { margin-left: auto; }
}
@media (max-width: 768px) {
    .header-inner {
        padding: 0 12px;
        gap: 12px;
    }

    .header-actions {
        margin-left: auto;
        gap: 6px;
    }

    .notif-dropdown {
        right: -8px;
    }
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.625rem; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .container-admin { padding: 0 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 .75rem; }
    .container-admin { padding: 0 .75rem; }
}

/* ── Dark mode overrides ─────────────────────────────────────── */
body.dark .site-header {
    background: rgba(17,24,39,.95);
    border-color: rgba(255,255,255,.08);
}
body.dark .logo-link { color: #f3f4f6; }
body.dark .nav-link  { color: #9ca3af; }
body.dark .nav-link:hover { color: var(--primary); background: rgba(59,130,246,.1); }
body.dark .profile-btn { background: #1f2937; border-color: #374151; color: #e5e7eb; }
body.dark .profile-dropdown { background: #1f2937; border-color: #374151; }
body.dark .profile-dropdown a { color: #e5e7eb; }
body.dark .profile-dropdown a:hover { background: #374151; }
body.dark .notif-btn, body.dark .dark-toggle {
    background: #1f2937; border-color: #374151; color: #9ca3af;
}
body.dark .mobile-nav { background: #111827; border-color: #374151; }
body.dark .form-control {
    background: #1f2937; border-color: #374151; color: #f3f4f6;
}
body.dark .form-control:focus { border-color: var(--primary); }
body.dark .form-control::placeholder { color: #6b7280; }
body.dark .modal-box { background: #1f2937; }
body.dark .price-display { background: #374151; }
body.dark .site-footer { background: #0f172a; }
body.dark .page-loader { background: rgba(17,24,39,.9); }
