/* ============================================================
   admin.css — Xuntu Admin Panel
   Bootstrap 5.3 base; custom sidebar layout and component overrides
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --adm-sidebar-w: 260px;
  --adm-topbar-h: 60px;
  --adm-sidebar-bg: #0C1A30;        /* deep ink */
  --adm-sidebar-text: rgba(255,255,255,.78);
  --adm-sidebar-hover: rgba(255,255,255,.08);
  --adm-sidebar-active: rgba(27,58,107,.45);
  --adm-sidebar-active-border: #1B3A6B;
  --adm-topbar-bg: #ffffff;
  --adm-body-bg: #f0f2f5;
  --adm-card-bg: #ffffff;
  --adm-border: #e2e8f0;
  --adm-primary: #1B3A6B;
  --adm-gold: #B8740A;
  --adm-danger: #dc3545;
  --adm-text: #18202E;
  --adm-muted: #5A6478;
  --adm-radius: 10px;
  --adm-shadow: 0 1px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
  --adm-transition: .2s ease;
}

/* ── Keyframe Animations ───────────────────────────────────── */
@keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glowPulse { 0% { box-shadow: 0 0 5px var(--adm-primary); } 50% { box-shadow: 0 0 20px var(--adm-primary); } 100% { box-shadow: 0 0 5px var(--adm-primary); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes borderGlow { 0% { border-color: rgba(27,58,107,0.3); } 50% { border-color: rgba(27,58,107,0.8); } 100% { border-color: rgba(27,58,107,0.3); } }

::selection { background: var(--adm-primary); color: #fff; }

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: .9rem;
  color: var(--adm-text);
  background: var(--adm-body-bg);
  margin: 0;
}

/* ── Layout ────────────────────────────────────────────────── */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.admin-sidebar {
  width: var(--adm-sidebar-w);
  background: linear-gradient(180deg, #0C1A30 0%, #142644 50%, #0C1A30 100%);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform var(--adm-transition), width var(--adm-transition);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

.sidebar-brand {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1B3A6B, #2a5298);
  box-shadow: 0 4px 12px rgba(27,58,107,0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sidebar-brand-text { color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.sidebar-brand-sub  { color: rgba(255,255,255,.5); font-size: .7rem; }

/* Nav groups */
.sidebar-nav { flex: 1; padding: .75rem 0; }
.sidebar-nav-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  padding: 1rem 1.25rem .35rem;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.25rem;
  color: var(--adm-sidebar-text);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  margin-right: 12px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.sidebar-nav-item i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-nav-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  appearance: none;
}
.sidebar-nav-item:hover {
  background: linear-gradient(90deg, rgba(27,58,107,0.3), transparent);
  transform: translateX(4px);
  color: #fff;
}
.sidebar-nav-item.active {
  background: linear-gradient(90deg, rgba(27,58,107,0.5), rgba(27,58,107,0.15));
  border-left-color: var(--adm-gold);
  box-shadow: inset 3px 0 12px rgba(184,116,10,0.15);
  color: #fff;
}
.sidebar-nav-item .badge-count {
  margin-left: auto;
  background: linear-gradient(135deg, var(--adm-gold), #D4920D);
  box-shadow: 0 2px 8px rgba(184,116,10,0.3);
  color: #1a1a1a;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 6px;
}

/* Submenu */
.sidebar-submenu { display: none; }
.sidebar-submenu.show { display: block; }
.sidebar-submenu .sidebar-nav-item {
  padding-left: 3.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  background: transparent;
}
.sidebar-submenu .sidebar-nav-item:hover,
.sidebar-submenu .sidebar-nav-item.active { color: #fff; }
.sidebar-nav-toggle .chevron {
  margin-left: auto;
  font-size: .75rem;
  transition: transform var(--adm-transition);
}
.sidebar-nav-toggle.open .chevron { transform: rotate(180deg); }

/* Sidebar footer */
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--adm-sidebar-text);
  text-decoration: none;
}
.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--adm-primary), #2a5298);
  box-shadow: 0 2px 10px rgba(27,58,107,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content:center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.sidebar-user-name  { font-size: .82rem; font-weight: 600; color: #fff; }
.sidebar-user-role  { font-size: .7rem; color: rgba(255,255,255,.45); }

/* ── Admin body ─────────────────────────────────────────────── */
.admin-body {
  flex: 1;
  margin-left: var(--adm-sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--adm-transition);
}

/* ── Topbar ─────────────────────────────────────────────────── */
.admin-topbar {
  height: var(--adm-topbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 900;
  flex-shrink: 0;
}
.admin-topbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--adm-primary), var(--adm-gold), var(--adm-primary));
}
.topbar-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  color: var(--adm-text);
  font-size: 1.25rem;
}
.topbar-toggle:hover { background: var(--adm-body-bg); }
.topbar-breadcrumb { flex: 1; }
.topbar-breadcrumb .breadcrumb { margin: 0; font-size: .8rem; }
.topbar-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--adm-muted); }
.topbar-actions { display: flex; align-items: center; gap: .5rem; }
.topbar-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--adm-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--adm-text);
  position: relative;
  text-decoration: none;
  font-size: .95rem;
}
.topbar-btn:hover { 
  background: var(--adm-body-bg); 
  color: var(--adm-primary); 
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(27,58,107,0.15); 
}
.topbar-btn .notif-dot {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: var(--adm-danger);
  border-radius: 50%;
  border: 2px solid #fff;
}
.topbar-user {
  display: flex; align-items: center; gap: .6rem;
  cursor: pointer; border-radius: 8px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--adm-border);
  text-decoration: none; color: var(--adm-text);
}
.topbar-user:hover { 
  background: var(--adm-body-bg); 
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}
.topbar-user-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--adm-primary), #2a5298);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
}
.topbar-user-name  { font-size: .82rem; font-weight: 600; }
.topbar-user-role  { font-size: .68rem; color: var(--adm-muted); }

/* ── Main content ───────────────────────────────────────────── */
.admin-main {
  flex: 1;
  padding: 1.5rem;
  overflow-x: hidden;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.page-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--adm-text);
  margin: 0;
  line-height: 1.2;
}
.page-subtitle {
  font-size: .82rem;
  color: var(--adm-muted);
  margin: 0;
}

/* ── Cards ──────────────────────────────────────────────────── */
.adm-card {
  background: var(--adm-card-bg);
  border-radius: var(--adm-radius);
  box-shadow: var(--adm-shadow);
  border: 1px solid var(--adm-border);
  overflow: hidden;
  transition: all 0.3s ease;
}
.adm-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.adm-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--adm-border);
  background: linear-gradient(180deg, rgba(27,58,107,0.02), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.adm-card-title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  color: var(--adm-text);
  border-left: 3px solid var(--adm-primary);
  padding-left: 10px;
}
.adm-card-body { padding: 1.25rem; }

/* Stat cards */
.stat-card {
  background: var(--adm-card-bg);
  border-radius: var(--adm-radius);
  box-shadow: var(--adm-shadow);
  border: 1px solid var(--adm-border);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--adm-primary), var(--adm-gold));
  border-radius: 10px 10px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover .stat-card-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.stat-card-value { 
  font-size: 1.7rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--adm-text), var(--adm-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card-label { font-size: .78rem; color: var(--adm-muted); font-weight: 500; margin-top: 2px; }
.stat-card-change { font-size: .75rem; font-weight: 600; }

/* Colour helpers for stat icons */
.icon-green  { background: linear-gradient(135deg, rgba(27,58,107,0.08), rgba(27,58,107,0.15)); color: #1B3A6B; }
.icon-blue   { background: linear-gradient(135deg, rgba(13,110,253,0.08), rgba(13,110,253,0.15)); color: #0d6efd; }
.icon-gold   { background: linear-gradient(135deg, rgba(184,116,10,0.1), rgba(184,116,10,0.2)); color: #B8740A; }
.icon-red    { background: linear-gradient(135deg, rgba(220,53,69,0.08), rgba(220,53,69,0.15)); color: #dc3545; }
.icon-purple { background: linear-gradient(135deg, rgba(111,66,193,0.08), rgba(111,66,193,0.15)); color: #6f42c1; }
.icon-cyan   { background: linear-gradient(135deg, rgba(13,202,240,0.08), rgba(13,202,240,0.15)); color: #0dcaf0; }

/* ── Admin footer ────────────────────────────────────────────── */
.admin-footer {
  padding: .75rem 1.5rem;
  background: linear-gradient(180deg, var(--adm-card-bg), #f8f9fb);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--adm-primary), var(--adm-gold), var(--adm-primary)) 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: var(--adm-muted);
  flex-shrink: 0;
}

/* ── Data tables ─────────────────────────────────────────────── */
.adm-table { font-size: .84rem; }
.adm-table th {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--adm-muted);
  border-bottom: 2px solid var(--adm-border);
  white-space: nowrap;
  padding: .6rem .75rem;
  background: linear-gradient(180deg, #f8f9fb, #f0f2f5);
  position: sticky;
  top: 0;
}
.adm-table td {
  padding: .65rem .75rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--adm-border);
}
.adm-table tbody tr {
  transition: background 0.2s ease;
}
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover td { 
  background: rgba(27,58,107,0.04); 
  box-shadow: inset 3px 0 0 var(--adm-primary);
}

/* Row actions */
.row-actions { display: flex; gap: .3rem; }
.row-actions .btn { padding: 3px 8px; font-size: .75rem; }

/* Thumbnail in tables */
.tbl-thumb {
  width: 48px; height: 36px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--adm-border);
}
.tbl-thumb-placeholder {
  width: 48px; height: 36px;
  background: var(--adm-body-bg);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: var(--adm-muted);
  font-size: .8rem;
}

/* ── List Groups ─────────────────────────────────────────────── */
.list-group-item {
  transition: all 0.2s ease;
}
.list-group-item-action:hover {
  transform: translateX(3px);
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-section { margin-bottom: 1.75rem; }
.form-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--adm-muted);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--adm-border);
}
.form-label { font-size: .83rem; font-weight: 600; color: var(--adm-text); margin-bottom: .35rem; }
.form-control, .form-select {
  border-color: var(--adm-border);
  border-radius: 7px;
  font-size: .875rem;
  padding: .5rem .75rem;
  transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--adm-primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.12), 0 0 16px rgba(27,58,107,0.06);
}
.char-count { font-size: .72rem; color: var(--adm-muted); text-align: right; }

/* Image upload zones */
.upload-zone {
  border: 2px dashed var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--adm-body-bg);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--adm-primary);
  background: rgba(27,58,107,.03);
  transform: scale(1.01);
  box-shadow: 0 8px 24px rgba(27,58,107,0.08);
}
.upload-zone .upload-icon { font-size: 2rem; color: var(--adm-muted); margin-bottom: .5rem; }
.upload-zone .upload-hint { font-size: .78rem; color: var(--adm-muted); }
.image-preview { max-width: 200px; max-height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--adm-border); }

/* ── Badges / Statuses ───────────────────────────────────────── */
.status-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: capitalize;
  white-space: nowrap;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.status-draft          { background: #f8f9fa; color: #495057; border: 1px solid #dee2e6; }
.status-published      { background: #d1e7dd; color: #0a5830; }
.status-unpublished    { background: #fff3cd; color: #664d03; }
.status-archived       { background: #e2e3e5; color: #41464b; }
.status-under_review   { background: #cfe2ff; color: #0a367c; }
.status-returned       { background: #f8d7da; color: #842029; }
.status-approved       { background: #d1e7dd; color: #0a5830; }
.status-new            { background: #cfe2ff; color: #0a367c; }
.status-read           { background: #f8f9fa; color: #6c757d; }
.status-replied        { background: #d1e7dd; color: #0a5830; }
.status-received       { background: #cfe2ff; color: #0a367c; }
.status-in_progress    { background: #fff3cd; color: #664d03; }
.status-resolved       { background: #d1e7dd; color: #0a5830; }
.status-rejected       { background: #f8d7da; color: #842029; }
.status-completed      { background: #d1e7dd; color: #0a5830; }
.status-ongoing        { background: #cfe2ff; color: #0a367c; }
.status-proposed       { background: #f8f9fa; color: #6c757d; }
.status-maintenance    { background: #fff3cd; color: #664d03; }
.status-suspended      { background: #f8d7da; color: #842029; }

/* Verification badges */
.vbadge { font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 20px; }
.vbadge-unverified           { background: #f8f9fa; color: #6c757d; }
.vbadge-under_verification   { background: #fff3cd; color: #664d03; }
.vbadge-verified_internally  { background: #cfe2ff; color: #0a367c; }
.vbadge-verified_with_docs   { background: #d1e7dd; color: #0a5830; }
.vbadge-independently_confirmed { background: #0a5830; color: #fff; }
.vbadge-disputed             { background: #f8d7da; color: #842029; }
.vbadge-withdrawn            { background: #e2e3e5; color: #41464b; }

/* ── Sidebar overlay on mobile ──────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1039;
}
.sidebar-overlay.show { display: block; }

/* ── Quick action bar ────────────────────────────────────────── */
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.quick-filters .form-control,
.quick-filters .form-select {
  max-width: 200px;
  font-size: .82rem;
  padding: .35rem .65rem;
}

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--adm-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h3 { font-size: 1rem; color: var(--adm-muted); }

/* ── Confirmation modal ─────────────────────────────────────── */
#confirm-modal .modal-header { border-bottom: 0; }
#confirm-modal .modal-footer { border-top: 0; }

/* ── Login page ─────────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(-45deg, #0C1A30, #1B3A6B, #0D2347, #142644);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}
.login-logo {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--adm-primary), #2a5298);
  box-shadow: 0 8px 24px rgba(27,58,107,0.3);
  animation: glowPulse 3s ease-in-out infinite;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.login-title   { font-size: 1.3rem; font-weight: 800; text-align: center; color: var(--adm-text); }
.login-subtitle{ font-size: .82rem; color: var(--adm-muted); text-align: center; margin-bottom: 1.75rem; }

/* ── Progress bar ────────────────────────────────────────────── */
.completion-bar {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}
.completion-bar-fill {
  height: 100%;
  background: var(--adm-primary);
  border-radius: 3px;
  transition: width .4s ease;
}

/* ── Sortable rows ───────────────────────────────────────────── */
.sortable-row { cursor: grab; }
.sortable-row:active { cursor: grabbing; }
.drag-handle { color: var(--adm-muted); cursor: grab; }

/* ── Notification panel ─────────────────────────────────────── */
.notif-panel { width: 320px; max-height: 400px; overflow-y: auto; }
.notif-item {
  display: flex; gap: .75rem; padding: .75rem 1rem;
  border-bottom: 1px solid var(--adm-border);
  text-decoration: none; color: var(--adm-text);
  transition: all 0.2s ease;
}
.notif-item:hover { 
  transform: translateX(3px); 
  background: linear-gradient(90deg, rgba(27,58,107,0.04), transparent); 
}
.notif-item.unread { 
  background: linear-gradient(90deg, rgba(27,58,107,0.06), rgba(27,58,107,0.02)); 
  border-left: 3px solid var(--adm-primary); 
}
.notif-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.notif-title { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.notif-time  { font-size: .7rem; color: var(--adm-muted); }

/* ── Scrollbar Styling ──────────────────────────────────────── */
.admin-main::-webkit-scrollbar { width: 6px; }
.admin-main::-webkit-scrollbar-track { background: transparent; }
.admin-main::-webkit-scrollbar-thumb { background: rgba(27,58,107,0.2); border-radius: 3px; }
.admin-main::-webkit-scrollbar-thumb:hover { background: rgba(27,58,107,0.35); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); box-shadow: 8px 0 32px rgba(0,0,0,0.3); }
  .admin-body { margin-left: 0; }
  .topbar-toggle { display: flex; }
  .admin-main { padding: 1rem; }
  .page-header { margin-bottom: 1rem; }
  .stat-card { padding: 1rem; }
  .stat-card-value { font-size: 1.4rem; }
}
@media (max-width: 575.98px) {
  .login-card { padding: 1.75rem 1.25rem; }
  .admin-main { padding: .75rem; }
  .adm-card-body { padding: 1rem; }
  .adm-card-header { padding: .75rem 1rem; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.btn { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27,58,107,0.25); }
.btn-sm:hover { transform: translateY(-1px); }

.text-green  { color: var(--adm-primary) !important; }
.text-gold   { color: var(--adm-gold) !important; }
.bg-adm      { background: var(--adm-body-bg); }
.fw-700 { font-weight: 700; }
.cursor-pointer { cursor: pointer; }
.hover-shadow { transition: box-shadow var(--adm-transition); }
.hover-shadow:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.btn-xs { padding: .15rem .4rem; font-size: .75rem; line-height: 1.4; }
