:root{
  --brand:#0f62fe;--brand-dark:#0b4ed0;--sidebar:#111827;--surface:#ffffff;--surface-2:#f5f7fb;--text:#182033;--muted:#6c7893;--border:#e8ecf4;--success:#0f9d58;--danger:#d93025;--warning:#f9ab00;--shadow:0 18px 40px rgba(15,34,74,.08);--radius:20px;
}
*{box-sizing:border-box} body{background:var(--surface-2);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif} a{text-decoration:none}
.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:linear-gradient(135deg,#eef4ff,#f8fbff)}
.auth-card{width:min(100%,430px);background:var(--surface);border:1px solid var(--border);border-radius:28px;box-shadow:var(--shadow);padding:32px}
.brand-badge{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,var(--brand),#6ea8fe);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.4rem;margin-bottom:16px}
.admin-shell{display:flex;min-height:100vh}.sidebar{width:280px;background:var(--sidebar);color:#eef2ff;padding:24px 18px;position:fixed;inset:0 auto 0 0;overflow-y:auto}
.sidebar .brand{display:flex;gap:12px;align-items:center;margin-bottom:24px;padding:6px 8px}.sidebar .brand-icon{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--brand),#6ea8fe);display:flex;align-items:center;justify-content:center;overflow:hidden}.sidebar .brand-icon img{width:100%;height:100%;object-fit:cover}
.sidebar .nav-section{margin-top:20px;color:#94a3b8;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;padding:0 12px 8px}.sidebar a{display:flex;align-items:center;gap:12px;color:#dbe4ff;padding:12px 14px;border-radius:14px;margin-bottom:6px}.sidebar a:hover,.sidebar a.active{background:rgba(255,255,255,.08);color:#fff}
.main{margin-left:280px;flex:1;padding:28px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.topbar-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:14px 18px;box-shadow:var(--shadow)}
.page-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow);padding:24px}.page-card + .page-card{margin-top:20px}.metric-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow);padding:22px;height:100%}.metric-label{color:var(--muted);font-size:.92rem}.metric-value{font-size:2rem;font-weight:700;margin-top:6px}.section-title{font-size:1.2rem;font-weight:700;margin:0 0 18px}
.table thead th{color:var(--muted);font-weight:600;border-bottom-color:var(--border)}.table>:not(caption)>*>*{padding:1rem .85rem}.form-control,.form-select{border-radius:14px;padding:.82rem 1rem;border-color:#d8dfeb}.form-control:focus,.form-select:focus{border-color:var(--brand);box-shadow:0 0 0 .2rem rgba(15,98,254,.14)}.btn{border-radius:14px;padding:.8rem 1rem;font-weight:600}.btn-primary{background:var(--brand);border-color:var(--brand)}.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.preview-thumb{width:72px;height:72px;object-fit:cover;border-radius:14px;border:1px solid var(--border)}.public-navbar{background:rgba(17,24,39,.92);backdrop-filter:blur(8px)}.public-hero{background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;border-radius:28px;padding:28px;box-shadow:var(--shadow)}.product-card{border:none;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);height:100%;background:#fff}.product-card .card-img-top{height:220px;object-fit:cover}.inline-gallery{display:flex;gap:10px;overflow:auto;padding:0 16px 16px}.inline-gallery img,.inline-gallery video{width:78px;height:78px;object-fit:cover;border-radius:14px;border:1px solid var(--border)}.empty-state{padding:34px;border:1px dashed #cad5e7;border-radius:20px;text-align:center;color:var(--muted);background:#fbfcfe}
.stat-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#f5f8ff;border:1px solid #dfe7f7;font-weight:600;font-size:.9rem}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.brand-logo-public{width:34px;height:34px;border-radius:10px;object-fit:cover}.public-footer{background:#fff;border-top:1px solid var(--border)}.badge-soft{background:#f5f8ff;color:var(--brand);border:1px solid #dce7ff}.avatar-circle{width:36px;height:36px;border-radius:50%;background:#eef4ff;color:var(--brand);display:flex;align-items:center;justify-content:center;font-weight:700}
@media (max-width: 991px){.sidebar{position:static;width:100%;height:auto}.admin-shell{display:block}.main{margin-left:0;padding:18px}.kpi-grid{grid-template-columns:1fr 1fr}}
.banner-item{position:relative}.banner-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.55),rgba(15,23,42,.18) 55%,rgba(15,23,42,.08))}.banner-caption{left:6%;right:6%;bottom:2.5rem;z-index:2}.banner-caption h5{margin-bottom:.75rem;line-height:1.08;text-shadow:0 3px 16px rgba(0,0,0,.28)}.banner-caption p{max-width:760px;margin-bottom:0;line-height:1.45;text-shadow:0 2px 10px rgba(0,0,0,.25)}@media (max-width:768px){.banner-caption{bottom:1.4rem}.banner-caption h5{font-size:1.5rem!important}.banner-caption p{font-size:1rem!important}}


.media-card{padding:1rem;border:1px solid rgba(15,23,42,.08)}
.media-preview{background:#f8fafc;border-radius:1rem;display:flex;align-items:center;justify-content:center;min-height:180px;overflow:hidden}
.media-preview img,.media-preview video{width:100%;height:180px;object-fit:cover}
