/* Formal navigation — matches the client desk */

.desktop-nav,
.mobile-header,
.mobile-bottom-nav,
.mobile-menu-panel,
.profile-dropdown,
.notification-menu {
    --ink: #f4f0e8;
    --muted: #a3abba;
    --gold: #d4b88a;
    --line: rgba(212, 184, 138, 0.28);
    font-family: "Manrope", "Poppins", sans-serif;
}

.desktop-nav.navbar {
    background: rgba(14, 20, 34, 0.94) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    padding: 0.7rem 0;
}

.desktop-nav.navbar.scrolled {
    background: rgba(12, 17, 29, 0.98) !important;
    border-bottom-color: rgba(212, 184, 138, 0.4);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    padding: 0.45rem 0;
}

.desktop-nav .navbar-brand:hover {
    transform: none;
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.footer-lang-label {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(8, 12, 22, 0.45);
    gap: 0.1rem;
}

.lang-switch__btn {
    min-width: 2.15rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    color: var(--muted) !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.2;
}

.lang-switch__btn.is-on {
    background: linear-gradient(180deg, #e4cc9e, #c6a36a);
    color: #1a140c !important;
}

.lang-switch__btn:hover {
    color: var(--ink) !important;
}

html[dir="rtl"] body,
html[dir="rtl"] .desktop-nav,
html[dir="rtl"] .mobile-header,
html[dir="rtl"] .mobile-bottom-nav,
html[dir="rtl"] .mobile-menu-panel,
html[dir="rtl"] .footer,
html[dir="rtl"] .desk {
    font-family: "IBM Plex Sans Arabic", "Manrope", "Poppins", sans-serif;
}

html[dir="rtl"] .desk-title,
html[dir="rtl"] .desk-title span {
    font-family: "IBM Plex Sans Arabic", "Manrope", sans-serif;
    font-style: normal;
}

.desktop-nav .nav-link {
    color: var(--ink) !important;
}

.desktop-nav a.nav-3d,
.desktop-nav a.nav-3d:hover,
.desktop-nav a.nav-3d:active,
.desktop-nav a.nav-3d.active,
.desktop-nav a.nav-3d.active:hover {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    color: var(--muted) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.48rem 0.85rem !important;
    margin: 0 0.12rem !important;
}

.desktop-nav a.nav-3d::before,
.desktop-nav a.nav-3d.active::before {
    display: none !important;
}

.desktop-nav a.nav-3d i {
    color: var(--muted);
    text-shadow: none !important;
    transform: none !important;
    font-size: 0.82rem;
}

.desktop-nav a.nav-3d:hover {
    color: var(--ink) !important;
    background: rgba(212, 184, 138, 0.08) !important;
    border-color: var(--line) !important;
}

.desktop-nav a.nav-3d:hover i {
    color: var(--gold);
    transform: none;
}

.desktop-nav a.nav-3d.active,
.desktop-nav a.nav-3d.active:hover {
    color: var(--ink) !important;
    background: rgba(212, 184, 138, 0.12) !important;
    border-color: rgba(212, 184, 138, 0.4) !important;
}

.desktop-nav a.nav-3d.active i,
.desktop-nav a.nav-3d.active:hover i {
    color: var(--gold) !important;
    text-shadow: none !important;
    transform: none !important;
}

.desktop-nav a.nav-3d.active::after {
    background: var(--gold) !important;
    box-shadow: none !important;
    animation: none !important;
    opacity: 1 !important;
    width: 28% !important;
    height: 2px;
    bottom: 4px;
}

.desktop-nav a.nav-3d.kyc-incomplete i {
    color: #e08b8b !important;
    text-shadow: none !important;
}

.desktop-nav a.nav-3d.kyc-complete i {
    color: #7dcaa8 !important;
    text-shadow: none !important;
}

.desktop-nav .profile-avatar,
.mobile-header .profile-avatar,
.mobile-header .mobile-profile-avatar {
    border: 1px solid rgba(212, 184, 138, 0.7);
    background: rgba(212, 184, 138, 0.12);
    box-shadow: none;
    color: var(--gold);
}

.desktop-nav .profile-avatar::before,
.mobile-header .profile-avatar::before {
    display: none;
}

.desktop-nav .profile-avatar:hover,
.mobile-header .mobile-profile-avatar:hover {
    transform: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 184, 138, 0.15);
}

.desktop-nav .profile-menu .text-white {
    color: var(--muted) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.profile-dropdown {
    background: #141c2e !important;
    border: 1px solid rgba(212, 184, 138, 0.32) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
}

.profile-dropdown::before {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
}

.profile-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(212, 184, 138, 0.16) !important;
}

.profile-header .user-name {
    font-family: "Manrope", "Poppins", sans-serif;
    letter-spacing: 0;
}

.profile-header .user-email {
    color: var(--muted) !important;
}

.profile-header .profile-avatar {
    border-color: rgba(212, 184, 138, 0.7) !important;
    background: rgba(212, 184, 138, 0.1) !important;
}

.verification-status .badge.bg-success {
    background: rgba(125, 202, 168, 0.16) !important;
    color: #7dcaa8 !important;
    border-color: rgba(125, 202, 168, 0.35) !important;
}

.verification-status .badge.bg-warning {
    background: rgba(226, 194, 122, 0.16) !important;
    color: #e2c27a !important;
    border-color: rgba(226, 194, 122, 0.4) !important;
}

.profile-menu-item {
    color: var(--ink);
    font-weight: 600;
}

.profile-menu-item::before {
    background: var(--gold) !important;
}

.profile-menu-item i {
    color: var(--gold) !important;
}

.profile-menu-item:hover {
    background: rgba(212, 184, 138, 0.08) !important;
    color: var(--ink) !important;
    transform: none;
}

.profile-menu-item.logout,
.profile-menu-item.logout i,
.mobile-menu-item.logout {
    color: #e08b8b !important;
}

.profile-menu-item.logout:hover {
    background: rgba(224, 139, 139, 0.1) !important;
    color: #e08b8b !important;
}

.profile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.2rem 0.85rem 0.35rem;
    padding: 0.7rem 0.15rem 0.35rem;
    border-top: 1px solid rgba(212, 184, 138, 0.16);
    flex-wrap: wrap;
}

.profile-lang__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted, #a3abba);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-lang__label i {
    color: var(--gold, #d4b88a);
    width: 1rem;
    text-align: center;
}

.profile-dropdown .lang-switch {
    background: rgba(8, 12, 22, 0.55);
    flex-shrink: 0;
}

.profile-dropdown .lang-switch__btn {
    min-width: 1.72rem;
    padding: 0.24rem 0.38rem;
    letter-spacing: 0.04em;
}

.notification-menu {
    background: #141c2e !important;
    border: 1px solid rgba(212, 184, 138, 0.32) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
}

.notification-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(212, 184, 138, 0.16) !important;
}

.notification-header h6 {
    font-family: "Manrope", "Poppins", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.mark-all-read,
.mark-all-read:hover {
    color: var(--gold) !important;
}

.notification-footer .btn-primary {
    background: linear-gradient(180deg, #e4cc9e, #c6a36a) !important;
    color: #1a140c !important;
    border: 0 !important;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.desktop-nav #notificationDropdown {
    color: var(--muted) !important;
    background: transparent !important;
    border-color: transparent !important;
}

.desktop-nav #notificationDropdown:hover {
    color: var(--gold) !important;
}

.mobile-header {
    background: rgba(14, 20, 34, 0.96) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.mobile-header .mobile-header-profile a {
    color: var(--gold) !important;
}

.mobile-bottom-nav {
    background: rgba(14, 20, 34, 0.96) !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28) !important;
}

.mobile-bottom-nav .bottom-nav-item,
.mobile-bottom-nav button.bottom-nav-item {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    color: var(--muted) !important;
    transform: none !important;
}

.mobile-bottom-nav .bottom-nav-item .nav-icon i,
.mobile-bottom-nav .bottom-nav-item .nav-label {
    color: var(--muted);
}

.mobile-bottom-nav .bottom-nav-item:hover,
.mobile-bottom-nav button.bottom-nav-item:hover {
    background: rgba(212, 184, 138, 0.08) !important;
    border-color: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.mobile-bottom-nav .bottom-nav-item.active,
.mobile-bottom-nav .bottom-nav-item.active:hover {
    background: rgba(212, 184, 138, 0.12) !important;
    border-color: rgba(212, 184, 138, 0.28) !important;
    box-shadow: none !important;
    transform: none !important;
    color: var(--gold) !important;
}

.mobile-bottom-nav .bottom-nav-item.active .nav-icon i,
.mobile-bottom-nav .bottom-nav-item.active .nav-label {
    color: var(--gold) !important;
}

.mobile-menu-panel {
    background: #141c2e !important;
    border: 1px solid rgba(212, 184, 138, 0.32) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4) !important;
}

.mobile-menu-header {
    border-bottom: 1px solid rgba(212, 184, 138, 0.16) !important;
}

.mobile-menu-header h5 {
    font-family: "Manrope", "Poppins", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--gold) !important;
}

.btn-close-menu {
    background: transparent !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    border-radius: 8px !important;
}

.mobile-menu-item {
    color: var(--ink);
    font-weight: 600;
}

.mobile-menu-item::before {
    background: var(--gold) !important;
    width: 2px;
}

.mobile-menu-item i {
    color: var(--gold);
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: rgba(212, 184, 138, 0.08) !important;
    color: var(--ink) !important;
}

.mobile-menu-item.live-telegram i {
    color: #9ebbd4 !important;
}

.mobile-menu-item.live-whatsapp i {
    color: #7dcaa8 !important;
}

.mobile-menu-item .external-pill {
    border-color: rgba(212, 184, 138, 0.35) !important;
    color: var(--gold) !important;
    background: rgba(212, 184, 138, 0.08) !important;
}

.mobile-menu-divider {
    background: rgba(212, 184, 138, 0.16) !important;
}

.footer {
    --ink: #f4f0e8;
    --muted: #a3abba;
    --gold: #d4b88a;
    --line: rgba(212, 184, 138, 0.28);
    margin-top: 2.5rem;
    padding: 1.35rem 1.25rem 1.5rem;
    background: rgba(14, 20, 34, 0.96) !important;
    border-top: 1px solid var(--line);
    box-shadow: none;
    color: var(--muted);
    font-family: "Manrope", "Poppins", sans-serif;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.2fr) minmax(160px, 0.8fr);
    gap: 1.25rem 2rem;
    align-items: center;
}

.footer-copy,
.footer-note,
.footer p {
    margin: 0;
}

.footer-copy {
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 600;
}

.footer-note {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.footer .awards-section {
    padding: 0;
    text-align: center;
}

.footer .awards-title {
    margin: 0 0 0.65rem;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer .awards-container {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
}

.footer .award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 108px;
}

.footer .award-item::before,
.footer .award-item::after,
.footer .award-item:hover::before,
.footer .award-item:hover::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

.footer .award-image {
    height: 52px;
    width: 72px;
    max-width: none;
    object-fit: contain;
    padding: 0.35rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    filter: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.footer .award-item:hover .award-image {
    transform: translateY(-2px);
    border-color: rgba(212, 184, 138, 0.55);
    box-shadow: none;
    filter: none;
}

.footer .award-caption {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.3;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
}

.footer-social a {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #1a140c;
    background: linear-gradient(180deg, #e4cc9e, #c6a36a);
    border-color: transparent;
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-lang {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        margin-top: 1.25rem;
        padding: 1.1rem 0.9rem 1.2rem;
    }
}
