@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* =====================================================
   BLINK BUSINESS — blink-style.css
   Mobile-first, app-style interface
   ===================================================== */

:root,
[data-theme="light"] {
    --clr-bg:            #f0f4f8;
    --clr-surface:       #ffffff;
    --clr-surface-alt:   #f8fafc;
    --clr-border:        #e2e8f0;
    --clr-border-hover:  #cbd5e1;
    --clr-text-primary:  #0f172a;
    --clr-text-secondary:#475569;
    --clr-text-tertiary: #94a3b8;
    --clr-accent:        #2563eb;
    --clr-accent-dark:   #1e40af;
    --clr-accent-light:  #3b82f6;
    --clr-success:       #10b981;
    --clr-warning:       #f59e0b;
    --clr-danger:        #ef4444;
    --clr-shadow:        rgba(15,23,42,0.06);
    --clr-shadow-deep:   rgba(15,23,42,0.14);
    --clr-nav-bg:        rgba(255,255,255,0.97);
    --clr-bottom-nav:    rgba(255,255,255,0.98);
    --clr-page-pattern:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,185,129,0.04) 0%, transparent 50%);
    --radius:    12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --nav-h:     64px;
    --bot-h:     70px;
}

[data-theme="dark"] {
    --clr-bg:            #0b0f1a;
    --clr-surface:       #141926;
    --clr-surface-alt:   #1c2133;
    --clr-border:        #252d3d;
    --clr-border-hover:  #334155;
    --clr-text-primary:  #e2e8f0;
    --clr-text-secondary:#94a3b8;
    --clr-text-tertiary: #64748b;
    --clr-accent:        #3b82f6;
    --clr-accent-dark:   #2563eb;
    --clr-accent-light:  #60a5fa;
    --clr-success:       #34d399;
    --clr-warning:       #fbbf24;
    --clr-danger:        #f87171;
    --clr-shadow:        rgba(0,0,0,0.3);
    --clr-shadow-deep:   rgba(0,0,0,0.55);
    --clr-nav-bg:        rgba(11,15,26,0.97);
    --clr-bottom-nav:    rgba(20,25,38,0.98);
    --clr-page-pattern:
        radial-gradient(circle at 20% 50%, rgba(59,130,246,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52,211,153,0.04) 0%, transparent 50%);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--clr-bg);
    background-image: var(--clr-page-pattern);
    color: var(--clr-text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--nav-h);
    padding-bottom: 0;
    transition: background-color .25s, color .25s;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body { padding-bottom: calc(var(--bot-h) + env(safe-area-inset-bottom)); }
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text-primary);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ── TOP NAVBAR ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: var(--clr-nav-bg);
    border-bottom: 1.5px solid var(--clr-border);
    box-shadow: 0 2px 16px var(--clr-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .25s, border-color .25s;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; object-fit: contain; border-radius: 8px; }
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--clr-text-primary); line-height: 1.1; }
.nav-logo-sub  { font-size: 0.6rem; color: var(--clr-text-tertiary); letter-spacing: .04em; }

.nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: .45rem .8rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    transition: all .2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(37,99,235,.08); color: var(--clr-accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-cta {
    padding: .5rem 1.1rem;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    color: white !important;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s;
    box-shadow: 0 2px 10px rgba(37,99,235,.35);
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.5); }

/* ── User button in navbar (always visible on desktop) ───── */
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .4rem .75rem;
    border-radius: 50px;
    background: var(--clr-surface-alt);
    border: 1.5px solid var(--clr-border);
    cursor: pointer;
    transition: all .2s;
    font-size: .85rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    text-decoration: none;
}
.nav-user-btn:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

/* Profile dropdown wrapper */
.nav-profile-wrap {
    position: relative;
}
.nav-profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px var(--clr-shadow-deep);
    z-index: 300;
    overflow: hidden;
}
.nav-profile-wrap:hover .nav-profile-dropdown,
.nav-profile-wrap:focus-within .nav-profile-dropdown {
    display: block;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .7rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    transition: background .15s, color .15s;
}
.nav-dropdown-item:hover { background: var(--clr-surface-alt); color: var(--clr-accent); }
.nav-dropdown-item.danger { color: var(--clr-danger); }
.nav-dropdown-item.danger:hover { background: rgba(239,68,68,.06); color: var(--clr-danger); }
.nav-dropdown-divider { height: 1px; background: var(--clr-border); }

.nav-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; color: white;
    flex-shrink: 0;
}

/* ── THEME TOGGLE ───────────────────────────────────────────── */
.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--clr-surface-alt);
    border: 1.5px solid var(--clr-border);
    cursor: pointer; transition: all .2s;
    color: var(--clr-text-secondary);
}
.theme-toggle:hover { background: rgba(37,99,235,.08); border-color: var(--clr-accent); color: var(--clr-accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ── HAMBURGER ──────────────────────────────────────────────── */
.hamburger {
    display: none;
    align-items: center; justify-content: center; flex-direction: column;
    width: 40px; height: 40px; gap: 5px;
    border-radius: 10px;
    background: var(--clr-surface-alt);
    border: 1.5px solid var(--clr-border);
    cursor: pointer; transition: all .2s;
}
.hamburger:hover { background: rgba(37,99,235,.08); border-color: var(--clr-accent); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--clr-text-primary); border-radius: 2px; transition: all .3s cubic-bezier(.4,0,.2,1); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ──────────────────────────────────────────── */
.mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 198;
    backdrop-filter: blur(2px);
}
.mobile-overlay.open { display: block; }

.mobile-drawer {
    position: fixed;
    top: var(--nav-h); right: 0;
    width: min(300px, 88vw);
    height: calc(100vh - var(--nav-h));
    background: var(--clr-surface);
    z-index: 199;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    border-left: 1.5px solid var(--clr-border);
    box-shadow: -8px 0 32px var(--clr-shadow-deep);
    padding-bottom: calc(var(--bot-h) + 16px);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-inner { padding: 1rem 1.25rem 2rem; }

.drawer-link {
    display: flex; align-items: center; gap: 12px;
    padding: .75rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--clr-text-secondary);
    font-weight: 500; font-size: .92rem;
    transition: all .18s;
    margin-bottom: 2px;
}
.drawer-link:hover, .drawer-link.active { background: rgba(37,99,235,.08); color: var(--clr-accent); }
.drawer-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.drawer-divider { height: 1px; background: var(--clr-border); margin: .75rem 0; }
.drawer-section-label {
    font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; color: var(--clr-text-tertiary);
    text-transform: uppercase; padding: 0 .5rem;
    margin: .75rem 0 .35rem;
}

/* ── BOTTOM NAV (Mobile App Style) ─────────────────────────── */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--bot-h);
    background: var(--clr-bottom-nav);
    border-top: 1.5px solid var(--clr-border);
    box-shadow: 0 -4px 20px var(--clr-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.bot-nav-item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
    color: var(--clr-text-tertiary);
    font-size: .65rem; font-weight: 600; letter-spacing: .02em;
    transition: all .2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    padding: 8px 4px;
    border: none; background: none;
}
.bot-nav-item svg { width: 22px; height: 22px; transition: transform .2s; }
.bot-nav-item.active { color: var(--clr-accent); }
.bot-nav-item.active svg { transform: scale(1.15); }
.bot-nav-item.active::before {
    content: '';
    position: absolute; top: 4px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--clr-accent);
}
.bot-badge {
    position: absolute; top: 6px; right: calc(50% - 16px);
    background: var(--clr-danger); color: white;
    font-size: .6rem; font-weight: 700; border-radius: 50px;
    padding: 1px 5px; min-width: 16px; text-align: center; line-height: 1.4;
}

@media (max-width: 768px) {
    .bottom-nav { display: flex; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    /* Hide desktop profile dropdown on mobile */
    .nav-profile-wrap { display: none; }
}

@media (min-width: 769px) {
    .bottom-nav { display: none; }
}

/* ── MAIN LAYOUT ────────────────────────────────────────────── */
.main-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
}
@media (min-width: 769px) { .main-wrap { padding: 28px 24px; } }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px var(--clr-shadow);
    transition: all .3s;
    overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--clr-shadow-deep); border-color: var(--clr-border-hover); }
.card-body   { padding: 1.5rem; }
.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1.5px solid var(--clr-border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .5rem;
}
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--clr-text-primary); }

/* ── HERO BANNER ────────────────────────────────────────────── */
.hero-banner {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative; overflow: hidden;
    color: white;
}
@media (min-width: 640px) { .hero-banner { padding: 2rem; } }

.hero-banner-wholesaler {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 60%, #0f2560 100%);
    box-shadow: 0 8px 24px rgba(30,64,175,.35);
}
.hero-banner-retailer {
    background: linear-gradient(135deg, #059669 0%, #047857 60%, #064e3b 100%);
    box-shadow: 0 8px 24px rgba(5,150,105,.3);
}
.hero-banner-admin {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 60%, #4c1d95 100%);
    box-shadow: 0 8px 24px rgba(124,58,237,.3);
}
.hero-banner::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,.07); pointer-events: none;
}
.hero-banner h2 { font-size: clamp(1.1rem,3vw,1.8rem); margin-bottom: .5rem; color: white; }
.hero-banner p  { opacity: .85; max-width: 500px; font-size: .9rem; }

/* ── STATS ──────────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}
@media (min-width: 540px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px var(--clr-shadow);
    transition: all .3s;
}
@media (min-width: 540px) { .stat-card { padding: 1.25rem 1rem; } }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--clr-shadow-deep); }
.stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .625rem;
}
@media (min-width: 540px) { .stat-icon { width: 44px; height: 44px; margin-bottom: .75rem; } }
.stat-value { font-size: 1.25rem; font-weight: 800; font-family: 'Syne',sans-serif; color: var(--clr-accent); }
@media (min-width: 540px) { .stat-value { font-size: 1.5rem; } }
.stat-label { font-size: .72rem; color: var(--clr-text-tertiary); font-weight: 500; margin-top: 2px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600; font-size: .9rem;
    cursor: pointer; transition: all .3s;
    border: none; text-decoration: none;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.55); }
.btn-secondary {
    background: var(--clr-surface); color: var(--clr-text-primary);
    border: 1.5px solid var(--clr-border);
}
.btn-secondary:hover { background: var(--clr-surface-alt); border-color: var(--clr-accent); color: var(--clr-accent); }
.btn-success {
    background: linear-gradient(135deg, var(--clr-success), #059669); color: white;
    box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16,185,129,.5); }
.btn-danger { background: linear-gradient(135deg, var(--clr-danger), #dc2626); color: white; }
.btn-danger:hover { transform: translateY(-1px); }
.btn-sm  { padding: .5rem 1rem; font-size: .82rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--clr-text-secondary); margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: .8rem 1rem;
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm); font-size: .92rem; color: var(--clr-text-primary);
    transition: all .2s; outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-hint  { font-size: .78rem; color: var(--clr-text-tertiary); margin-top: .35rem; }
.form-error { font-size: .8rem; color: var(--clr-danger); margin-top: .35rem; }

.input-icon-wrap { position: relative; }
.input-icon-wrap > svg {
    position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: var(--clr-text-tertiary); pointer-events: none;
}
.input-icon-wrap .form-input { padding-left: 2.75rem; }
.input-icon-wrap .input-icon-right {
    position: absolute; left: auto; right: .875rem; top: 50%; transform: translateY(-50%);
    cursor: pointer; color: var(--clr-text-tertiary); pointer-events: all;
    width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
}
.input-icon-wrap .input-icon-right svg { width: 16px; height: 16px; }

/* ── ALERTS ─────────────────────────────────────────────────── */
.alert {
    padding: .875rem 1.125rem; border-radius: var(--radius-sm);
    font-size: .875rem; margin-bottom: 1.25rem;
    display: flex; align-items: flex-start; gap: .75rem;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(16,185,129,.1);  border: 1.5px solid rgba(16,185,129,.3); color: #065f46; }
.alert-error   { background: rgba(239,68,68,.1);   border: 1.5px solid rgba(239,68,68,.3);  color: #991b1b; }
.alert-info    { background: rgba(37,99,235,.08);  border: 1.5px solid rgba(37,99,235,.2);  color: var(--clr-accent-dark); }
.alert-warning { background: rgba(245,158,11,.1);  border: 1.5px solid rgba(245,158,11,.3); color: #92400e; }
[data-theme="dark"] .alert-success { color: #4ade80; }
[data-theme="dark"] .alert-error   { color: #f87171; }
[data-theme="dark"] .alert-info    { color: var(--clr-accent-light); }
[data-theme="dark"] .alert-warning { color: #fbbf24; }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 50px;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.badge-blue    { background: rgba(37,99,235,.1);  color: var(--clr-accent); }
.badge-green   { background: rgba(16,185,129,.1); color: var(--clr-success); }
.badge-amber   { background: rgba(245,158,11,.1); color: var(--clr-warning); }
.badge-red     { background: rgba(239,68,68,.1);  color: var(--clr-danger); }
.badge-gray    { background: var(--clr-surface-alt); color: var(--clr-text-tertiary); }
.badge-verified { background: rgba(16,185,129,.12); color: var(--clr-success); }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
    padding: 36px 1.25rem 32px;
    margin-bottom: 1.5rem;
    position: relative; overflow: hidden;
}
@media (min-width: 640px) { .page-hero { padding: 48px 1.5rem 44px; } }
.page-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px; border-radius: 50%;
    background: rgba(255,255,255,.05); pointer-events: none;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(1.4rem,4vw,2.5rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 520px; }

.breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: .75rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color .2s; }
.breadcrumb a:hover { color: white; }

/* ── PAGE BADGE ─────────────────────────────────────────────── */
.page-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: 100px; padding: 5px 14px 5px 7px;
    margin-bottom: 1rem; box-shadow: 0 2px 6px var(--clr-shadow);
}
.page-badge-dot {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.page-badge span { font-size: .8rem; font-weight: 600; color: var(--clr-text-secondary); }

.section-badge {
    display: inline-block; padding: .35rem .9rem;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    color: white; border-radius: 100px;
    font-size: .75rem; font-weight: 700; letter-spacing: .07em;
    box-shadow: 0 2px 8px rgba(37,99,235,.3); margin-bottom: 1rem;
}

/* ── PRODUCT CARD ───────────────────────────────────────────── */
.product-card {
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all .3s; box-shadow: 0 2px 10px var(--clr-shadow);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--clr-shadow-deep); border-color: var(--clr-border-hover); }
.product-img {
    width: 100%; height: 160px;
    background: var(--clr-surface-alt);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-text-tertiary); position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1rem; }
.product-name  { font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--clr-accent); font-family: 'Syne',sans-serif; }
.product-meta  { font-size: .78rem; color: var(--clr-text-tertiary); margin-top: .25rem; }

/* ── WHOLESALER CARD ────────────────────────────────────────── */
.wholesaler-card {
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all .3s; box-shadow: 0 2px 10px var(--clr-shadow);
}
.wholesaler-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--clr-shadow-deep); }
.wc-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    display: flex; align-items: center; gap: 1rem;
}
.wc-avatar {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; color: white;
    border: 2px solid rgba(255,255,255,.25); flex-shrink: 0; overflow: hidden;
}
.wc-name { color: white; font-size: 1rem; font-weight: 700; }
.wc-sub  { color: rgba(255,255,255,.75); font-size: .78rem; margin-top: 2px; }
.wc-body { padding: 1.25rem; }

/* ── TABLE ──────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.data-table th {
    padding: .75rem 1rem; text-align: left; font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: var(--clr-text-tertiary);
    background: var(--clr-surface-alt); border-bottom: 1.5px solid var(--clr-border);
    white-space: nowrap;
}
.data-table td {
    padding: .875rem 1rem; font-size: .875rem;
    color: var(--clr-text-secondary); border-bottom: 1px solid var(--clr-border);
}
.data-table tbody tr:hover { background: var(--clr-surface-alt); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ── DASHBOARD RESPONSIVE SECTIONS ─────────────────────────── */
/* The 2-col dashboard grid stacks on mobile */
.dashboard-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .dashboard-sections { grid-template-columns: 1fr 1fr; }
}

/* ── PROFILE PAGE ───────────────────────────────────────────── */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .profile-layout { grid-template-columns: 260px 1fr; }
}

/* Profile sidebar stacks first on mobile */
.profile-sidebar { order: 1; }
.profile-main    { order: 2; }
@media (min-width: 900px) {
    .profile-sidebar { order: 0; }
    .profile-main    { order: 0; }
}

/* ── WHOLESALER PROFILE PAGE ────────────────────────────────── */
.wholesaler-profile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .wholesaler-profile-layout { grid-template-columns: 1fr 340px; }
}

/* Wholesaler profile header responsive */
.wsp-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.wsp-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: .5rem;
}
@media (min-width: 640px) {
    .wsp-actions { margin-top: 0; margin-left: auto; }
}

/* ── GRID 2 — stacks on mobile ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }

@media (max-width: 640px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-auto       { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
}
@media (max-width: 400px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ── CHAT ───────────────────────────────────────────────────── */
.chat-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 1rem;
    height: calc(100vh - var(--nav-h) - 120px); min-height: 400px;
}
@media (max-width: 768px) {
    .chat-layout { grid-template-columns: 1fr; height: auto; }
    .chat-contacts-panel { display: none; }
    .chat-contacts-panel.show { display: block; }
}
.chat-contacts-panel {
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg); overflow-y: auto;
}
.contact-item {
    display: flex; align-items: center; gap: 12px; padding: 1rem;
    border-bottom: 1px solid var(--clr-border); cursor: pointer; transition: background .2s;
}
.contact-item:hover, .contact-item.active { background: rgba(37,99,235,.06); }
.contact-avatar-sm {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: .9rem; flex-shrink: 0;
}
.chat-main-area {
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden;
}
.chat-messages-area {
    flex: 1; padding: 1.25rem; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px;
    background: var(--clr-surface-alt);
}
.msg-bubble {
    max-width: 70%; padding: .75rem 1rem;
    border-radius: 12px; font-size: .9rem; line-height: 1.5;
}
.msg-bubble.received {
    background: var(--clr-surface); align-self: flex-start;
    border-top-left-radius: 4px; box-shadow: 0 1px 3px var(--clr-shadow);
}
.msg-bubble.sent {
    background: var(--clr-accent); color: white;
    align-self: flex-end; border-top-right-radius: 4px;
}
.msg-time { font-size: .7rem; margin-top: 4px; opacity: .65; text-align: right; }

/* ── ORDER SHEET ────────────────────────────────────────────── */
.order-sheet-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 300; display: none; align-items: flex-end; justify-content: center;
    backdrop-filter: blur(3px);
}
.order-sheet-overlay.open { display: flex; }
@media (min-width: 600px) { .order-sheet-overlay { align-items: center; } }
.order-sheet-modal {
    background: var(--clr-surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%; max-height: 90vh; overflow-y: auto;
    padding: 1.5rem; box-shadow: 0 -8px 40px var(--clr-shadow-deep);
    animation: sheetUp .3s ease;
}
@media (min-width: 600px) {
    .order-sheet-modal { border-radius: var(--radius-xl); max-width: 640px; max-height: 85vh; }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── SEARCH BAR ─────────────────────────────────────────────── */
.search-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.search-input-wrap { position: relative; flex: 1; min-width: 180px; }
.search-input-wrap svg {
    position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; color: var(--clr-text-tertiary); pointer-events: none;
}
.search-input-wrap input {
    width: 100%; padding: .75rem 1rem .75rem 2.75rem;
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm); font-size: .9rem; color: var(--clr-text-primary);
    transition: all .2s; outline: none; font-family: 'Plus Jakarta Sans', sans-serif;
}
.search-input-wrap input:focus { border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs {
    display: flex; gap: 4px;
    background: var(--clr-surface-alt); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius); padding: 4px; margin-bottom: 1.5rem; overflow-x: auto;
}
.tab-btn {
    flex-shrink: 0; padding: .55rem 1.1rem; border-radius: calc(var(--radius) - 2px);
    font-size: .85rem; font-weight: 600; color: var(--clr-text-tertiary);
    cursor: pointer; transition: all .2s; border: none; background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif; white-space: nowrap;
}
.tab-btn.active { background: var(--clr-surface); color: var(--clr-accent); box-shadow: 0 2px 8px var(--clr-shadow); }

/* ── UTILITY ────────────────────────────────────────────────── */
.text-sm    { font-size: .875rem; }
.text-xs    { font-size: .78rem; }
.text-muted { color: var(--clr-text-tertiary); }
.text-accent { color: var(--clr-accent); }
.fw-bold    { font-weight: 700; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--clr-border); margin: 1.25rem 0; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--clr-text-tertiary); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 1rem; opacity: .4; }
.empty-state h3 { font-size: 1.05rem; color: var(--clr-text-secondary); margin-bottom: .5rem; }

/* ── AUTH PAGES ─────────────────────────────────────────────── */
.auth-wrap {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .auth-wrap { padding-bottom: calc(var(--bot-h) + 1.5rem); align-items: flex-start; }
}

.auth-card {
    width: 100%; max-width: 440px;
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-xl); box-shadow: 0 8px 32px var(--clr-shadow-deep);
    padding: 2rem 1.5rem;
}
@media (min-width: 480px) { .auth-card { padding: 2.5rem 2rem; } }

.user-type-tabs { display: flex; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--clr-border); }
.user-type-tab {
    flex: 1; padding: .75rem; text-align: center;
    background: var(--clr-surface-alt); cursor: pointer; transition: all .25s;
    font-size: .88rem; font-weight: 600; color: var(--clr-text-secondary);
    border: none; font-family: 'Plus Jakarta Sans', sans-serif;
}
.user-type-tab.active { background: var(--clr-accent); color: white; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: #0f172a; color: white;
    padding: 3rem 1.25rem 2rem;
    margin-top: 4rem; position: relative; z-index: 10;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    max-width: 1280px; margin: 0 auto 2rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p { color: #94a3b8; font-size: .875rem; line-height: 1.7; margin: 1rem 0; }
.footer-col h4  { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e2e8f0; margin-bottom: 1rem; }
.footer-link { display: block; color: #94a3b8; font-size: .875rem; margin-bottom: .625rem; transition: color .2s; }
.footer-link:hover { color: var(--clr-accent-light); }
.footer-socials { display: flex; gap: .75rem; margin-top: .75rem; }
.footer-social-btn {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; transition: all .25s; text-decoration: none;
}
.footer-social-btn:hover { transform: translateY(-2px); }
.footer-bottom {
    max-width: 1280px; margin: 0 auto;
    padding-top: 1.5rem; border-top: 1px solid #1e293b;
    display: flex; flex-direction: column; gap: .75rem; align-items: center; text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { font-size: .8rem; color: #64748b; }
.powered-by { font-size: .78rem; color: #64748b; display: flex; align-items: center; gap: 6px; }
.powered-by a { color: #94a3b8; transition: color .2s; }
.powered-by a:hover { color: #60a5fa; }

/* ── MISC ───────────────────────────────────────────────────── */
.notif-dot {
    width: 8px; height: 8px; background: var(--clr-danger);
    border-radius: 50%; position: absolute; top: 10px; right: 10px;
}
.spinner {
    width: 24px; height: 24px; border: 3px solid var(--clr-border);
    border-top-color: var(--clr-accent); border-radius: 50%;
    animation: spin .7s linear infinite; display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DARK MODE icon bg fixes ────────────────────────────────── */
[data-theme="dark"] [style*="background:#eff6ff"] { background: rgba(59,130,246,.12) !important; }
[data-theme="dark"] [style*="background:#f0fdf4"] { background: rgba(52,211,153,.1)  !important; }
[data-theme="dark"] [style*="background:#fef9c3"],
[data-theme="dark"] [style*="background:#fefce8"] { background: rgba(251,191,36,.1)  !important; }
[data-theme="dark"] [style*="background:#fdf4ff"] { background: rgba(167,139,250,.1)  !important; }

/* MAP */
#blink-map { height: 300px; border-radius: var(--radius-lg); border: 1.5px solid var(--clr-border); overflow: hidden; }

/* Autocomplete */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--clr-surface); border: 1.5px solid var(--clr-border);
    border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 8px 20px var(--clr-shadow); max-height: 180px; overflow-y: auto; z-index: 50;
}
.autocomplete-item {
    padding: .6rem .875rem; font-size: .88rem; cursor: pointer;
    border-bottom: 1px solid var(--clr-border); transition: background .15s;
    color: var(--clr-text-secondary);
}
.autocomplete-item:hover { background: var(--clr-surface-alt); }

/* ── MOBILE-SPECIFIC OVERRIDES ───────────────────────────────── */
@media (max-width: 767px) {
    /* Dashboard grid: stack all cards */
    .main-wrap > div[style*="grid-template-columns:1fr 1fr"],
    .main-wrap > div[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
    .main-wrap > div[style*="grid-template-columns:1fr 1fr"] > *,
    .main-wrap > div[style*="grid-template-columns: 1fr 1fr"] > * {
        margin-bottom: 1.25rem;
    }

    /* Profile layout sidebar: make it full width */
    div[style*="grid-template-columns:280px 1fr"],
    div[style*="grid-template-columns: 280px 1fr"] {
        display: block !important;
    }
    div[style*="grid-template-columns:280px 1fr"] > *,
    div[style*="grid-template-columns: 280px 1fr"] > * {
        margin-bottom: 1.25rem;
    }

    /* Wholesaler profile 2-col */
    div[style*="grid-template-columns:1fr 360px"],
    div[style*="grid-template-columns: 1fr 360px"] {
        display: block !important;
    }
    div[style*="grid-template-columns:1fr 360px"] > *,
    div[style*="grid-template-columns: 1fr 360px"] > * {
        margin-bottom: 1.25rem;
    }

    /* profile grid-2 in form */
    .grid-2 { grid-template-columns: 1fr !important; }

    /* Wholesaler profile hero header */
    .main-wrap div[style*="display:flex;align-items:flex-start"] {
        flex-wrap: wrap;
    }

    /* Card header wrapping */
    .card-header { flex-wrap: wrap; gap: .5rem; }

    /* Table scroll hint */
    .tbl-wrap::after {
        content: '';
        display: block;
        height: 0;
    }

    /* Form grids in register/profile */
    div[style*="grid-template-columns:1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .btn { font-size: .8rem; padding: .6rem 1rem; }
    .auth-card { padding: 1.5rem 1rem; }
    .page-hero { padding: 28px 1rem 24px; }
    .hero-banner { padding: 1.25rem; }
}

/* =====================================================
   DASHBOARD — mobile-first classes
   ===================================================== */

/* Hero inner: avatar + text + action button */
.dash-hero-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.dash-hero-text { flex: 1; min-width: 0; }
.dash-hero-text h2 { font-size: clamp(1rem, 3vw, 1.6rem); margin-bottom: .25rem; }
.dash-hero-text p  { font-size: .875rem; opacity: .85; }
.dash-hero-action  { width: 100%; }
@media (min-width: 480px) {
    .dash-hero-action { width: auto; margin-left: auto; }
}

/* Bottom two-col grid: stacks on mobile */
.dash-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
    .dash-bottom-grid { grid-template-columns: 1fr 1fr; }
}

/* Notification rows */
.notif-row {
    display: flex;
    gap: 12px;
    padding: .875rem 1.25rem;
    border-bottom: 1px solid var(--clr-border);
}
.notif-unread { background: rgba(37,99,235,.04); }
.notif-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: #eff6ff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
}

/* Quick actions grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 400px) {
    .quick-actions-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

.quick-action-item {
    display: flex; flex-direction: column;
    align-items: center; gap: .5rem;
    padding: 1.25rem .75rem;
    background: var(--clr-surface-alt);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all .25s;
    color: var(--clr-text-primary);
    text-align: center;
}
.quick-action-item:hover { border-color: var(--clr-accent); transform: translateY(-2px); }
.quick-action-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.quick-action-item span { font-size: .8rem; font-weight: 600; }

/* =====================================================
   PROFILE PAGE — mobile-first classes
   ===================================================== */

/* Two-column layout: sidebar + main */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .profile-layout { grid-template-columns: 260px 1fr; align-items: start; }
}

/* Avatar circle */
.profile-avatar-wrap {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800; color: white;
    margin: 0 auto;
    overflow: hidden;
}

/* Profile form 2-col grid, collapses on mobile */
.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 540px) {
    .profile-form-grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
}
.profile-full-col { grid-column: 1 / -1; }

.text-center { text-align: center; }

/* =====================================================
   WHOLESALER PROFILE — mobile-first classes
   ===================================================== */

/* Two-column: products + reviews sidebar */
.wsp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .wsp-layout { grid-template-columns: 1fr 320px; align-items: start; }
}

/* Reviews sidebar: goes below on mobile, right on desktop */
.wsp-products { min-width: 0; }
.wsp-reviews  { min-width: 0; }

/* Hero band at top of profile card */
.wsp-hero-band {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    padding: 1.5rem;
    position: relative; overflow: hidden;
}
.wsp-hero-band::after {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,.05); pointer-events: none;
}
.wsp-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}

.wsp-avatar {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; color: white;
    flex-shrink: 0; overflow: hidden;
}
@media (min-width: 480px) {
    .wsp-avatar { width: 72px; height: 72px; }
}

.wsp-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    margin-top: .25rem;
}
.wsp-meta span {
    display: flex; align-items: center; gap: 4px;
}

.wsp-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}
@media (min-width: 640px) {
    .wsp-actions { width: auto; margin-left: auto; align-self: center; }
}