/* ============================================================
   TECHNOSAGA INFOTECH PVT. LTD. — ADMIN PANEL CSS
   Gold & Black Premium Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ── Brand Colors ── */
  --gold:          #D4A017;
  --gold-dark:     #B8860B;
  --gold-light:    #e8c04a;
  --gold-soft:     rgba(212,160,23,.12);
  --gold-gradient: linear-gradient(135deg, #D4A017 0%, #B8860B 100%);
  --gold-gradient-h: linear-gradient(135deg, #e8c04a 0%, #D4A017 100%);

  /* Sidebar dark */
  --sidebar-bg:    #0A0A0A;
  --sidebar-hover: rgba(212,160,23,.07);
  --sidebar-active:#D4A017;
  --sidebar-border: rgba(212,160,23,.15);

  /* Topbar */
  --topbar-bg:     #0d0d0d;
  --topbar-border: rgba(212,160,23,.25);

  /* UI */
  --white:         #FFFFFF;
  --bg:            #F4F5F7;
  --card-bg:       #FFFFFF;
  --border:        #E8ECF4;
  --text-dark:     #1A1A1A;
  --text-mid:      #4B5263;
  --text-muted:    #8B93A7;
  --text-light:    #B5BCC9;

  /* Accent colors */
  --blue:          #3B82F6;
  --blue-soft:     rgba(59,130,246,.12);
  --green:         #10B981;
  --green-soft:    rgba(16,185,129,.12);
  --red:           #EF4444;
  --red-soft:      rgba(239,68,68,.12);
  --orange:        #F97316;
  --orange-soft:   rgba(249,115,22,.13);
  --purple:        #8B5CF6;
  --purple-soft:   rgba(139,92,246,.13);

  /* Layout */
  --sidebar-w:     258px;
  --topbar-h:      64px;

  /* Fonts */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Radii */
  --r:     12px;
  --r-sm:  8px;
  --r-lg:  16px;

  /* Shadows */
  --shadow:      0 2px 12px rgba(0,0,0,.06);
  --shadow-md:   0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.15);
  --shadow-card: 0 1px 4px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);
  --shadow-gold: 0 4px 20px rgba(212,160,23,.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.admin-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), width .3s;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,160,23,.2) transparent;
  border-right: 1px solid var(--sidebar-border);
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(212,160,23,.25); border-radius: 4px; }

/* ── Logo ── */
.sidebar-logo {
  padding: 20px 18px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.sidebar-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(212,160,23,.50));
  transition: filter .3s ease, transform .3s ease;
  flex-shrink: 0;
}
.sidebar-logo:hover img {
  filter: drop-shadow(0 0 12px rgba(212,160,23,.80));
  transform: scale(1.05);
}
.sidebar-logo-text { line-height: 1.25; min-width: 0; }
.sidebar-logo-text .s-brand {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-logo-text .s-sub {
  font-size: 9.5px;
  color: rgba(255,255,255,.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

/* ── Nav Sections ── */
.sidebar-nav { flex: 1; padding: 10px 0 20px; }

.sidebar-section-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(212,160,23,.55);
  padding: 16px 18px 6px;
}

/* ── Menu Item ── */
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.62);
  cursor: pointer;
  border-radius: 0;
  transition: all .18s ease;
  position: relative;
  border-left: 2px solid transparent;
  user-select: none;
}
.sidebar-item .s-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.sidebar-item .s-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-item .s-badge {
  background: var(--gold-gradient);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}
.sidebar-item .s-arrow {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  transition: transform .2s ease;
  flex-shrink: 0;
}

/* Hover */
.sidebar-item:hover {
  color: var(--gold);
  background: var(--sidebar-hover);
  border-left-color: rgba(212,160,23,.4);
}
.sidebar-item:hover .s-icon { transform: scale(1.1); }

/* Active parent */
.sidebar-item.open {
  color: var(--gold);
  background: rgba(212,160,23,.06);
  border-left-color: var(--gold);
}
.sidebar-item.open .s-arrow { transform: rotate(90deg); }

/* ── Submenu ── */
.sidebar-submenu {
  display: none;
  background: rgba(255,255,255,.025);
  border-left: 2px solid rgba(212,160,23,.25);
  margin-left: 20px;
  overflow: hidden;
}
.sidebar-submenu.open { display: block; }

.sidebar-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 20px;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255,255,255,.50);
  transition: all .16s;
  border-left: 2px solid transparent;
}
.sidebar-submenu a:hover { color: var(--gold); background: rgba(212,160,23,.06); padding-left: 24px; }
.sidebar-submenu a.active { color: var(--gold); font-weight: 600; border-left-color: var(--gold); background: rgba(212,160,23,.08); }
.sidebar-submenu a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(212,160,23,.35);
  flex-shrink: 0;
  transition: background .16s;
}
.sidebar-submenu a:hover::before,
.sidebar-submenu a.active::before { background: var(--gold); }

/* ── Sidebar Footer ── */
.sidebar-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}
.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,.40);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: all .18s;
}
.sidebar-footer a:hover { color: var(--red); background: var(--red-soft); }
.sidebar-footer a .s-icon { font-size: 15px; }

/* ═══════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════ */
.admin-topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.40);
  transition: left .3s;
}

/* ── Page Title area ── */
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-page-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.topbar-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.topbar-breadcrumb a { color: var(--gold); }
.topbar-breadcrumb span { color: rgba(255,255,255,.25); }

/* ── Sidebar toggle btn ── */
.sidebar-toggle-btn {
  background: rgba(212,160,23,.1);
  border: 1px solid rgba(212,160,23,.2);
  border-radius: var(--r-sm);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover { background: rgba(212,160,23,.18); }

/* ── Topbar Right ── */
.topbar-right { display: flex; align-items: center; gap: 8px; }

/* Search */
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,160,23,.18);
  border-radius: var(--r-sm);
  padding: 7px 14px;
  transition: all .2s;
}
.topbar-search:focus-within {
  border-color: var(--gold);
  background: rgba(212,160,23,.06);
}
.topbar-search i { color: rgba(212,160,23,.60); font-size: 13px; }
.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 160px;
}
.topbar-search input::placeholder { color: rgba(255,255,255,.28); }

/* Icon Buttons */
.topbar-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,160,23,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.topbar-icon-btn:hover { background: rgba(212,160,23,.1); color: var(--gold); border-color: rgba(212,160,23,.3); }
.topbar-icon-btn .badge {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  border: 1.5px solid var(--topbar-bg);
}

/* Admin Avatar */
.topbar-admin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r);
  border: 1px solid rgba(212,160,23,.18);
  background: rgba(212,160,23,.06);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.topbar-admin:hover { background: rgba(212,160,23,.12); border-color: rgba(212,160,23,.35); }
.topbar-admin .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}
.topbar-admin .admin-info { line-height: 1.25; }
.topbar-admin .admin-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.topbar-admin .admin-role {
  font-size: 10.5px;
  color: var(--gold);
  text-transform: capitalize;
}
.topbar-admin .admin-arrow {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  margin-left: 4px;
}

/* Admin Dropdown */
.admin-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #111;
  border: 1px solid rgba(212,160,23,.2);
  border-radius: var(--r);
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  z-index: 999;
}
.topbar-admin.dropdown-open .admin-dropdown { display: block; }
.admin-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: all .18s;
}
.admin-dropdown a i { width: 16px; color: rgba(212,160,23,.65); font-size: 13px; }
.admin-dropdown a:hover { color: var(--gold); background: rgba(212,160,23,.07); }
.admin-dropdown .drop-divider { height: 1px; background: rgba(212,160,23,.12); margin: 6px 0; }
.admin-dropdown a.logout { color: rgba(239,68,68,.75); }
.admin-dropdown a.logout i { color: rgba(239,68,68,.6); }
.admin-dropdown a.logout:hover { color: var(--red); background: var(--red-soft); }

/* ═══════════════════════════════════════════
   MAIN CONTENT LAYOUT
═══════════════════════════════════════════ */
.admin-main {
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
  transition: margin-left .3s;
}
.admin-content {
  padding: 24px;
}

/* ═══════════════════════════════════════════
   CARDS & UI COMPONENTS
═══════════════════════════════════════════ */
.card {
  background: var(--card-bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Stat Cards */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-icon.gold { background: var(--gold-soft); }
.stat-icon.blue  { background: var(--blue-soft); }
.stat-icon.green { background: var(--green-soft); }
.stat-icon.red   { background: var(--red-soft); }
.stat-icon.purple{ background: var(--purple-soft); }
.stat-info .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-info .stat-value { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--text-dark); line-height: 1.2; }
.stat-info .stat-change { font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text-dark); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(212,160,23,.03); }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; gap: 4px; }
.badge-gold    { background: var(--gold-soft); color: var(--gold-dark); }
.badge-green   { background: var(--green-soft); color: var(--green); }
.badge-red     { background: var(--red-soft); color: var(--red); }
.badge-blue    { background: var(--blue-soft); color: var(--blue); }
.badge-gray    { background: rgba(0,0,0,.06); color: var(--text-muted); }
.badge-orange  { background: var(--orange-soft); color: var(--orange); }
.badge-purple  { background: var(--purple-soft); color: var(--purple); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--r-sm); font-family: var(--font-head); font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--gold-gradient); color: #000; box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-gradient-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(212,160,23,.35); }
.btn-outline { background: transparent; color: var(--text-mid); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger  { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 11px 28px; font-size: 15px; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.12); }
.form-control::placeholder { color: var(--text-light); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alert ── */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 13.5px; }
.alert-error   { background: var(--red-soft);    color: var(--red);    border: 1px solid rgba(239,68,68,.25); }
.alert-success { background: var(--green-soft);  color: var(--green);  border: 1px solid rgba(16,185,129,.25); }
.alert-warning { background: var(--orange-soft); color: var(--orange); border: 1px solid rgba(249,115,22,.25); }
.alert-info    { background: var(--blue-soft);   color: var(--blue);   border: 1px solid rgba(59,130,246,.25); }
.alert-icon    { font-size: 16px; flex-shrink: 0; }

/* ── Breadcrumb ── */
.breadcrumb-bar { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb-bar a { color: var(--gold); font-weight: 500; }
.breadcrumb-bar .sep { color: var(--text-light); }
.breadcrumb-bar .current { color: var(--text-dark); font-weight: 600; }

/* ── Page Header ── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header-left h1 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--text-dark); }
.page-header-left p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Sidebar Collapsed ── */
body.sidebar-collapsed .admin-sidebar { transform: translateX(-100%); }
body.sidebar-collapsed .admin-main { margin-left: 0; }
body.sidebar-collapsed .admin-topbar { left: 0; }

/* ═══════════════════════════════════════════
   ADMIN LOGIN PAGE
═══════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #050505 0%, #111 50%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,.05) 0%, transparent 70%);
  bottom: -80px; left: -80px;
  pointer-events: none;
}
.login-wrap { width: 100%; max-width: 420px; position: relative; z-index: 1; }
.login-card {
  background: #111;
  border: 1px solid rgba(212,160,23,.25);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,160,23,.05);
}
.lc-head { text-align: center; margin-bottom: 32px; }
.lc-head img { height: 72px; width: 72px; object-fit: contain; border-radius: 50%; margin: 0 auto 16px; display: block; filter: drop-shadow(0 0 12px rgba(212,160,23,.50)); }
.lc-head h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.lc-head p { font-size: 13px; color: rgba(255,255,255,.35); }
.login-card .form-label { color: rgba(255,255,255,.75); }
.login-card .form-control { background: rgba(255,255,255,.05); border-color: rgba(212,160,23,.2); color: #fff; }
.login-card .form-control:focus { border-color: var(--gold); background: rgba(212,160,23,.06); }
.login-card .form-control::placeholder { color: rgba(255,255,255,.2); }
.login-btn { width: 100%; padding: 13px; background: var(--gold-gradient); color: #000; border: none; border-radius: var(--r-sm); font-family: var(--font-head); font-size: 15px; font-weight: 700; cursor: pointer; transition: all .25s; box-shadow: var(--shadow-gold); }
.login-btn:hover { background: var(--gold-gradient-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(212,160,23,.40); }
.login-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 46px; }
.pw-eye { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: rgba(212,160,23,.6); padding: 4px; }
.back-link { display: block; text-align: center; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.35); }
.back-link a { color: var(--gold); font-weight: 600; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Sidebar hidden hone par touch events completely disable */
  .admin-sidebar {
    transform: translateX(-100%);
    pointer-events: none;
  }
  .admin-sidebar.mobile-open {
    transform: translateX(0);
    z-index: 200;
    pointer-events: auto;
  }
  .admin-main { margin-left: 0; }
  .admin-topbar { left: 0; z-index: 150; }
  /* Mobile pe hover effect disable - touch me hover stuck rehta hai */
  .topbar-admin:hover { background: rgba(212,160,23,.06); border-color: rgba(212,160,23,.18); }
  .sidebar-item:hover { color: rgba(255,255,255,.62); background: transparent; border-left-color: transparent; }
  .sidebar-submenu a:hover { color: rgba(255,255,255,.50); background: transparent; padding-left: 20px; }
  .btn-primary:hover { transform: none; }
  .stat-card:hover { transform: none; box-shadow: var(--shadow-card); }
}
@media (max-width: 600px) {
  .admin-content { padding: 16px; }
  .topbar-search { display: none; }
  .admin-topbar { padding: 0 14px; }
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 195;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

/* ── Utilities ── */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--red); }
.text-success { color: var(--green); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }