/* =====================================================================
   عامل العسل البري — ملف تنسيق موحّد
   - المتغيرات --jt-* و القواعد العامة: هوية الموقع (عنبري/أخضر غابي) لواجهة المتجر
   - المتغيرات --oud-* : محفوظة لبنية لوحة التحكم (نفس الهيكلة القديمة)
     بس بألوان الموقع (عنبري/أخضر غابي)
   ===================================================================== */

:root {
    /* ---- هوية المتجر (فاتحة - ألوان ورق/عسل) ---- */
    --jt-ink: #20291A;
    --jt-surface: #FFFFFF;
    --jt-surface-2: #EFE4C9;
    --jt-teal: #C8871E;
    --jt-teal-dark: #9B6510;
    --jt-teal-tint: #F3E7C9;
    --jt-gold: #93412A;
    --jt-gold-bright: #7A3420;
    --jt-bone: #F6EFDD;
    --jt-bone-dim: #5A5540;
    --jt-line: rgba(32, 41, 26, 0.10);
    --jt-line-strong: rgba(32, 41, 26, 0.16);
    --jt-shadow: 0 20px 46px -18px rgba(60,44,10,0.32);
    --jt-radius: 22px;

    /* ---- لوحة التحكم (داكنة - نفس البنية القديمة بألوان عنبري/أخضر غابي) ---- */
    --oud-teal: #C8871E;
    --oud-teal-dark: #9B6510;
    --oud-teal-light: #23301C;
    --oud-dark: #10150C;
    --oud-purple: #1A2313;
    --oud-cream: #F2E9CF;
    --oud-card: #1B2314;
    --oud-card-2: #242F1B;
    --oud-border: rgba(200,135,30,0.30);
    --oud-muted: #B9C79E;
    --oud-glow: 0 0 22px rgba(200,135,30,0.28);
}

/* الخطوط الآن محمّلة محلياً عبر ملفات vendor/fonts في base.html (بدون Google Fonts) */

body {
    font-family: "IBM Plex Sans Arabic", "Tahoma", sans-serif;
    background-color: var(--jt-bone);
    color: var(--jt-ink);
    position: relative;
    padding-bottom: 78px;
}

a { text-decoration: none; }

h1, h2, h3, h4, .oud-brand-font {
    font-family: "El Messiri", "Cairo", sans-serif;
    font-weight: 700;
}

::selection { background: var(--jt-teal); color: #fff; }

/* ---------- Header ---------- */
.oud-header {
    background: rgba(250,249,246,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--jt-line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.oud-logo-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--jt-teal-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid var(--jt-teal);
    padding: 4px;
}

.oud-brand-name {
    font-family: "El Messiri", serif;
    font-weight: 700;
    color: var(--jt-teal);
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

.oud-brand-tag {
    font-size: 0.68rem;
    color: var(--jt-bone-dim);
}

.oud-nav { background: transparent; }
.oud-nav a {
    color: var(--jt-bone-dim);
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    transition: color .15s ease;
}
.oud-nav a:hover { color: var(--jt-teal); }

.icon-btn {
    position: relative;
    color: var(--jt-ink);
    font-size: 1.15rem;
    padding: 0.3rem 0.5rem;
}
.icon-btn:hover { color: var(--jt-teal); }

.cart-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--jt-gold);
    color: #fff;
    font-size: 0.65rem;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ---------- Hero ---------- */
.oud-hero {
    position: relative;
    background: radial-gradient(ellipse 700px 320px at 50% -10%, var(--jt-teal-tint), transparent 70%);
    padding: 4rem 1rem 3rem;
    overflow: hidden;
    text-align: center;
}
.oud-hero h1 { color: var(--jt-ink); font-weight: 800; font-size: 2.2rem; }
.oud-hero h1 em, .oud-hero h1 span { color: var(--jt-teal); font-style: normal; }
.oud-hero p { color: var(--jt-bone-dim); }

.oud-hero-video { padding: 0; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.oud-hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .18; }
.oud-hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 700px 320px at 50% -10%, var(--jt-teal-tint), transparent 70%),
                linear-gradient(180deg, rgba(250,249,246,.55) 0%, rgba(250,249,246,.85) 70%, var(--jt-bone) 100%);
    z-index: 1;
}
.oud-hero-content { position: relative; z-index: 2; padding: 4rem 1rem 3rem; width: 100%; }
.oud-hero-content h1 { color: var(--jt-ink); font-weight: 800; font-size: 2.2rem; }
.oud-hero-content h1 em, .oud-hero-content h1 span { color: var(--jt-teal); font-style: normal; }
.oud-hero-content p { color: var(--jt-bone-dim); }
@media (max-width: 576px) {
    .oud-hero-video { min-height: 300px; }
    .oud-hero-content { padding: 2.5rem 1rem 2rem; }
}

/* ---------- Hero pillars ---------- */
.hero-pillars { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; max-width:720px; margin:28px auto 0; }
.pillar {
    background: var(--jt-surface); border:1px solid var(--jt-line); border-radius:16px; padding:12px 16px;
    display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--jt-ink);
}
.pillar i, .pillar svg { color: var(--jt-teal); }

/* ---------- Hero (two-column, brand showcase) ---------- */
.hero-section { padding:70px 0 40px; overflow:hidden; position:relative; }
.hero-section::before {
    content:''; position:absolute; width:520px; height:520px; border-radius:50%;
    background:rgba(12,137,145,.06); left:-260px; top:-100px;
}
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center; position:relative; z-index:1; }
.hero-copy .eyebrow-jt {
    display:inline-flex; align-items:center; gap:9px; color:var(--jt-teal); font-size:13px; font-weight:800;
    letter-spacing:.5px; margin-bottom:20px;
}
.hero-copy .eyebrow-jt::before { content:''; width:34px; height:2px; background:var(--jt-gold); }
.hero-copy h1 {
    font-family:'Playfair Display', serif; font-size:clamp(34px,5vw,58px); line-height:1.18; font-weight:700;
    letter-spacing:-1px; color:var(--jt-ink); margin-bottom:20px;
}
.hero-copy h1 span, .hero-copy h1 em { color:var(--jt-teal); font-style:normal; }
.hero-copy p.hero-lead { color:var(--jt-bone-dim); font-size:16px; max-width:540px; margin:0 0 26px; }
.hero-cta-row { display:flex; gap:12px; flex-wrap:wrap; }
.hero-card { position:relative; min-height:400px; display:grid; place-items:center; }
.hero-ring {
    position:absolute; width:390px; height:390px; border-radius:50%; border:1px solid rgba(216,154,33,.35);
}
.hero-ring::before { content:''; position:absolute; inset:18px; border:1px solid rgba(12,137,145,.18); border-radius:50%; }
.product-showcase {
    position:relative; width:min(320px,72vw); aspect-ratio:1; background:#fff; border-radius:50%;
    box-shadow: var(--jt-shadow); display:grid; place-items:center; border:8px solid #fff;
}
.product-showcase::after {
    content:"NATURAL\A TOOTH CARE"; white-space:pre; text-align:center; position:absolute; bottom:26px;
    color:var(--jt-teal); font-weight:800; font-size:10px; letter-spacing:2px;
}
.product-showcase img { width:70%; height:70%; object-fit:contain; border-radius:50%; }
.hero-card .hero-badge-box {
    position:absolute; top:18px; right:0; background:#fff; border:1px solid var(--jt-line);
    box-shadow: 0 14px 40px rgba(0,0,0,.08); padding:10px 15px; border-radius:16px; font-size:12px; font-weight:800;
}
.hero-card .hero-badge-box b { color:var(--jt-gold); display:block; font-size:15px; }
@media (max-width:900px) {
    .hero-grid { grid-template-columns:1fr; text-align:center; }
    .hero-copy p.hero-lead { margin-left:auto; margin-right:auto; }
    .hero-copy .eyebrow-jt, .hero-cta-row { justify-content:center; }
    .hero-card { min-height:320px; }
    .hero-ring { width:300px; height:300px; }
    .product-showcase { width:240px; }
}

/* ---------- Base section head (kicker + big heading + side description) ---------- */
.base-section-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:34px; flex-wrap:wrap; }
.kicker { color:var(--jt-gold-bright); font-size:12px; font-weight:800; letter-spacing:2px; text-transform:uppercase; }
.base-section-head h2 { font-family:'Playfair Display', serif; font-size:clamp(26px,3.4vw,40px); line-height:1.25; margin-top:7px; color:var(--jt-ink); }
.base-section-head p { max-width:440px; color:var(--jt-bone-dim); font-size:14px; }
@media (max-width:700px) { .base-section-head { display:block; } .base-section-head p { margin-top:12px; } }

/* ---------- Story (two-column with circular mark) ---------- */
.story-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; text-align:right; }
.story-mark {
    width:100%; max-width:230px; aspect-ratio:1/1; border-radius:50%; border:1px solid var(--jt-line-strong);
    display:flex; align-items:center; justify-content:center; margin:0 auto; position:relative;
}
.story-mark svg { width:36%; height:36%; color:var(--jt-gold); }
.story-mark::before { content:''; position:absolute; inset:12%; border-radius:50%; border:1px dashed var(--jt-teal); opacity:.4; }
@media (max-width:900px) { .story-grid { grid-template-columns:1fr; text-align:center; } }

/* ---------- Trust bar strip ---------- */
.trust-bar { background: var(--jt-teal-dark); color:#fff; padding:12px 0; }
.trust-bar-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:28px; font-size:13px; font-weight:600; }
.trust-bar-item strong { color: var(--jt-gold); margin-left:6px; }

/* ---------- Trust grid ---------- */
.trust-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; margin-top:24px; }
.trust-card { background:var(--jt-surface); border:1px solid var(--jt-line); border-radius:20px; padding:26px 22px; text-align:center; }
.trust-card .icon { width:46px; height:46px; margin:0 auto 14px; border-radius:50%; background:var(--jt-teal-tint); color:var(--jt-teal); display:flex; align-items:center; justify-content:center; }
.trust-card .icon svg, .trust-card .icon i { width:22px; height:22px; font-size:1.2rem; }
.trust-card h4 { font-size:16px; margin-bottom:8px; }
.trust-card p { color:var(--jt-bone-dim); font-size:13.5px; margin:0; }

/* ---------- Story section ---------- */
.story-section { background:var(--jt-surface-2); border-radius:28px; padding:44px 30px; margin-top:32px; text-align:center; }
.story-section .eyebrow { color:var(--jt-teal); font-weight:700; font-size:13px; }
.story-section p { color:var(--jt-bone-dim); max-width:640px; margin:14px auto; }
.story-section .sign { font-weight:700; color:var(--jt-ink); margin-top:10px; display:block; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:24px; }
.filter-tabs a {
    padding:9px 18px; border-radius:50px; font-size:13.5px; font-weight:700;
    border:1.5px solid var(--jt-line-strong); color:var(--jt-ink); background:var(--jt-surface);
}
.filter-tabs a:hover { border-color: var(--jt-teal); color: var(--jt-teal); }
.filter-tabs a.active { background:var(--jt-teal); border-color:var(--jt-teal); color:#fff; }

/* ---------- Buttons ---------- */
.btn-oud { background: var(--jt-teal); border: none; color: #fff; font-weight: 700; box-shadow: 0 4px 14px rgba(14,124,134,0.2); }
.btn-oud:hover { background: var(--jt-teal-dark); color: #fff; box-shadow: 0 6px 18px rgba(14,124,134,0.3); }

.btn-outline-oud { border: 1.5px solid var(--jt-teal); color: var(--jt-teal); font-weight: 700; background: transparent; }
.btn-outline-oud:hover { background: var(--jt-teal); color: #fff; }

/* ---------- Cards ---------- */
.category-card {
    border-radius: 18px; overflow: hidden; text-align: center; background: var(--jt-surface);
    border: 1px solid var(--jt-line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    padding: 1rem 0.5rem;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--jt-shadow); border-color: var(--jt-teal); }
.category-card img, .category-card .placeholder-icon {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; margin: 0 auto 0.5rem;
    background: var(--jt-teal-tint); display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.category-card p { color: var(--jt-ink); }

.product-card {
    border-radius: var(--jt-radius); border: 1px solid var(--jt-line); overflow: hidden;
    background: var(--jt-surface); height: 100%; transition: box-shadow .25s ease, transform .25s ease; color: var(--jt-ink);
}
.product-card:hover { box-shadow: var(--jt-shadow); transform: translateY(-6px); }
.product-card .img-wrap { aspect-ratio: 1/1; background: var(--jt-surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-card .img-wrap img { width: 78%; height: 78%; object-fit: contain; border-radius: 50%; background:#fff; box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.product-card .price { color: var(--jt-teal); font-weight: 800; }
.product-card .old-price { text-decoration: line-through; color: #9aa5a3; font-size: 0.85rem; }
.product-card .card-body, .product-card h6, .product-card .fw-bold { color: var(--jt-ink); }
.product-card .btn-add-round {
    width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--jt-gold); color: #fff;
    font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .15s ease;
}
.product-card .btn-add-round:hover { transform: scale(1.06); }
.product-card .tag {
    position: absolute; top: 12px; right: 12px; background: var(--jt-teal); color: #fff;
    padding: 5px 10px; border-radius: 9px; font-size: 10px; font-weight: 800; z-index: 2;
}

.badge-out { background: #b23b3b; }

/* ---------- Generic Bootstrap overrides (light JoTeeth theme) ---------- */
.card { background: var(--jt-surface); border: 1px solid var(--jt-line); color: var(--jt-ink); }
.text-muted { color: var(--jt-bone-dim) !important; }
.table { color: var(--jt-ink); }
.table > :not(caption) > * > * { background: transparent; color: var(--jt-ink); border-color: var(--jt-line); }
.modal-content, .dropdown-menu { background: var(--jt-surface); color: var(--jt-ink); border: 1px solid var(--jt-line); }
.dropdown-item { color: var(--jt-ink); }
.dropdown-item:hover { background: var(--jt-teal-tint); color: var(--jt-teal-dark); }

/* ---------- Checkout form ---------- */
.checkout-card { background: var(--jt-surface); border-radius: 20px; border: 1px solid var(--jt-line); padding: 1.5rem; color: var(--jt-ink); }
.form-control, .form-select { border-radius: 12px; padding: 0.7rem 1rem; border: 1px solid var(--jt-line-strong); background: var(--jt-surface-2); color: var(--jt-ink); }
.form-control::placeholder { color: var(--jt-bone-dim); }
.form-control:focus, .form-select:focus { border-color: var(--jt-teal); box-shadow: 0 0 0 0.2rem rgba(14,124,134,0.15); background: #fff; color: var(--jt-ink); }
.form-select option { background: #fff; color: var(--jt-ink); }
label, .form-label { color: var(--jt-ink); font-weight: 600; }

/* ---------- Cart quantity stepper ---------- */
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--jt-line-strong); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty-step-btn { background: var(--jt-teal-tint); border: none; width: 34px; height: 34px; font-size: 1.1rem; font-weight: 700; color: var(--jt-teal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; touch-action: manipulation; }
.qty-step-btn:active { background: var(--jt-teal); color: #fff; }
.qty-stepper .cart-qty-input { width: 48px; text-align: center; border: none; background: #fff; color: var(--jt-ink); border-right: 1px solid var(--jt-line-strong); border-left: 1px solid var(--jt-line-strong); border-radius: 0; padding: 0.35rem 0.25rem; -moz-appearance: textfield; }
.qty-stepper .cart-qty-input::-webkit-outer-spin-button, .qty-stepper .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.payment-option { border: 1.5px solid var(--jt-line-strong); border-radius: 14px; padding: 1rem; cursor: pointer; background: var(--jt-surface-2); }
.payment-option.selected { border-color: var(--jt-teal); background: var(--jt-teal-tint); }

/* ---------- Footer ---------- */
.oud-footer { background: var(--jt-ink); color: rgba(255,255,255,.65); padding: 2.5rem 0 1rem; margin-top: 3rem; }
.oud-footer h5, .oud-footer h6 { color: var(--jt-gold) !important; }
.oud-footer a { color: rgba(255,255,255,.65); }
.oud-footer a:hover { color: var(--jt-teal-tint); }

.footer-social-link {
    width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff !important; transition: background .15s ease, transform .15s ease;
}
.footer-social-link:hover { background: var(--jt-gold); color: #fff !important; transform: translateY(-3px); }

/* ---------- Notification banner ---------- */
.notification-banner { background: var(--jt-teal-dark); color: #fff; font-size: 0.9rem; }
.notification-banner a { color: var(--jt-gold) !important; }

/* ---------- Push notification prompt ---------- */
.push-prompt {
    position: fixed; bottom: 62px; left: 0; right: 0; background: var(--jt-surface); color: var(--jt-ink);
    border-top: 1px solid var(--jt-line); box-shadow: 0 -4px 20px rgba(0,0,0,0.08); padding: 0.75rem 1rem; z-index: 1300;
}
@media (min-width: 992px) { .push-prompt { bottom: 0; } }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 90px; left: 22px; background: #25D366; color: #fff !important; border-radius: 30px;
    padding: 0.7rem 1.1rem; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 1200; font-weight: 600;
}
@media (min-width: 992px) { .whatsapp-float { bottom: 22px; } }

/* ---------- Mobile bottom cart dock ---------- */
.mobile-bottom-dock {
    position: fixed; bottom: 0; right: 0; left: 0; z-index: 1100; background: var(--jt-surface); border-top: 1px solid var(--jt-line);
    padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.mobile-bottom-dock .dock-price { font-weight: 800; font-size: 15px; color: var(--jt-ink); }
.mobile-bottom-dock .dock-sub { font-size: 11px; color: var(--jt-bone-dim); }
@media (min-width: 992px) { .mobile-bottom-dock { display: none; } }

/* ---------- Mobile menu button ---------- */
.menu-toggle-btn { background: var(--jt-teal-tint); color: var(--jt-teal); border: 1px solid var(--jt-line); width: 42px; height: 42px; border-radius: 10px; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.menu-toggle-btn:hover { background: var(--jt-teal); color: #fff; }

/* ---------- Offcanvas mobile menu ---------- */
.offcanvas { max-width: 320px; background: var(--jt-surface); color: var(--jt-ink); }
.offcanvas-header { border-bottom: 1px solid var(--jt-line) !important; }
.mobile-menu-tabs { border-bottom: 1px solid var(--jt-line); }
.mobile-menu-tabs .nav-link { border: none; border-bottom: 3px solid transparent; color: var(--jt-bone-dim); font-weight: 600; border-radius: 0; background: transparent; }
.mobile-menu-tabs .nav-link.active { color: var(--jt-teal); border-bottom-color: var(--jt-teal); background: transparent; }
.mobile-menu-link { display: block; padding: 0.7rem 0.25rem; color: var(--jt-ink); border-bottom: 1px solid var(--jt-line); font-weight: 500; }
.mobile-menu-link:hover { color: var(--jt-teal); }

.mobile-category-tile { display: block; text-align: center; }
.mobile-category-thumb { aspect-ratio: 1/1; background: var(--jt-teal-tint); border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.mobile-category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mobile-category-tile p { color: var(--jt-ink); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 400px) {
    .oud-brand-tag { display: none; }
    .oud-logo-circle { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* =====================================================================
   لوحة التحكم (Admin) — نفس البنية القديمة، بألوان JoTeeth (تركواز/ذهبي)
   ===================================================================== */

.login-page-body { min-height: 100vh; display: flex; align-items: center; background: radial-gradient(circle at top, var(--oud-purple) 0%, var(--oud-dark) 65%); }
.login-card { background: var(--oud-card); color: var(--oud-cream); border: 1px solid var(--oud-border); border-radius: 22px; padding: 2rem 1.5rem; box-shadow: 0 15px 50px rgba(0,0,0,0.55); }
.login-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--oud-teal-light); box-shadow: 0 0 0 3px var(--oud-teal); }
@media (min-width: 576px) { .login-card { padding: 2.5rem 2rem; } }

.admin-sidebar { background: linear-gradient(180deg, var(--oud-purple), var(--oud-dark)); color: #fff; width: 260px; }
.admin-sidebar a { color: var(--oud-muted); display: flex; align-items: center; padding: 0.8rem 1.1rem; border-radius: 10px; font-weight: 500; font-size: 0.98rem; min-height: 46px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--oud-teal); color: #fff; }
.admin-sidebar hr { opacity: 0.25; }

@media (min-width: 992px) { .admin-sidebar { min-height: 100vh; flex-shrink: 0; } }
@media (max-width: 991.98px) {
    .admin-sidebar { box-shadow: 0 0 30px rgba(0,0,0,0.5); }
    .admin-sidebar .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .admin-sidebar a { padding: 0.9rem 1.1rem; font-size: 1.03rem; }
}

.admin-mobile-topbar { background: #fff; border-bottom: 1px solid var(--jt-line); padding: 0.6rem 1rem; z-index: 1030; }

.admin-main { background: #F7FAF9; min-height: 100vh; color: #12181A; }
.admin-main h1, .admin-main h2, .admin-main h3, .admin-main h4, .admin-main h5, .admin-main h6,
.admin-main p, .admin-main span, .admin-main label, .admin-main .form-label,
.admin-main td, .admin-main th, .admin-main li { color: inherit; }
.admin-main .text-muted { color: #6b7a78 !important; }
.admin-main .table, .admin-main .table > :not(caption) > * > * { color: #12181A !important; background: transparent; }
.admin-main .card, .admin-main .bg-white { color: #12181A; }
.admin-main .form-control, .admin-main .form-select { background: #fff; color: #12181A; border: 1px solid rgba(18,24,26,0.14); }
.admin-main .form-control::placeholder { color: #9aa5a3; }
.admin-main .form-control:focus, .admin-main .form-select:focus { background: #fff; color: #12181A; border-color: var(--oud-teal); box-shadow: 0 0 0 0.2rem rgba(14,124,134,0.15); }
.admin-main .form-select option { background: #fff; color: #12181A; }
.admin-main .dropdown-menu, .admin-main .modal-content { background: #fff; color: #12181A; }
.admin-main .dropdown-item { color: #12181A; }
.admin-main .dropdown-item:hover { background: var(--jt-teal-tint); color: var(--oud-teal-dark); }
.admin-main a:not(.btn) { color: var(--oud-teal-dark); }

.stat-card { border-radius: 18px; border: 1px solid var(--oud-border); padding: 1.25rem; background: linear-gradient(160deg, var(--oud-card), var(--oud-card-2)); color: var(--oud-cream); }
.stat-card .value { font-size: 1.7rem; font-weight: 800; color: var(--oud-teal); }
.stat-card .text-muted { color: var(--oud-muted) !important; }

.status-badge { padding: 0.3rem 0.7rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

@media (max-width: 767.98px) {
    .admin-main h3, .admin-main h4, .admin-main h5 { font-size: 1.15rem; }
    .table { font-size: 0.88rem; }
    .stat-card { padding: 1rem; }
    .stat-card .value { font-size: 1.4rem; }
}
