/* ==========================================================================
   OUROXCHANGE - MASTER STYLESHEET (style.css)
   --------------------------------------------------------------------------
   TABLE OF CONTENTS:
   1. DESIGN TOKENS & CSS VARIABLES
   2. GLOBAL RESETS & BASE TYPOGRAPHY
   3. MODERN RESPONSIVE NAVIGATION BAR (DUAL-STATE: GUEST & USER)
   4. BUTTONS, BADGES, TAGS & INTERACTIVE CONTROLS
   5. FORMS, INPUTS & UNIFIED FILTER BARS
   6. GRID & CARD COMPONENT LAYOUTS
   7. HOME PAGE & HERO SECTION
   8. PEOPLE DIRECTORY, PROFILES & ITEM LISTINGS
   9. REAL-TIME CHAT & MESSAGING INTERFACE
   10. AUTHENTICATION SCREENS (LOGIN, SIGNUP, FORGOT PASSWORD)
   11. STATIC CONTENT & POLICY PAGES (ABOUT, PRIVACY, CONTACT)
   12. MODERN OUROXCHANGE FOOTER
   13. GLOBAL RESPONSIVE MEDIA QUERIES & ACCESSIBILITY FIXES
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Light Theme */
    --bg: #f4f7f4;
    --sf: #ffffff;
    --ink: #0f2420;
    --mut: #475569;
    --ln: #d8e2dd;
    --pri: #12332e;
    --onp: #ffffff;
    --acc: #f2a33a;
    --tint: #eaf2ee;
    --bad: #dc2626;
    --bad-subtle: #fef2f2;
    --bad-border: #fecaca;
    --good: #15803d;
    --good-subtle: #f0fdf4;
    --brand-blue: #0065ef;
    --brand-blue-subtle: #eff6ff;

    /* Typography Hierarchy (Inter / System Sans-Serif) */
    --font-sans: 'Inter', Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Bricolage Grotesque', 'Inter', Figtree, sans-serif;

    /* Typographic Scale */
    --text-2xs: 0.72rem;
    --text-xs: 0.78rem;
    --text-sm: 0.86rem;
    --text-base: 0.95rem;
    --text-md: 1.05rem;
    --text-lg: 1.18rem;
    --text-xl: 1.35rem;
    --text-2xl: 1.7rem;
    --text-3xl: 2.25rem;
    --text-4xl: 2.85rem;

    /* Spacing Grid (Multiples of 4px / 8px) */
    --space-0-5: 2px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Border Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Layered Elevation Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.10), 0 8px 16px -4px rgba(15, 23, 42, 0.05);

    /* Animation Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-base: 0.2s var(--ease-out);
    --transition-slow: 0.3s var(--ease-out);

    color-scheme: light;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0c1a17;
        --sf: #142824;
        --ink: #f0f7f4;
        --mut: #9bb5ad;
        --ln: #243e38;
        --pri: #f2a33a;
        --onp: #12332e;
        --acc: #f2a33a;
        --tint: #1c3630;
        --bad: #f87171;
        --bad-subtle: rgba(239, 68, 68, 0.14);
        --bad-border: rgba(239, 68, 68, 0.32);
        --good: #34d399;
        --good-subtle: rgba(16, 185, 129, 0.14);
        --brand-blue: #60a5fa;
        --brand-blue-subtle: rgba(0, 101, 239, 0.16);

        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.55), 0 2px 6px -1px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.65), 0 6px 14px -2px rgba(0, 0, 0, 0.45);
        --shadow-xl: 0 24px 38px -6px rgba(0, 0, 0, 0.75), 0 10px 18px -4px rgba(0, 0, 0, 0.55);

        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0c1a17;
    --sf: #142824;
    --ink: #f0f7f4;
    --mut: #9bb5ad;
    --ln: #243e38;
    --pri: #f2a33a;
    --onp: #12332e;
    --acc: #f2a33a;
    --tint: #1c3630;
    --bad: #f87171;
    --bad-subtle: rgba(239, 68, 68, 0.14);
    --bad-border: rgba(239, 68, 68, 0.32);
    --good: #34d399;
    --good-subtle: rgba(16, 185, 129, 0.14);
    --brand-blue: #60a5fa;
    --brand-blue-subtle: rgba(0, 101, 239, 0.16);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.55), 0 2px 6px -1px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.65), 0 6px 14px -2px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 24px 38px -6px rgba(0, 0, 0, 0.75), 0 10px 18px -4px rgba(0, 0, 0, 0.55);

    color-scheme: dark;
}

/* ==========================================================================
   2. GLOBAL RESETS & BASE TYPOGRAPHY
   ========================================================================== */
html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(75px + env(safe-area-inset-top, 0px));
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.55 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
    word-break: break-word;
}

.card,
.m,
.item-details-card,
.prof-info,
.doc-card {
    overflow-wrap: break-word;
    word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 var(--space-2);
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
}

h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-lg);
    font-weight: 700;
}

a {
    color: inherit;
    transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 2px;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    box-sizing: border-box;
    width: 100%;
}

/* ── Official Brand Logo Enhancements ── */
.hero-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 99px;
    padding: 5px 14px 5px 8px;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    color: var(--ink);
}

.hero-pill-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.auth-header {
    text-align: center;
    margin-bottom: 22px;
}

.auth-brand-logo {
    height: 60px;
    max-width: 210px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    transition: transform .2s ease;
}

.auth-brand-logo:hover {
    transform: scale(1.02);
}

.auth-icon-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    transition: transform .2s ease;
}

.auth-icon-logo:hover {
    transform: scale(1.04);
}

.about-page {
    max-width: 680px;
}

.about-hero {
    text-align: center;
    padding: 20px 0 10px;
}

.about-brand-logo {
    height: 84px;
    max-width: 260px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.about-tagline {
    font-size: 1.15rem;
    color: var(--mut);
    margin: 4px 0 0;
}

.contact-brand-row,
.policy-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-brand-logo,
.policy-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: inline-block;
}

/* ── Page Layout & Alignment Enhancements ── */
.pcard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.pcard-user {
    flex: 1;
    min-width: 0;
}
.pcard-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 1.05rem;
}
.pcard-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pcard-city {
    font-size: .85rem;
    margin-top: 2px;
}
.pcard-bio {
    margin: 0 0 10px;
    font-size: .92rem;
    line-height: 1.48;
    color: var(--ink);
    flex: 1;
}
.pcard-tags {
    margin-bottom: 10px;
}
.pcard-btn {
    width: 100%;
}

.icard-tags {
    margin: 4px 0 6px;
}
.icard-title {
    font-size: 1.05rem;
    margin: 0 0 6px;
    line-height: 1.35;
}
.icard-footer {
    font-size: .85rem;
}

.auth-card {
    max-width: 440px;
    margin: var(--space-8) auto;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-lg);
    width: 100%;
    box-sizing: border-box;
}
.auth-card form {
    max-width: 100%;
    width: 100%;
}
.auth-footer {
    text-align: center;
    margin-top: var(--space-4);
    line-height: 1.6;
}
.auth-footer a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-card {
    max-width: 620px;
    margin: var(--space-6) auto;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-lg);
    width: 100%;
    box-sizing: border-box;
}
.form-card form {
    max-width: 100%;
    width: 100%;
}
.form-card-header {
    margin-bottom: var(--space-5);
}
.form-card-header h2 {
    margin: 10px 0 4px;
}

.item-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: var(--space-8);
    align-items: start;
    margin-top: var(--space-4);
}
.item-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.item-gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ln);
    box-shadow: var(--shadow-sm);
}
.item-gallery .item-emo-placeholder {
    height: 260px;
    font-size: 6rem;
    border-radius: var(--radius-lg);
}
.item-details-card {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}
.item-owner-card {
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin: var(--space-4) 0;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.item-owner-card:hover {
    border-color: var(--pri);
    box-shadow: var(--shadow-sm);
}
@media(max-width: 768px) {
    .item-detail-layout {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .item-details-card {
        padding: var(--space-5) var(--space-4);
    }
}

.prof-header {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}
.prof-info {
    flex: 1 1 280px;
}
.prof-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.prof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-5);
}
@media(max-width: 720px) {
    .prof-grid {
        grid-template-columns: 1fr;
    }
    .prof-header {
        padding: var(--space-5) var(--space-4);
    }
}

.cr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--ln);
    background: var(--sf);
    flex-wrap: wrap;
    min-height: 60px;
}
.cr-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.send {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--ln);
    background: var(--sf);
}
.send input {
    height: 42px !important;
    border-radius: 10px !important;
    flex: 1 1 auto;
    padding: 0 12px !important;
    margin: 0 !important;
}
.send .send-photo-btn,
.send .send-btn {
    height: 42px !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    margin: 0 !important;
    font-size: .92rem !important;
    cursor: pointer;
}

.doc-page {
    max-width: 840px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.doc-card {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 18px;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.doc-card h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--pri);
}
.doc-card h3:first-child {
    margin-top: 0;
}
.doc-card ul, .doc-card ol {
    padding-left: 22px;
    margin: 8px 0 16px;
}
.doc-card li {
    margin-bottom: 6px;
    line-height: 1.55;
}
@media(max-width: 600px) {
    .doc-card {
        padding: 20px 18px;
    }
}

/* ==========================================================================
   3. MODERN RESPONSIVE NAVIGATION BAR
   ========================================================================== */
/* ==========================================================================
   OuroXchange Modern Responsive Navbar (Dual-State: Guest & Registered)
   ========================================================================== */

header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--ln);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.nav-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: var(--space-2) var(--space-4);
    box-sizing: border-box;
    width: 100%;
}

#nav {
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.ox-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 6px 14px;
    gap: var(--space-2);
    position: relative;
    user-select: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

/* 1. Left: Brand & Logo */
.ox-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ox-nav-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    padding: 2px 4px;
    border-radius: var(--radius-sm);
    transition: opacity var(--transition-fast);
}

.ox-nav-brand-wrap:hover {
    opacity: 0.92;
}

.ox-nav-brand-wrap:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.ox-nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

.ox-nav-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.ox-nav-brand-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.ox-brand-x {
    color: var(--brand-blue);
}

.ox-nav-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-blue);
    letter-spacing: 0.01em;
}

.ox-nav-divider {
    width: 1px;
    height: 28px;
    background: var(--ln);
    flex-shrink: 0;
}

/* 2. Center: Navigation Items with Active Indicator Pill */
.ox-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    flex-shrink: 0;
}

.ox-nav-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 14px 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--mut);
    border-radius: var(--radius-md);
    cursor: pointer;
    min-width: 58px;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
}

.ox-nav-btn:hover {
    background: var(--tint);
    color: var(--brand-blue);
    transform: translateY(-1px);
}

.ox-nav-btn.active {
    color: var(--brand-blue);
    background: var(--brand-blue-subtle);
    font-weight: 600;
    border-color: rgba(0, 101, 239, 0.16);
    box-shadow: inset 0 0 0 1px rgba(0, 101, 239, 0.10);
}

.ox-nav-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transition: transform var(--transition-fast);
}

.ox-nav-btn:hover .ox-nav-btn-icon {
    transform: scale(1.05);
}

.ox-nav-btn-label {
    font-size: var(--text-xs);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ox-nav-active-bar {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: var(--radius-full);
}

.ox-nav-btn.active .ox-nav-btn-label {
    margin-bottom: 2px;
}

/* Messages notification badge */
.ox-msg-icon-rel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ox-unread-dot {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sf);
}

/* 3. Global Search Bar Refinement */
.ox-nav-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--ln);
    border-radius: var(--radius-full);
    padding: 0 12px;
    height: 38px;
    width: 240px;
    flex-shrink: 1;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.ox-nav-search:focus-within {
    border-color: var(--brand-blue);
    background: var(--sf);
    box-shadow: 0 0 0 3px rgba(0, 101, 239, 0.15);
}

.ox-nav-search-icon {
    display: flex;
    align-items: center;
    margin-right: 8px;
    color: var(--mut);
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.ox-nav-search:focus-within .ox-nav-search-icon {
    color: var(--brand-blue);
}

.ox-nav-search-input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: var(--text-sm);
    color: var(--ink);
    padding: 0;
    font-family: inherit;
    min-width: 0;
}

.ox-nav-search-input::placeholder {
    color: var(--mut);
    opacity: 0.85;
    font-size: 0.82rem;
}

/* 4. Right: Actions */
.ox-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ox-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ox-btn-signin {
    border: 1.5px solid #0065ef;
    background: transparent;
    color: #0065ef;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.ox-btn-signin:hover {
    background: #eff6ff;
}

.ox-btn-joinfree {
    border: 1.5px solid #0065ef;
    background: #0065ef;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 101, 239, 0.25);
    white-space: nowrap;
}

.ox-btn-joinfree:hover {
    background: #0052c2;
    border-color: #0052c2;
    box-shadow: 0 4px 12px rgba(0, 101, 239, 0.35);
}

.ox-nav-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ox-nav-notif-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ox-nav-notif-btn:hover {
    background: #f1f5f9;
    color: #0065ef;
}

.ox-notif-badge {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.ox-nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px 3px 3px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 9999px;
    transition: background 0.15s ease;
}

.ox-nav-profile-btn:hover {
    background: #f1f5f9;
}

.ox-profile-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0065ef;
    flex-shrink: 0;
    overflow: hidden;
}

.ox-profile-av img,
.ox-av-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-chevron-down {
    color: #64748b;
    transition: transform 0.2s ease;
}

/* 5. Dropdown Menus */
.ox-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.ox-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    padding: 8px;
    z-index: 1000;
}

.ox-dropdown-menu.show {
    display: block;
    animation: oxDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes oxDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ox-more-menu {
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
}

#ox-profile-menu {
    right: 0;
    left: auto;
    min-width: 215px;
}

.ox-profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-bottom: 6px;
    outline: none;
}

.ox-profile-header:hover {
    background: #eff6ff;
}

.ox-profile-header-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0065ef;
    flex-shrink: 0;
}

.ox-profile-header-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ox-arrow-right {
    color: #94a3b8;
    flex-shrink: 0;
}

.ox-dd-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.ox-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ox-dd-item:hover {
    background: #f1f5f9;
    color: #0065ef;
}

.ox-dd-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    flex-shrink: 0;
}

.ox-dd-item:hover .ox-dd-icon {
    color: #0065ef;
}

.ox-dd-danger:hover {
    background: #fef2f2 !important;
}

.ox-dd-danger:hover span,
.ox-dd-danger:hover .ox-dd-icon svg {
    color: #dc2626 !important;
    stroke: #dc2626 !important;
}

/* Backward compatibility fallbacks */
.logo {
    display: none;
}
.nb {
    display: none;
}

/* 6. Responsive Breakpoints */
@media (max-width: 1140px) {
    .ox-nav-search {
        width: 190px;
    }
    .ox-nav-btn {
        padding: 6px 8px 5px;
        min-width: 50px;
    }
    .ox-nav-btn-label {
        font-size: 0.72rem;
    }
}

@media (max-width: 960px) {
    .ox-nav-tagline {
        display: none;
    }
    .ox-nav-search {
        width: 160px;
    }
    .ox-btn-signin {
        padding: 7px 12px;
        font-size: 0.82rem;
    }
    .ox-btn-joinfree {
        padding: 7px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .nav-wrap {
        padding: 4px 8px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .ox-navbar {
        display: flex;
        flex-wrap: wrap;
        padding: 8px 10px;
        border-radius: 14px;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .ox-nav-left {
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }
    .ox-nav-left .ox-nav-divider {
        display: none;
    }
    .ox-nav-tagline {
        display: none;
    }
    .ox-nav-brand-title {
        font-size: 1.15rem;
    }
    .ox-nav-actions {
        margin-left: auto;
        gap: 6px;
        flex-shrink: 0;
    }
    .ox-nav-actions .ox-nav-divider {
        display: none;
    }
    .ox-btn-signin {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .ox-btn-joinfree {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .ox-nav-search {
        order: 3;
        width: 100%;
        max-width: 100%;
        height: 36px;
        margin: 0;
        box-sizing: border-box;
    }
    .ox-nav-search-input {
        width: 100%;
        min-width: 0;
    }
    .ox-nav-links {
        order: 4;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0;
        justify-content: flex-start;
        gap: 4px;
        box-sizing: border-box;
    }
    .ox-nav-links::-webkit-scrollbar {
        display: none;
    }
    .ox-nav-btn {
        flex-shrink: 0;
        padding: 5px 8px 4px;
        min-width: 50px;
    }
    .ox-nav-btn-icon {
        width: 20px;
        height: 20px;
    }
    .ox-nav-btn-label {
        font-size: 0.7rem;
    }
    #ox-more-menu {
        left: auto;
        right: 0;
        transform: none;
        max-width: calc(100vw - 32px);
    }
    #ox-profile-menu {
        right: 0;
        left: auto;
        max-width: calc(100vw - 32px);
    }
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ox-navbar {
        background: #162a26;
        border-color: #2a4640;
        box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    }
    :root:not([data-theme="light"]) .ox-nav-brand-title {
        color: #f1f5f9;
    }
    :root:not([data-theme="light"]) .ox-nav-divider {
        background: #2a4640;
    }
    :root:not([data-theme="light"]) .ox-nav-btn {
        color: #94a3b8;
    }
    :root:not([data-theme="light"]) .ox-nav-btn:hover {
        background: #1d3d37;
        color: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-nav-btn.active {
        background: #1d3d37;
        color: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-nav-active-bar {
        background: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-nav-search {
        background: #112320;
    }
    :root:not([data-theme="light"]) .ox-nav-search-input {
        color: #f1f5f9;
    }
    :root:not([data-theme="light"]) .ox-dropdown-menu {
        background: #162a26;
        border-color: #2a4640;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    }
    :root:not([data-theme="light"]) .ox-profile-header {
        background: #112320;
    }
    :root:not([data-theme="light"]) .ox-profile-header-name {
        color: #f1f5f9;
    }
    :root:not([data-theme="light"]) .ox-dd-item {
        color: #cbd5e1;
    }
    :root:not([data-theme="light"]) .ox-dd-item:hover {
        background: #1d3d37;
        color: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-dd-divider {
        background: #2a4640;
    }
}

:root[data-theme="dark"] .ox-navbar {
    background: #162a26;
    border-color: #2a4640;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}
:root[data-theme="dark"] .ox-nav-brand-title {
    color: #f1f5f9;
}
:root[data-theme="dark"] .ox-nav-divider {
    background: #2a4640;
}
:root[data-theme="dark"] .ox-nav-btn {
    color: #94a3b8;
}
:root[data-theme="dark"] .ox-nav-btn:hover {
    background: #1d3d37;
    color: #60a5fa;
}
:root[data-theme="dark"] .ox-nav-btn.active {
    background: #1d3d37;
    color: #60a5fa;
}
:root[data-theme="dark"] .ox-nav-active-bar {
    background: #60a5fa;
}
:root[data-theme="dark"] .ox-nav-search {
    background: #112320;
}
:root[data-theme="dark"] .ox-nav-search-input {
    color: #f1f5f9;
}
:root[data-theme="dark"] .ox-dropdown-menu {
    background: #162a26;
    border-color: #2a4640;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
:root[data-theme="dark"] .ox-profile-header {
    background: #112320;
}
:root[data-theme="dark"] .ox-profile-header-name {
    color: #f1f5f9;
}
:root[data-theme="dark"] .ox-dd-item {
    color: #cbd5e1;
}
:root[data-theme="dark"] .ox-dd-item:hover {
    background: #1d3d37;
    color: #60a5fa;
}
:root[data-theme="dark"] .ox-dd-divider {
    background: #2a4640;
}

/* ==========================================================================
   4. BUTTONS, BADGES, TAGS & INTERACTIVE CONTROLS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--pri);
    color: var(--onp);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 9px 18px;
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Secondary Actions: Ghost / Outline Style */
.btn.alt,
.btn-ghost {
    background: var(--tint);
    color: var(--ink);
    border: 1px solid var(--ln);
    box-shadow: none;
}

.btn.alt:hover,
.btn-ghost:hover {
    background: color-mix(in srgb, var(--tint) 70%, var(--pri) 15%);
    border-color: var(--pri);
    color: var(--ink);
    transform: translateY(-1px);
}

/* Destructive Actions: Muted Danger Style (Prevents accidental clicks) */
.btn.warn,
.btn-danger-muted {
    background: var(--bad-subtle);
    color: var(--bad);
    border: 1px solid var(--bad-border);
    box-shadow: none;
}

.btn.warn:hover,
.btn-danger-muted:hover {
    background: var(--bad);
    color: #ffffff;
    border-color: var(--bad);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
    transform: translateY(-1px);
}

/* Size Modifiers */
.btn.sm {
    padding: 6px 14px;
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
}

.btn.lg {
    padding: 12px 24px;
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--acc);
    color: #12332e;
    border-radius: var(--radius-full);
    font-size: var(--text-2xs);
    padding: 2px 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

main {
    flex: 1 0 auto;
    padding: 28px 0 60px;
}

.hero {
    padding: 28px 0 12px;
    max-width: 760px;
}

.hero p {
    font-size: var(--text-lg);
    color: var(--mut);
    max-width: 580px;
    line-height: 1.55;
}

.sbar {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin: var(--space-4) 0;
    align-items: center;
}

.sbar input {
    flex: 1 1 240px;
    height: 44px;
    box-sizing: border-box;
    padding: 0 16px;
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--ln);
    background: var(--sf);
    color: var(--ink);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sbar input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 101, 239, 0.14);
    outline: none;
}

.sbar .btn {
    height: 44px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    font-size: var(--text-base);
}

input,
select,
textarea {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    width: 100%;
    color: var(--ink);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 101, 239, 0.14);
    outline: none;
}

.row {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    align-items: center;
}

.row>* {
    flex: 0 0 auto;
    width: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
}

/* Card Hierarchy & Layered Elevation */
.card {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    position: relative;
}

.card.click {
    cursor: pointer;
}

.card.click:hover {
    border-color: color-mix(in srgb, var(--pri) 35%, var(--ln));
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-footer {
    margin-top: auto;
    padding-top: 10px;
}

.av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--acc);
    color: #12332e;
    display: grid;
    place-items: center;
    font: 800 1.1rem 'Bricolage Grotesque';
    flex: none
}

.big {
    width: 84px;
    height: 84px;
    font-size: 2rem
}

.tag {
    display: inline-block;
    background: var(--tint);
    border-radius: 99px;
    padding: 2px 10px;
    font-size: .82rem;
    margin: 2px 4px 2px 0
}

.tag.don {
    background: var(--acc);
    color: #12332e;
    font-weight: 600
}

.mut {
    color: var(--mut);
    font-size: .92rem
}

.emo {
    overflow: hidden;
    font-size: 2.6rem;
    background: var(--tint);
    border-radius: 10px;
    height: 110px;
    display: grid;
    place-items: center;
    margin-bottom: 10px
}

section {
    margin-top: 44px
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.steps div,
.step-card {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-left: 4px solid var(--pri);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform .18s ease, border-left-color .18s ease;
}

.steps div:hover,
.step-card:hover {
    transform: translateY(-2px);
    border-left-color: var(--acc);
}

.step-card h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--ink);
}

.step-card .mut {
    line-height: 1.48;
    display: block;
}

.cta {
    background: linear-gradient(135deg, #12332e 0%, #1e4d45 100%);
    color: #fff;
    border-radius: 18px;
    padding: 34px 30px;
    margin-top: 48px;
    box-shadow: 0 4px 20px rgba(18, 51, 46, 0.12);
}

.cta h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.cta .btn {
    background: var(--acc);
    color: #12332e;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
}

/* ── Password show/hide toggle (Bug #3 fix) ── */
.pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.pw-wrap input {
    flex: 1;
    padding-right: 3rem !important;
}
.eye-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    color: var(--mut, #888);
    border-radius: 8px;
    transition: background .15s ease, color .15s ease, opacity .15s ease;
    z-index: 2;
}
.eye-btn:hover,
.eye-btn:focus-visible {
    background: var(--tint);
    color: var(--ink);
    opacity: 1;
}

/* ==========================================================================
   5. FORMS, INPUTS & UNIFIED FILTER BARS
   ========================================================================== */
/* ── Uniform Height & Gap Filter Bars ── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.filter-bar input,
.filter-bar select,
.filter-bar .btn {
    height: 42px !important;
    box-sizing: border-box !important;
    font-size: .92rem !important;
    line-height: normal !important;
    margin: 0 !important;
}

.filter-bar input,
.filter-bar select {
    padding: 0 12px !important;
    border: 1px solid var(--ln) !important;
    border-radius: 10px !important;
    background: var(--sf) !important;
    color: var(--ink) !important;
}

.filter-bar select {
    cursor: pointer;
}

.filter-bar .btn {
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   6. FORMS, AUTH & CHAT INTERFACE
   ========================================================================== */
form,
.form {
    display: grid;
    gap: 12px;
    max-width: 520px
}

label {
    font-weight: 600;
    font-size: .92rem;
    display: grid;
    gap: 4px
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.chip {
    border: 1px solid var(--ln);
    background: var(--sf);
    border-radius: 99px;
    padding: 6px 14px;
    cursor: pointer
}

.chip.on {
    background: var(--pri);
    color: var(--onp);
    border-color: var(--pri)
}

/* ── Real-Time Chat & Messaging Interface ───────────────── */
.chat {
    display: grid;
    grid-template-columns: 320px 1fr;
    border: 1px solid var(--ln);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--sf);
    height: min(680px, 76vh);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

.cl {
    border-right: 1px solid var(--ln);
    overflow-y: auto;
    background: var(--sf);
    display: flex;
    flex-direction: column;
}

#cl-list {
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cl button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.cl button:hover {
    background: var(--tint);
    border-color: rgba(0, 0, 0, 0.04);
    transform: translateX(2px);
}

.cl button.on {
    background: var(--tint);
    border-color: var(--ln);
    box-shadow: var(--shadow-xs);
}

.cl button.on::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3.5px;
    background: var(--brand-blue);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.cr {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--sf);
}

.msgs {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    background: var(--bg);
}

.m {
    max-width: 72%;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    background: var(--sf);
    border: 1px solid var(--ln);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    line-height: 1.45;
    font-size: var(--text-sm);
}

.m.me {
    align-self: flex-end;
    background: var(--pri);
    color: var(--onp);
    border: 1px solid transparent;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.m small {
    display: block;
    opacity: 0.8;
    font-size: var(--text-2xs);
    margin-top: 4px;
}

.m.me small {
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.85);
}

.warnb {
    background: var(--tint);
    padding: 8px 16px;
    font-size: var(--text-xs);
    color: var(--ink);
    border-bottom: 1px solid var(--ln);
    line-height: 1.4;
}

.send {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border-top: 1px solid var(--ln);
    background: var(--sf);
    box-sizing: border-box;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    background: var(--pri);
    color: var(--onp);
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 50;
    animation: toast-in .22s ease;
    font-size: .93rem;
    white-space: nowrap
}

.toast.success {
    background: #15803d
}

.emo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

img.av {
    object-fit: cover
}

.gal img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 8px
}

.hs {
    width: 170px !important;
    flex: 0 1 170px
}

.m img {
    max-width: 200px;
    border-radius: 8px;
    display: block
}

.err {
    color: var(--bad);
    font-weight: 600;
    min-height: 1.2em
}

.suc {
    color: #15803d;
    font-weight: 600;
    min-height: 1.2em
}

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:768px) {
    .chat {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 560px;
    }

    .cl {
        max-height: 250px;
        border-right: 0;
        border-bottom: 1px solid var(--ln)
    }

    .cr {
        min-height: 420px;
        height: 60vh;
    }

    .cols {
        grid-template-columns: 1fr
    }

    .chat-sidebar-header {
        padding: 8px;
        gap: 6px;
    }

    .chat-ctrl {
        height: 36px !important;
        font-size: .84rem !important;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        animation: none !important
    }
}

/* ── Chat Section Filters (Modern Styled Dropdowns & Search) ── */
.chat-sidebar-header {
    padding: var(--space-3);
    position: sticky;
    top: 0;
    background: var(--sf);
    z-index: 2;
    border-bottom: 1px solid var(--ln);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.chat-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.chat-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.chat-ctrl {
    height: 38px !important;
    box-sizing: border-box !important;
    font-size: var(--text-xs) !important;
    line-height: normal !important;
    padding: 0 12px !important;
    border: 1.5px solid var(--ln) !important;
    border-radius: var(--radius-md) !important;
    background: var(--bg) !important;
    color: var(--ink) !important;
    margin: 0 !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.chat-ctrl:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 101, 239, 0.14) !important;
    outline: none !important;
    background: var(--sf) !important;
}

.chat-search-wrap input.chat-ctrl {
    width: 100%;
    padding-right: 32px !important;
}

/* Modern Styled Custom Filter Dropdowns */
.chat-select {
    flex: 1 1 50%;
    min-width: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px;
    padding-right: 28px !important;
}

:root[data-theme="dark"] .chat-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239bb5ad' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.chat-clear-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--mut);
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: background .15s ease, color .15s ease;
}

.chat-clear-btn:hover {
    color: var(--ink);
    background: var(--tint);
}

.chat-filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-2xs);
    color: var(--mut);
    padding: 2px 2px 0;
}

.chat-reset-link {
    background: none;
    border: none;
    color: var(--brand-blue);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    font-size: var(--text-2xs);
}

.chat-reset-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   7. STATIC CONTENT & POLICY PAGES (PRIVACY & CONTACT)
   ========================================================================== */
/* ── Privacy Policy Page ─────────────────────────────────── */
.policy-page {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.policy-hero {
    background: linear-gradient(135deg, #12332e 0%, #1e4d45 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 38px 34px 30px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 51, 46, 0.12);
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 163, 58, 0.22) 0%, transparent 70%);
}

.policy-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    margin: 10px 0 12px;
    color: #ffffff;
}

.policy-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.policy-lead {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 58ch;
    margin: 0 0 12px;
    line-height: 1.55;
}

.policy-meta {
    font-size: .84rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.policy-toc {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 28px;
}

.policy-toc h3 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--mut);
    margin-bottom: 14px;
}

.policy-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    gap: 24px;
}

.policy-toc li {
    margin-bottom: 8px;
    font-size: .92rem;
    break-inside: avoid;
}

.policy-toc a {
    color: var(--pri);
    text-decoration: none;
    font-weight: 500;
}

.policy-toc a:hover {
    text-decoration: underline;
}

.policy-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.policy-section {
    scroll-margin-top: 80px;
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 16px;
    padding: 26px 28px;
    transition: border-color .2s, box-shadow .2s;
}

.policy-section:hover {
    border-color: color-mix(in srgb, var(--pri) 40%, var(--ln));
    box-shadow: 0 4px 16px rgba(0, 0, 0, .03);
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.policy-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.policy-header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--ink);
}

.policy-section p,
.policy-section ul,
.policy-section .policy-table-wrap {
    max-width: 72ch;
}

.policy-list {
    padding-left: 20px;
    margin: 0 0 14px;
}

.policy-list li {
    margin-bottom: 8px;
    font-size: .92rem;
    line-height: 1.55;
}

.policy-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid var(--ln);
    border-radius: 12px;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.policy-table th {
    background: var(--tint);
    color: var(--pri);
    text-align: left;
    padding: 11px 14px;
    font-weight: 700;
}

.policy-table td {
    padding: 10px 14px;
    border-top: 1px solid var(--ln);
    vertical-align: top;
    line-height: 1.5;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: color-mix(in srgb, var(--tint) 60%, var(--sf));
    border-left: 4px solid var(--pri);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 18px 0 6px;
    font-size: .9rem;
    line-height: 1.5;
}

.policy-callout.warn {
    background: color-mix(in srgb, #fff3cd 70%, var(--sf));
    border-color: #f59e0b;
}

.policy-callout span:first-child {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.policy-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.policy-right-card {
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: 12px;
    padding: 16px;
    transition: transform .15s, border-color .15s;
}

.policy-right-card:hover {
    border-color: var(--pri);
    transform: translateY(-2px);
}

.right-icon {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.policy-right-card h4 {
    margin: 0 0 6px;
    font-size: .95rem;
    color: var(--pri);
}

.policy-right-card p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.45;
    color: var(--mut);
}

.policy-contact-card {
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 16px 0;
    max-width: 580px;
}

.policy-contact-card p {
    margin: 6px 0;
    font-size: .92rem;
}

.policy-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ln);
    text-align: center;
}

.policy-footer p {
    color: var(--mut);
    font-size: .9rem;
    margin-bottom: 14px;
}

.policy-footer a {
    color: var(--pri);
    text-decoration: underline;
}

@media(max-width: 768px) {
    .policy-rights-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {
    .policy-hero {
        padding: 28px 20px 24px;
    }
    .policy-section {
        padding: 20px 18px;
    }
    .policy-toc ol {
        columns: 1;
    }
    .policy-rights-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Contact Us Page ─────────────────────────────────────── */
.contact-page {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.contact-hero {
    background: linear-gradient(135deg, #12332e 0%, #1e4d45 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 36px 32px 30px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 51, 46, 0.12);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 163, 58, 0.25) 0%, transparent 70%);
}

.contact-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin: 10px 0 10px;
    color: #ffffff;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 99px;
    padding: 4px 14px;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 60ch;
    margin: 0;
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.contact-form-card form {
    max-width: 100%;
}

.contact-card h2,
.contact-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    font-size: 1.3rem;
    line-height: 1.2;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tint);
    border-radius: 10px;
}

.contact-link {
    color: var(--pri);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.safety-callout {
    background: color-mix(in srgb, var(--tint) 60%, var(--sf));
    border-color: color-mix(in srgb, var(--pri) 30%, var(--ln));
}

.contact-faq-section {
    background: var(--sf);
    border: 1px solid var(--ln);
    border-radius: 18px;
    padding: 32px 28px;
    margin-top: 10px;
}

.contact-faq-section h2 {
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: 12px;
    padding: 16px 20px;
}

.faq-item h4 {
    margin: 0 0 8px;
    color: var(--pri);
    font-size: .98rem;
}

.faq-item p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.5;
}

@media(max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-faq-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 28px 20px 24px;
    }
    .contact-card {
        padding: 20px;
    }
}

/* ── Contact Page Social Media List ───────────────────────── */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--ln);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
    transition: all .18s ease;
}

.social-list-item:hover {
    border-color: var(--pri);
    background: var(--sf);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.sli-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.sli-linkedin .sli-icon { background: #0a66c2; }
.sli-instagram .sli-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sli-facebook .sli-icon { background: #1877f2; }
.sli-x .sli-icon { background: #000; }

.sli-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sli-name {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
}

.sli-handle {
    font-size: .78rem;
    color: var(--mut);
    line-height: 1.2;
}

.sli-arrow {
    font-size: 1.1rem;
    color: var(--mut);
    transition: transform .18s ease, color .18s ease;
    padding-left: 4px;
}

.social-list-item:hover .sli-arrow {
    color: var(--pri);
    transform: translateX(3px);
}

/* ==========================================================================
   8. MODERN OUROXCHANGE FOOTER
   ========================================================================== */
/* ── Modern OuroXchange Footer ────────────────────────────── */
footer.ox-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #334155;
    margin-top: auto;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.ox-footer-wrap {
    padding: 44px 24px 0;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ox-footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1.05fr 1.05fr 1.35fr;
    gap: 0;
    align-items: stretch;
}

.ox-footer-col {
    display: flex;
    flex-direction: column;
    padding: 0 22px;
    border-right: 1px solid #edf2f7;
    box-sizing: border-box;
}

.ox-footer-col.ox-col-brand {
    padding-left: 0;
    padding-right: 28px;
}

.ox-footer-col:last-child {
    border-right: none;
    padding-right: 0;
}

/* Col 1: Brand & Identity */
.ox-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ox-footer-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.ox-footer-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.ox-footer-brand-title {
    font-family: 'Bricolage Grotesque', Figtree, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
    white-space: nowrap;
    display: block;
}

.ox-brand-x {
    color: #0065ef;
}

.ox-footer-tagline {
    font-family: Figtree, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0065ef;
    letter-spacing: -0.01em;
    margin-top: 4px;
    white-space: nowrap;
    display: block;
}

.ox-footer-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #64748b;
    margin: 16px 0;
    max-width: 350px;
}

.ox-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ox-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
}

.ox-social-btn:hover {
    transform: translateY(-2px);
}

.ox-social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 2px 6px rgba(220, 39, 67, 0.25);
}

.ox-social-linkedin {
    background: #0a66c2;
    box-shadow: 0 2px 6px rgba(10, 102, 194, 0.25);
}

.ox-social-x {
    background: #000000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.ox-social-instagram:hover {
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.ox-social-linkedin:hover {
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.ox-social-x:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Free for now Rounded Badge */
.ox-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.83rem;
    line-height: 1.2;
    color: #475569;
    width: fit-content;
    white-space: nowrap;
}

.ox-badge-icon {
    flex-shrink: 0;
    display: block;
}

.ox-badge-text strong {
    color: #0065ef;
    font-weight: 700;
}

/* Nav Columns Header */
.ox-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 32px;
}

.ox-col-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0065ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
}

.ox-col-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Nav Links List */
.ox-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ox-col-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.ox-col-links a:hover {
    color: #0065ef;
    transform: translateX(3px);
}

/* Contact Column */
.ox-contact-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ox-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ox-contact-icon {
    width: 20px;
    height: 20px;
    background: transparent;
    color: #0065ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    margin-top: 1px;
}

.ox-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ox-contact-email {
    color: #1e293b;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.ox-contact-email:hover {
    color: #0065ef;
    text-decoration: underline;
}

.ox-contact-sub {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* Decorative Wave Graphic */
.ox-footer-wave {
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
    margin-top: 4px;
    position: relative;
    pointer-events: none;
}

.ox-footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Bottom Copyright Bar */
.ox-footer-bottom {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 16px 0;
    font-size: 0.85rem;
    color: #4b5563;
}

.ox-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ox-fb-copy {
    color: #4b5563;
}

.ox-fb-sep {
    color: #9ca3af;
    user-select: none;
    font-weight: 300;
}

.ox-fb-tagline {
    color: #0065ef;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ox-fb-heart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-weight: 500;
}

.ox-heart-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Responsive Breakpoints */
@media(max-width: 1024px) {
    .ox-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .ox-footer-col {
        border-right: none;
        padding: 0;
    }
    .ox-col-brand {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media(max-width: 640px) {
    .ox-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ox-footer-wrap {
        padding: 32px 16px 0;
    }
    .ox-footer-wave {
        height: 50px;
    }
    .ox-footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 16px;
    }
    .ox-fb-sep {
        display: none;
    }
}

/* Dark Mode Overrides */
@media(prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) footer.ox-footer {
        background: #121820;
        border-top-color: #212d3d;
        color: #94a3b8;
    }
    :root:not([data-theme="light"]) .ox-footer-col {
        border-right-color: rgba(255, 255, 255, 0.08);
    }
    :root:not([data-theme="light"]) .ox-footer-brand-title,
    :root:not([data-theme="light"]) .ox-col-title,
    :root:not([data-theme="light"]) .ox-contact-email {
        color: #f1f5f9;
    }
    :root:not([data-theme="light"]) .ox-footer-desc,
    :root:not([data-theme="light"]) .ox-contact-sub,
    :root:not([data-theme="light"]) .ox-fb-heart,
    :root:not([data-theme="light"]) .ox-fb-copy {
        color: #94a3b8;
    }
    :root:not([data-theme="light"]) .ox-col-links a {
        color: #94a3b8;
    }
    :root:not([data-theme="light"]) .ox-col-links a:hover {
        color: #38bdf8;
    }
    :root:not([data-theme="light"]) .ox-col-icon {
        background: rgba(0, 101, 239, 0.16);
        border-color: rgba(0, 101, 239, 0.32);
        color: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-footer-badge {
        background: rgba(0, 101, 239, 0.14);
        border-color: rgba(0, 101, 239, 0.28);
        color: #cbd5e1;
    }
    :root:not([data-theme="light"]) .ox-badge-text strong {
        color: #60a5fa;
    }
    :root:not([data-theme="light"]) .ox-footer-bottom {
        border-top-color: #212d3d;
        background: #121820;
        color: #94a3b8;
    }
    :root:not([data-theme="light"]) .ox-fb-sep {
        color: #334155;
    }
    :root:not([data-theme="light"]) .ox-fb-tagline {
        color: #38bdf8;
    }
    :root:not([data-theme="light"]) .ox-footer-logo-img {
        filter: brightness(1.2) drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
    }
}

:root[data-theme="dark"] footer.ox-footer {
    background: #121820;
    border-top-color: #212d3d;
    color: #94a3b8;
}
:root[data-theme="dark"] .ox-footer-col {
    border-right-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .ox-footer-brand-title,
:root[data-theme="dark"] .ox-col-title,
:root[data-theme="dark"] .ox-contact-email {
    color: #f1f5f9;
}
:root[data-theme="dark"] .ox-footer-desc,
:root[data-theme="dark"] .ox-contact-sub,
:root[data-theme="dark"] .ox-fb-heart,
:root[data-theme="dark"] .ox-fb-copy {
    color: #94a3b8;
}
:root[data-theme="dark"] .ox-col-links a {
    color: #94a3b8;
}
:root[data-theme="dark"] .ox-col-links a:hover {
    color: #38bdf8;
}
:root[data-theme="dark"] .ox-col-icon {
    background: rgba(0, 101, 239, 0.16);
    border-color: rgba(0, 101, 239, 0.32);
    color: #60a5fa;
}
:root[data-theme="dark"] .ox-footer-badge {
    background: rgba(0, 101, 239, 0.14);
    border-color: rgba(0, 101, 239, 0.28);
    color: #cbd5e1;
}
:root[data-theme="dark"] .ox-badge-text strong {
    color: #60a5fa;
}
:root[data-theme="dark"] .ox-footer-bottom {
    border-top-color: #212d3d;
    background: #121820;
    color: #94a3b8;
}
:root[data-theme="dark"] .ox-fb-sep {
    color: #334155;
}
:root[data-theme="dark"] .ox-fb-tagline {
    color: #38bdf8;
}
:root[data-theme="dark"] .ox-footer-logo-img {
    filter: brightness(1.2) drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}
