/* ============================================================
   OPM — Operation Manager · Shikkha Brand v3.0
   Glassmorphism UI · Deep Indigo #2A2D7C
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Bengali:wght@400;600;700;800&display=swap');

:root {
  --primary:       #2A2D7C;
  --primary-dark:  #1C1F5A;
  --primary-light: #E2E0FF;
  --amber:         #FB8C00;
  --coral:         #F4511E;
  --teal:          #00897B;
  --teal-light:    #E0F4F1;
  --surface:       #FBFBFE;
  --surface-c:     #F1F1FA;
  --on-surface:    #1A1A2E;
  --on-var:        #5C616E;
  --outline:       #C4C5D4;
  --bg:            #ECEDF8;
  --error:         #BA1A1A;
  --error-light:   #FCEDE8;
  --glass-bg:      rgba(255,255,255,0.65);
  --glass-border:  rgba(255,255,255,0.5);
  --glass-shadow:  0 8px 32px rgba(42,45,124,0.12);
  --sidebar-w:     244px;
  --header-h:      62px;
  --radius-s:      10px;
  --radius-m:      14px;
  --radius-l:      20px;
  --radius-xl:     28px;
  --radius-full:   999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Gradient background */
  background: linear-gradient(135deg, #E8E9F8 0%, #EEF0FB 40%, #E4ECF8 70%, #EBE9F9 100%);
  background-attachment: fixed;
}

/* Glass orbs background decorations */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(42,45,124,0.08) 0%, transparent 70%);
}
body::after {
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(0,137,123,0.06) 0%, transparent 70%);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4 { font-weight: 800; letter-spacing: -.3px; }

/* ── GLASS MIXIN ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ── LAYOUT ── */
.app-layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: rgba(26,26,46,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; overflow-x: hidden; z-index: 200;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.sidebar-brand {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 12px;
}
/* Logo wrapper — white pill so logo always shows */
.sidebar-logo-wrap {
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 4px;
}
.sidebar-logo-wrap img { width: 32px; height: 32px; }
.sidebar-brand-name { color: #fff; font-size: 15px; font-weight: 800; line-height: 1.2; }
.sidebar-brand-sub  { color: rgba(255,255,255,0.5); font-size: 11px; }

.sb-section { padding: 10px 10px 4px; }
.sb-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  padding: 0 8px; margin-bottom: 4px;
}
.sb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-s);
  color: rgba(255,255,255,0.6); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all .15s; text-decoration: none;
}
.sb-item:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.sb-item.active {
  background: rgba(255,255,255,0.12);
  color: #fff; font-weight: 700;
  border-left: 3px solid var(--amber);
  padding-left: 9px;
}
.sb-item svg { flex-shrink: 0; }
.sb-badge {
  margin-left: auto; background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--radius-full); min-width: 20px; text-align: center;
}
.sb-badge.red   { background: var(--coral); }
.sb-badge.green { background: var(--teal); }

.main-area { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ── HEADER ── */
.app-header {
  height: var(--header-h);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 16px rgba(42,45,124,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
}
.header-left  { display: flex; align-items: center; gap: 12px; }
.header-right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 150; }
.header-title { font-size: 16px; font-weight: 700; color: var(--on-surface); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--on-var); }
.hamburger:hover { background: rgba(42,45,124,0.08); }

.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.user-menu {
  position: relative; display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 6px 10px; border-radius: var(--radius-s);
  z-index: 150;
}
.user-menu:hover { background: rgba(42,45,124,0.06); }
.user-name { font-size: 13px; font-weight: 600; color: var(--on-surface); }
.user-role { font-size: 11px; color: var(--on-var); }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--glass-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m); box-shadow: var(--glass-shadow);
  min-width: 186px; display: none; z-index: 300; overflow: hidden;
}
.dropdown.open { display: block; }
.dd-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 13.5px; color: var(--on-surface); transition: background .12s;
}
.dd-item:hover { background: rgba(42,45,124,0.06); text-decoration: none; }
.dd-item.danger { color: var(--error); }
.dd-divider { border-top: 1px solid rgba(42,45,124,0.1); margin: 4px 0; }

.page-content { padding: 24px; flex: 1; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.page-title { font-size: 22px; font-weight: 800; color: var(--on-surface); }
.page-sub   { font-size: 13px; color: var(--on-var); margin-top: 2px; }

/* ── GLASS CARDS ── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 20px;
  box-shadow: var(--glass-shadow);
}

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--glass-shadow);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(42,45,124,0.15); }
.stat-icon { width: 44px; height: 44px; border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--on-surface); line-height: 1; }
.stat-label { font-size: 12px; color: var(--on-var); margin-top: 3px; }

/* ── TABLE ── */
.table-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m); overflow: hidden;
  box-shadow: var(--glass-shadow);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  background: rgba(42,45,124,0.06);
  padding: 11px 14px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--on-var);
  border-bottom: 1px solid rgba(42,45,124,0.1);
  white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(42,45,124,0.06); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(42,45,124,0.03); }
.table-actions { display: flex; gap: 6px; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.badge-pending  { background: rgba(251,140,0,.12);  color: #92400E; border: 1px solid rgba(251,140,0,.2); }
.badge-progress { background: rgba(42,45,124,.1);   color: var(--primary); border: 1px solid rgba(42,45,124,.15); }
.badge-review   { background: rgba(126,34,206,.1);  color: #7E22CE; border: 1px solid rgba(126,34,206,.15); }
.badge-done     { background: rgba(0,137,123,.12);  color: #00695C; border: 1px solid rgba(0,137,123,.2); }
.badge-hold     { background: rgba(92,97,110,.08);  color: #6B7280; border: 1px solid rgba(92,97,110,.15); }
.badge-urgent   { background: rgba(244,81,30,.12);  color: #B5371A; border: 1px solid rgba(244,81,30,.2); }
.badge-high     { background: rgba(244,81,30,.1);   color: #C2400E; }
.badge-medium   { background: rgba(251,140,0,.1);   color: #E65100; }
.badge-low      { background: rgba(0,137,123,.1);   color: #00695C; }
.badge-active   { background: rgba(0,137,123,.12);  color: #00695C; border: 1px solid rgba(0,137,123,.2); }
.badge-inactive { background: rgba(92,97,110,.08);  color: var(--on-var); }
.badge-suspended{ background: rgba(186,26,26,.1);   color: var(--error); }
.badge-owner    { background: rgba(42,45,124,.12);  color: var(--primary); }
.badge-manager  { background: rgba(42,45,124,.08);  color: var(--primary); }
.badge-staff    { background: rgba(92,97,110,.08);  color: var(--on-var); }

.priority-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.p-urgent { background: #EF4444; } .p-high { background: var(--coral); }
.p-medium { background: var(--amber); } .p-low { background: var(--teal); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 13.5px; font-weight: 700; border: none;
  cursor: pointer; transition: all .18s; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3B3FA0 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(42,45,124,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(42,45,124,0.4); color: #fff; }
.btn-teal    { background: linear-gradient(135deg, var(--teal) 0%, #00A896 100%); color: #fff; box-shadow: 0 4px 14px rgba(0,137,123,0.3); }
.btn-teal:hover { color: #fff; }
.btn-danger  { background: linear-gradient(135deg, var(--error) 0%, #D32F2F 100%); color: #fff; }
.btn-danger:hover { color: #fff; }
.btn-ghost {
  background: var(--glass-bg); color: var(--on-var);
  border: 1px solid rgba(42,45,124,0.15);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(42,45,124,0.08); color: var(--on-surface); }
.btn-sm { padding: 5px 14px; font-size: 12px; }
.btn-icon { padding: 7px; border-radius: var(--radius-s); }

/* ── FORMS ── */
.form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m); padding: 24px;
  box-shadow: var(--glass-shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
label { font-size: 13px; font-weight: 600; color: var(--on-surface); }
.form-control {
  padding: 9px 12px;
  border: 1.5px solid rgba(42,45,124,0.18);
  border-radius: var(--radius-s);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  color: var(--on-surface); transition: all .15s; width: 100%;
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 3px rgba(42,45,124,0.1);
}
.form-control::placeholder { color: #A5A6B8; }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 12px; color: var(--on-var); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-s);
  font-size: 13.5px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 8px;
  backdrop-filter: blur(10px);
}
.alert-error   { background: rgba(244,81,30,.1);   color: #7F1D1D; border: 1px solid rgba(244,81,30,.25); }
.alert-success { background: rgba(0,137,123,.1);   color: #004D40; border: 1px solid rgba(0,137,123,.25); }
.alert-info    { background: rgba(42,45,124,.08);  color: var(--primary-dark); border: 1px solid rgba(42,45,124,.2); }
.alert-warning { background: rgba(251,140,0,.1);   color: #78350F; border: 1px solid rgba(251,140,0,.25); }

/* ── FILTERS ── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-input {
  padding: 8px 14px; border: 1.5px solid rgba(42,45,124,0.18);
  border-radius: var(--radius-full); font-size: 13px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  color: var(--on-surface); width: 220px;
}
.filter-input:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,.9); }
.filter-select {
  padding: 8px 14px; border: 1.5px solid rgba(42,45,124,0.18);
  border-radius: var(--radius-full); font-size: 13px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  color: var(--on-surface); cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--primary); }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid rgba(42,45,124,0.12); flex-wrap: wrap; }
.tab {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  color: var(--on-var); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all .15s; text-decoration: none;
}
.tab:hover { color: var(--primary); text-decoration: none; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ── ATTENDANCE CLOCK ── */
.clock-card {
  background: linear-gradient(135deg, var(--primary) 0%, #3B3FA0 60%, #1C1F5A 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 28px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(42,45,124,0.35);
  position: relative; overflow: hidden;
}
.clock-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.clock-time { font-size: 48px; font-weight: 800; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.clock-btn {
  margin-top: 20px; padding: 12px 36px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all .2s;
}
.btn-checkin  { background: linear-gradient(135deg,#00897B,#00A896); color: #fff; box-shadow: 0 4px 14px rgba(0,137,123,0.4); }
.btn-checkout { background: linear-gradient(135deg,#F4511E,#D84315); color: #fff; box-shadow: 0 4px 14px rgba(244,81,30,0.4); }
.btn-checkin:hover  { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,137,123,0.5); }
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,81,30,0.5); }

/* ── LANDING PAGE ── */
.landing { min-height: 100vh; background: linear-gradient(135deg,#ECEDF8 0%,#EEF0FB 50%,#E8EAF9 100%); }
.landing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(42,45,124,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-wrap { width: 40px; height: 40px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.nav-logo-wrap img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.nav-brand-name { font-size: 17px; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 8px; }

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1C1F5A 60%, #0D0F2E 100%);
  padding: 96px 48px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,95,240,0.3) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,150,0.2) 0%, transparent 70%);
}
.hero h1 { font-size: 52px; font-weight: 800; color: #fff; letter-spacing: -2px; line-height: 1.1; max-width: 700px; margin: 0 auto 20px; position: relative; z-index: 1; }
.hero p  { font-size: 18px; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 36px; position: relative; z-index: 1; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--amber) 0%, #E65100 100%);
  color: #fff; padding: 14px 32px; font-size: 16px; border-radius: var(--radius-full);
  font-weight: 800; border: none; cursor: pointer; transition: all .18s;
  box-shadow: 0 6px 20px rgba(251,140,0,0.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(251,140,0,0.5); color: #fff; }
.btn-hero-ghost {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.35);
  padding: 13px 30px; font-size: 16px; border-radius: var(--radius-full); font-weight: 700;
  cursor: pointer; transition: all .18s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; }

.features { padding: 80px 48px; }
.features h2 { text-align: center; font-size: 34px; margin-bottom: 12px; }
.features-sub { text-align: center; color: var(--on-var); margin-bottom: 48px; font-size: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m); padding: 28px;
  box-shadow: var(--glass-shadow); transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(42,45,124,0.14); }
.feature-icon { width: 48px; height: 48px; background: rgba(42,45,124,0.1); border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--on-var); line-height: 1.6; }

.landing-footer {
  background: linear-gradient(135deg,var(--primary),#1C1F5A);
  color: rgba(255,255,255,.65); text-align: center; padding: 28px 48px; font-size: 13px;
}
.landing-footer strong { color: #fff; }

/* ── AUTH PAGES ── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #ECEDF8 0%, #E8EAF9 50%, #EEF0FB 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.auth-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(42,45,124,0.15);
}
.auth-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 28px; }
.auth-logo-wrap { width: 44px; height: 44px; background: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.auth-logo-wrap img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.auth-logo-name { font-size: 20px; font-weight: 800; color: var(--primary); }
.auth-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-sub   { font-size: 14px; color: var(--on-var); text-align: center; margin-bottom: 28px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--on-var); margin-top: 20px; }

/* ── ADMIN PANEL ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  background: rgba(11,11,22,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 200;
  border-right: 1px solid rgba(255,255,255,0.06);
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.admin-brand { padding: 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-brand-logo { width: 36px; height: 36px; background: rgba(91,95,240,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.admin-brand-name { color: #fff; font-size: 14px; font-weight: 800; }
.admin-brand-sub  { color: #A5A6B8; font-size: 11px; }
.admin-sb-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #A5A6B8; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; }
.admin-sb-item:hover  { background: rgba(255,255,255,0.06); color: #E6E6F0; text-decoration: none; }
.admin-sb-item.active { background: rgba(91,95,240,0.15); color: #B6B7EE; border-right: 2px solid #5B5FF0; }
.admin-main { margin-left: 220px; flex: 1; padding: 28px; background: #0D0D1E; min-height: 100vh; }
.admin-header { margin-bottom: 24px; }
.admin-header h1 { font-size: 24px; font-weight: 800; color: #E6E6F0; }
.admin-header p  { color: #A5A6B8; font-size: 14px; margin-top: 4px; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--on-var); }
.empty-icon  { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.empty-title { font-size: 16px; font-weight: 700; color: var(--on-surface); margin-bottom: 8px; }
.empty-desc  { font-size: 14px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px;
  display: none;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--glass-bg);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 32px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 64px rgba(42,45,124,0.18);
}
.modal-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }

/* ── SIDEBAR OVERLAY ── */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); z-index: 190; }
.sidebar-overlay.open { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .hamburger { display: flex; }
  .landing-nav { padding: 14px 20px; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 32px; }
  .features { padding: 48px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .page-content { padding: 16px; }
}

/* ── UTILS ── */
.text-muted  { color: var(--on-var); }
.text-sm     { font-size: 12px; }
.text-center { text-align: center; }
.mt-1{margin-top:4px} .mt-2{margin-top:8px} .mt-3{margin-top:12px}
.mt-4{margin-top:16px} .mt-6{margin-top:24px} .mt-8{margin-top:32px}
.mb-4{margin-bottom:16px} .mb-6{margin-bottom:24px}
.gap-2{gap:8px} .gap-3{gap:12px}
.flex{display:flex} .items-center{align-items:center}
.justify-between{justify-content:space-between} .flex-wrap{flex-wrap:wrap}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}
@media(max-width:600px){.grid-2,.grid-3{grid-template-columns:1fr}}

/* Scrollbar */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(42,45,124,0.2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(42,45,124,0.35); }
