/* =============================================================
   SocialVault — Global Stylesheet & Premium Theme
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #10b981;
  --primary-h: #059669;
  --secondary: #f43f5e;
  --sidebar-w: 250px;
  --bg:        #f1f5f9;
  --card:      #ffffff;
  --border:    #e2e8f0;
  --text:      #0f172a;
  --muted:     #475569;
  --accent:    #ecfdf5;
}
.dark {
  --bg:     #090d16;
  --card:   #111827;
  --border: #1f2937;
  --text:   #f9fafb;
  --muted:  #9ca3af;
  --accent: #064e3b;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}
body.page-loaded {
  opacity: 1 !important;
}

/* ── Anti-Flicker & Zero Layout-Shift Engine ── */
html.banner-disabled #topDiscountBannerBox {
  display: none !important;
}
html.logo-image-mode .brand-default-icon,
html.logo-image-mode .dynamic-site-name {
  display: none !important;
}
html.logo-image-mode .dynamic-logo-img {
  display: inline-block !important;
}
#topDiscountBannerBox {
  min-height: 38px;
  will-change: transform, opacity;
}
#mainSiteHeader {
  min-height: 80px;
}

.admin-nav-item-active {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}
.admin-nav-item-active span {
  color: #ffffff !important;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.dark ::-webkit-scrollbar-thumb { background: #374151; }

/* ── Layout ────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  z-index: 50;
  transition: background .2s, border-color .2s;
}

.sidebar-logo {
  padding: 24px 20px 18px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.sidebar-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.sidebar-nav { flex: 1; padding: 12px 14px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: all .18s ease;
  margin-bottom: 4px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.nav-link:hover { background: #f1f5f9; color: var(--text); }
.dark .nav-link:hover { background: #1f2937; color: var(--text); }
.nav-link.active {
  background: #dcfce7;
  color: #15803d;
}
.dark .nav-link.active {
  background: #14532d;
  color: #86efac;
}
.nav-link .nav-icon { width: 20px; text-align: center; font-size: .95rem; }

/* Animated Gradient Border Balance Card (Screenshot match!) */
.sidebar-balance-card {
  margin: 14px;
  position: relative;
  background: var(--card);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.sidebar-balance-card::before {
  content: '';
  position: absolute;
  top: -2px; bottom: -2px; left: -2px; right: -2px;
  background: linear-gradient(90deg, #10b981, #f59e0b, #ec4899, #3b82f6, #10b981);
  background-size: 300% 300%;
  border-radius: 22px;
  z-index: -1;
  animation: borderGradient 4s ease infinite;
}
@keyframes borderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sidebar-balance-card .label { font-size: .7rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.sidebar-balance-card .amount { font-size: 1.4rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.sidebar-balance-card .sub { font-size: .68rem; color: var(--muted); margin-bottom: 12px; line-height: 1.35; }

.btn-addfund {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}
.btn-addfund:hover { background: #15803d; transform: translateY(-1px); }

/* ── Main Content ──────────────────────────────────────────── */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px 36px 60px;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: background .2s, border-color .2s;
}
.stat-card .s-label { font-size: .72rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.stat-card .s-value { font-size: 1.4rem; font-weight: 900; color: var(--text); }

/* ── Product Cards Grid (Horizontal Screenshot 3 Layout) ────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card-horiz {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  display: flex;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.product-card-horiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-thumb-box {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
  font-size: 2.5rem;
}
.product-thumb-box img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 12px;
}
.stock-pill {
  position: absolute;
  bottom: 8px;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  font-size: .62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.dark .stock-pill {
  background: rgba(15,23,42,0.95);
  color: #f8fafc;
}

.product-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-title {
  font-size: .92rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-desc-pill {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .68rem;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.dark .product-desc-pill {
  background: #1f2937;
}

.product-tags { display: flex; gap: 4px; margin-bottom: 8px; }
.tag-pill {
  font-size: .6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}
.dark .tag-pill { background: #374151; color: #cbd5e1; }

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.product-price-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #16a34a;
}

.btn-buy-green {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 9px;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  margin-top: 6px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.btn-buy-green:hover { background: #15803d; }
.btn-buy-green:disabled { background: #9ca3af; cursor: not-allowed; box-shadow: none; }

/* ── Category Filter Pills ─────────────────────────────────── */
.cat-pills-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.cat-pills-row::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.cat-pill:hover { border-color: #16a34a; color: #16a34a; }
.cat-pill.active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* ── Floating Live Chat ────────────────────────────────────── */
.floating-chat-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-chat-label {
  background: var(--card);
  color: var(--text);
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}
.floating-chat-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  border: none;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  transition: transform .2s ease;
}
.floating-chat-btn:hover { transform: scale(1.08); }

/* ── Table ─────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: .7rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.data-table td {
  font-size: .8rem;
  color: var(--text);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:hover td { background: var(--accent); }

/* ── Status Badges ─────────────────────────────────────────── */
.badge-pill {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 800;
  padding: 3px 10px; border-radius: 99px;
}
.badge-credit { background: #dcfce7; color: #15803d; }
.badge-approved { background: #dcfce7; color: #15803d; }
.badge-pending  { background: #fef3c7; color: #92400e; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .main-content { padding: 20px; }
}
@media (max-width: 768px) {
  .sidebar { display: none; }
}

/* ── Auth Page (Login/Register) ─────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px 16px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: none;
  color: var(--muted);
  transition: all .15s;
}
.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22,163,74,.3);
}

/* ── Form Controls ────────────────────────────────────────────*/
.form-group { margin-bottom: 14px; }
.form-label { font-size: .78rem; font-weight: 700; color: var(--text); margin-bottom: 5px; display: block; }
.form-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--primary); }

.btn-primary {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  box-shadow: 0 4px 14px rgba(22,163,74,.3);
  margin-top: 6px;
}
.btn-primary:hover { background: var(--primary-h); transform: translateY(-1px); }

/* =============================================================
   Admin Control Center Theme — Screenshot Exact Layout & Colors
   ============================================================= */
.admin-theme {
  background-color: #141a28 !important;
  color: #e2e8f0 !important;
}

.admin-sidebar {
  background-color: #1b2234 !important;
  border-right: 1px solid #263047 !important;
}

.admin-sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #263047;
}

.admin-nav-section-title {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  padding: 16px 16px 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 3px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.admin-nav-link:hover {
  background-color: #242e45;
  color: #f1f5f9;
}
.admin-nav-link.active {
  background-color: #2b3856;
  color: #ffffff;
  font-weight: 800;
}
.admin-nav-link .nav-icon {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

/* Stat Cards in Admin Dashboard (Spacious Professional Layout) */
.admin-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  border-color: rgba(37, 99, 235, 0.4);
}
.dark .admin-stat-card {
  background-color: #1e2638;
  border-color: #28334c;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.admin-stat-icon.users { background: linear-gradient(135deg, #10b981, #059669); color: #ffffff; box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.admin-stat-icon.revenue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #ffffff; box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.admin-stat-icon.orders { background: linear-gradient(135deg, #f59e0b, #d97706); color: #ffffff; box-shadow: 0 4px 12px rgba(245,158,11,0.3); }
.admin-stat-icon.balance { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #ffffff; box-shadow: 0 4px 12px rgba(99,102,241,0.3); }

.admin-stat-info {
  min-width: 0;
  flex: 1;
}
.admin-stat-info .value {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.dark .admin-stat-info .value {
  color: #ffffff;
}
.admin-stat-info .label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 4px;
}
.dark .admin-stat-info .label {
  color: #94a3b8;
}

/* Dark Admin Data Table (Screenshot Layout) */
.admin-table-container {
  background-color: #1e2638;
  border: 1px solid #28334c;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.admin-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #28334c;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-table-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background-color: #171f30;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #28334c;
}
.admin-table td {
  font-size: 13px;
  color: #cbd5e1;
  padding: 16px 20px;
  border-bottom: 1px solid #242e45;
  vertical-align: middle;
}
.admin-table tr:hover td {
  background-color: #242e45;
}

.admin-badge-active {
  background-color: #2e285c;
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}
.admin-badge-pending {
  background-color: #452a19;
  color: #fdba74;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}
.admin-badge-suspended {
  background-color: #4c1d24;
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}

/* ── RakibSocials Marketplace Exact UI Styles ───────────────── */
.marketplace-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .marketplace-layout { grid-template-columns: 1fr; }
}

.category-filter-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.category-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s;
}
.category-radio-option:hover {
  color: var(--text);
}
.category-radio-option input[type="radio"] {
  accent-color: #2563eb;
  width: 15px; height: 15px;
  cursor: pointer;
}
.category-radio-option.selected {
  color: #2563eb;
  font-weight: 900;
}

.marketplace-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.marketplace-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.seller-badge-admin {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dark .seller-badge-admin {
  background: #78350f;
  color: #fef08a;
  border-color: #92400e;
}

.qty-input-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 60px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  text-align: center;
}

.sidebar-user-card {
  margin: 12px 16px;
  padding: 12px 14px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.dark .sidebar-user-card {
  background: #111827;
  border-color: #1f2937;
}
.sidebar-user-avatar {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: #3b82f6;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── RakibSocials Screenshot Exact Header & Orders Table Styles ── */
.orders-table-header {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  border-radius: 16px;
  padding: 14px 24px;
}

.recent-plus-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  shrink: 0;
}
.dark .recent-plus-icon {
  background: #14532d;
  color: #4ade80;
}

.header-circle-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(168,85,247,0.3);
}

/* ── Glassmorphism Premium Design Utilities ────────────────────────────── */
.glass-card-frosted {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
}
.dark .glass-card-frosted {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.glass-card-gradient-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(79, 70, 229, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.3);
}

.glass-card-gradient-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(13, 148, 136, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(16, 185, 129, 0.3);
}

.glass-card-gradient-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.95), rgba(225, 29, 72, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(244, 63, 94, 0.3);
}

.glass-card-gradient-red {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.95), rgba(190, 18, 60, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(225, 29, 72, 0.3);
}

.glass-card-gradient-indigo {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(37, 99, 235, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(79, 70, 229, 0.3);
}

.glass-card-gradient-teal {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.95), rgba(16, 185, 129, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(13, 148, 136, 0.3);
}

.glass-card-gradient-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(217, 119, 6, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(249, 115, 22, 0.3);
}

.glass-card-gradient-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.95), rgba(79, 70, 229, 0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 25px -5px rgba(147, 51, 234, 0.3);
}

/* ── Mobile Off-Canvas Drawer Sidebar Responsive Styles ───────────────── */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .app-layout {
    position: relative;
    overflow-x: hidden;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    z-index: 100;
    width: 285px;
    max-width: 85vw;
    background: #090d16 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar.sidebar-mobile-open {
    transform: translateX(0) !important;
  }

  .main-content {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 1rem !important;
  }
}



