﻿/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --primary-bg: #eef2ff;
  --accent: #10b981;
  --accent-dark: #059669;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --bg: #f1f5f9;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ===== GLOBAL ===== */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.925rem;
  min-height: 100vh;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== ADMIN NAVBAR ===== */
.admin-nav {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  padding: 0;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(30, 27, 75, 0.3);
  position: sticky;
  top: 0;
  z-index: 1040;
}
.admin-nav .navbar-brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-nav .navbar-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), #34d399);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.admin-nav .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 14px 14px !important;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.admin-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  border-bottom-color: var(--primary-light);
}
.admin-nav .nav-link.active {
  color: #fff !important;
  border-bottom-color: #fff;
  background: rgba(255,255,255,0.05);
}
.admin-nav .nav-link .nav-icon {
  margin-right: 6px;
  font-size: 1rem;
}
.admin-nav .nav-whatsapp {
  color: #25d366 !important;
  font-weight: 600;
}
.admin-nav .nav-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12) !important;
  border-bottom-color: #25d366;
}
.admin-nav .nav-user {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  padding: 14px 16px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.admin-nav .btn-logout {
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.8rem;
  padding: 6px 14px;
  transition: all var(--transition);
}
.admin-nav .btn-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h4 {
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.page-header h4 .header-icon {
  margin-right: 8px;
}

/* ===== CARDS ===== */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  background: var(--surface);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-header {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 20px;
}
.card-body {
  padding: 20px;
}

/* ===== STAT CARDS ===== */
.stat-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  overflow: hidden;
  position: relative;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card.bg-primary-soft .stat-icon { background: #eef2ff; color: var(--primary); }
.stat-card.bg-success-soft .stat-icon { background: #ecfdf5; color: var(--accent); }
.stat-card.bg-warning-soft .stat-icon { background: #fffbeb; color: var(--warning); }
.stat-card.bg-info-soft .stat-icon { background: #eff6ff; color: var(--info); }
.stat-card.bg-danger-soft .stat-icon { background: #fef2f2; color: var(--danger); }

/* ===== FOLDER CARDS ===== */
.folder-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
}
.folder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  background: var(--primary-bg);
}
.folder-card .folder-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.folder-card .folder-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb-item a:hover {
  color: var(--primary-dark);
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  transition: all var(--transition);
  border: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  color: #fff;
}
.btn-success {
  background: var(--accent);
  color: #fff;
}
.btn-success:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  color: #fff;
}
.btn-warning {
  background: var(--warning);
  color: #fff;
}
.btn-warning:hover {
  background: #d97706;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  color: #fff;
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}
.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-secondary {
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: transparent;
}
.btn-outline-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--text-muted);
  color: var(--text);
}
.btn-outline-dark {
  border: 1.5px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--text);
  color: #fff;
}
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover {
  background: #0f172a;
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #128c7e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  color: #fff;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

/* ===== FORMS ===== */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: all var(--transition);
  background: var(--surface);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
}
.form-text {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== TABLES ===== */
.table {
  border-color: var(--border);
  font-size: 0.875rem;
}
.table thead th {
  background: var(--surface-alt);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--border);
  padding: 12px 14px;
  white-space: nowrap;
}
.table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
  border-color: var(--border);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: var(--surface-alt);
}
table.dataTable thead tr.filters input {
  width: 100%;
  font-size: 0.8rem;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition);
}
table.dataTable thead tr.filters input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}
.dataTables_wrapper .dataTables_filter input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  transition: border-color var(--transition);
}
.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--primary);
  outline: none;
}
.dataTables_wrapper .dataTables_length select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--primary-bg) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* ===== BADGES ===== */
.badge {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
}
.badge.bg-success {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0;
}
.badge.bg-danger {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca;
}
.badge.bg-warning {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a;
}
.badge.bg-info {
  background: #eff6ff !important;
  color: #1e40af !important;
  border: 1px solid #bfdbfe;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  font-size: 0.875rem;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-left: 4px solid var(--accent);
}
.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid var(--danger);
}
.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid var(--warning);
}
.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid var(--info);
}

/* ===== MODALS ===== */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.modal-header {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.modal-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

/* ===== FORM-CARD (login, settings, etc) ===== */
.form-card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}
.form-card .card-header {
  background: linear-gradient(135deg, #1e1b4b, #4338ca);
  color: #fff;
  text-align: center;
  padding: 24px;
}
.form-card .card-header h5 {
  margin: 0;
  font-weight: 700;
}
.form-card .card-body {
  padding: 28px;
}

/* ===== ADMIN LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}
.login-page::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  border-radius: 50%;
}
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}
.login-card .login-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
  padding: 32px 28px;
  text-align: center;
  color: #fff;
}
.login-card .login-header .login-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,0.2);
}
.login-card .login-header h4 {
  font-weight: 700;
  margin: 0 0 4px;
}
.login-card .login-header p {
  opacity: 0.7;
  margin: 0;
  font-size: 0.9rem;
}
.login-card .login-body {
  padding: 32px 28px;
}
.login-card .login-body .form-control {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.login-card .login-body .btn-dark {
  padding: 12px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e1b4b, #4338ca);
  border: none;
}
.login-card .login-body .btn-dark:hover {
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.4);
}
.login-card .login-footer {
  text-align: center;
  padding: 0 28px 24px;
}

/* ===== WHATSAPP PAGE ===== */
.whatsapp-header-card {
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  padding: 24px;
  margin-bottom: 24px;
}
.whatsapp-header-card h4 {
  font-weight: 700;
  margin: 0 0 4px;
}
.whatsapp-header-card p {
  opacity: 0.85;
  margin: 0;
  font-size: 0.9rem;
}
.whatsapp-mode-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface);
}
.whatsapp-mode-card:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}
.whatsapp-mode-card.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.whatsapp-mode-card .mode-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.whatsapp-mode-card .mode-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.whatsapp-mode-card .mode-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.whatsapp-result-card {
  border: none;
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* ===== PAGE ACTION BAR ===== */
.action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.4s ease;
}

/* ===== CONTAINER ===== */
.container-fluid {
  padding-top: 24px;
  padding-bottom: 40px;
}
.container {
  padding-top: 24px;
  padding-bottom: 40px;
}

/* ===== CHECKBOX ===== */
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ===== STUDENT AUTH PAGES ===== */
.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
  position: relative;
  overflow: hidden;
}
.auth-bg::before,
.auth-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.auth-bg::before {
  width: 320px;
  height: 320px;
  top: -100px;
  left: -100px;
}
.auth-bg::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: -80px;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(30, 20, 100, 0.35);
  animation: authFadeUp 0.5s ease;
}
@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(78, 84, 200, 0.4);
}
.auth-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  color: #2b2b45;
}
.auth-subtitle {
  text-align: center;
  color: #8a8aa3;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.auth-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #e4e4f0;
  border-radius: 12px;
  padding: 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafaff;
}
.auth-input-group:focus-within {
  border-color: #4e54c8;
  box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.15);
  background: #fff;
}
.auth-input-group span {
  color: #8f94fb;
  font-size: 1.2rem;
  margin-right: 8px;
}
.auth-input-group input {
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 0;
  width: 100%;
  font-size: 1rem;
}
.auth-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 13px;
  margin-top: 20px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  transition: transform 0.15s, box-shadow 0.15s;
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(78, 84, 200, 0.4);
  color: #fff;
}
.auth-footer-link {
  display: block;
  text-align: center;
  margin-top: 22px;
  color: #a0a0b8;
  font-size: 0.85rem;
  text-decoration: none;
}
.auth-footer-link:hover {
  color: #4e54c8;
}
.auth-otp-box {
  letter-spacing: 6px;
  font-size: 1.4rem;
  text-align: center;
  font-weight: 700;
}
.auth-id-photo {
  border-radius: 14px;
  border: 4px solid #f0f0fa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .admin-nav .navbar-brand {
    padding: 12px 16px;
  }
  .admin-nav .nav-link {
    padding: 10px 10px !important;
    font-size: 0.8rem;
  }
  .admin-nav .nav-user {
    display: none;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-card .stat-value {
    font-size: 1.3rem;
  }
}


/* ===== DASHBOARD HEADER ===== */
.dash-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #6366f1 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.3);
  position: relative;
  overflow: hidden;
}
.dash-header::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  border-radius: 50%;
}
.dash-header::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  bottom: -80px;
  left: 30%;
  border-radius: 50%;
}
.dash-header-left {
  position: relative;
  z-index: 1;
}
.dash-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 4px;
}
.dash-header .breadcrumb {
  margin-bottom: 0;
}
.dash-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.dash-header .breadcrumb-item a:hover {
  color: #fff;
}
.dash-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.5);
}
.dash-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.3);
}
.dash-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== QUICK ACTIONS BAR ===== */
.quick-actions-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.quick-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
}

/* ===== ACTIVITY FEED ===== */
.activity-list {
  padding: 0;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.activity-item:last-child {
  border-bottom: none;
}
.activity-item:hover {
  background: var(--surface-alt);
}
.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.activity-body {
  flex: 1;
  min-width: 0;
}
.activity-action {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.activity-time {
  font-size: 0.75rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== STAT CARD HOVER ===== */
.stat-card {
  cursor: default;
}
.stat-card .stat-value {
  transition: color 0.2s;
}
.stat-card:hover .stat-value {
  color: var(--primary) !important;
}

/* ===== RESPONSIVE DASHBOARD ===== */
@media (max-width: 992px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .dash-header-actions {
    width: 100%;
  }
  .quick-actions-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 576px) {
  .stat-card .stat-value {
    font-size: 1.2rem;
  }
  .dash-title {
    font-size: 1.2rem;
  }
}
