/* ============================================================
   sadp_iut - Styles principaux
   IUT FOTSO VICTOR de Bandjoun
   ============================================================ */

/* ---- Variables CSS ---- */
:root {
  --primary:       #1565C0;
  --primary-light: #42A5F5;
  --primary-dark:  #0D47A1;
  --secondary:     #FF7043;
  --secondary-light:#FFAB91;
  --white:         #FFFFFF;
  --bg-light:      #F0F4FF;
  --bg-sidebar:    #0D1B3E;
  --sidebar-hover: #1A2F5A;
  --sidebar-active:#1565C0;
  --text-dark:     #1A1A2E;
  --text-muted:    #6B7280;
  --border:        #E2E8F0;
  --success:       #2E7D32;
  --success-bg:    #E8F5E9;
  --warning:       #E65100;
  --warning-bg:    #FFF3E0;
  --danger:        #C62828;
  --danger-bg:     #FFEBEE;
  --info:          #0277BD;
  --info-bg:       #E1F5FE;
  --shadow:        0 2px 12px rgba(21,101,192,0.10);
  --shadow-lg:     0 8px 32px rgba(21,101,192,0.16);
  --radius:        12px;
  --radius-sm:     8px;
  --sidebar-w:     260px;
  --navbar-h:      64px;
  --transition:    0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ---- Layout Dashboard ---- */
.sadp_iut-layout { display: flex; min-height: 100vh; }

/* ---- Sidebar ---- */
.sadp_iut-sidebar {
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 1000;
  transition: transform var(--transition), width var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}
.sadp_iut-sidebar::-webkit-scrollbar { width: 4px; }
.sadp_iut-sidebar::-webkit-scrollbar-thumb { background: var(--sidebar-hover); border-radius: 4px; }

.sidebar-brand {
  padding: 20px 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.sidebar-brand .brand-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: white; flex-shrink: 0;
}
.sidebar-brand .brand-text { display: flex; flex-direction: column; }
.sidebar-brand .brand-name { font-size: 15px; font-weight: 700; color: white; line-height: 1.2; }
.sidebar-brand .brand-sub  { font-size: 11px; color: #94A3B8; line-height: 1.2; }

.sidebar-section { padding: 18px 0 4px; }
.sidebar-section-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: #64748B;
  padding: 0 18px 8px;
}
.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  color: #94A3B8;
  font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}
.sidebar-nav li a i { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-nav li a:hover {
  background: var(--sidebar-hover);
  color: white;
  border-left-color: var(--primary-light);
}
.sidebar-nav li a.active {
  background: var(--sidebar-active);
  color: white;
  border-left-color: var(--secondary);
  font-weight: 600;
}
.sidebar-nav li a .badge-nav {
  margin-left: auto;
  background: var(--secondary);
  color: white;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--radius-sm);
  background: var(--sidebar-hover); cursor: pointer;
  transition: background var(--transition);
}
.sidebar-user:hover { background: rgba(255,255,255,0.1); }
.sidebar-user .user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white; flex-shrink: 0;
}
.sidebar-user .user-info { flex: 1; overflow: hidden; }
.sidebar-user .user-name { font-size: 13px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-role { font-size: 11px; color: #64748B; }

/* ---- Main Content ---- */
.sadp_iut-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition);
}

/* ---- Navbar ---- */
.sadp_iut-navbar {
  height: var(--navbar-h);
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.navbar-toggle {
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--text-muted);
  padding: 6px; border-radius: 6px;
  display: none;
  transition: color var(--transition);
}
.navbar-toggle:hover { color: var(--primary); }
.navbar-breadcrumb { flex: 1; }
.navbar-breadcrumb h1 { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.navbar-breadcrumb .breadcrumb-text { font-size: 13px; color: var(--text-muted); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-muted);
  transition: all var(--transition);
}
.navbar-btn:hover { background: var(--bg-light); color: var(--primary); }
.navbar-btn .notif-badge {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--danger); color: white;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.navbar-user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 24px;
  background: var(--bg-light); cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar-user:hover { border-color: var(--primary-light); background: white; }
.navbar-user .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
}
.navbar-user span { font-size: 13px; font-weight: 600; color: var(--text-dark); }

/* ---- Page Content ---- */
.sadp_iut-content {
  flex: 1; padding: 28px 28px;
}

/* ---- Stat Cards ---- */
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.stat-card.primary::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.stat-card.success::before { background: linear-gradient(90deg, var(--success), #66BB6A); }
.stat-card.warning::before { background: linear-gradient(90deg, var(--warning), #FFA726); }
.stat-card.danger::before  { background: linear-gradient(90deg, var(--danger), #EF5350); }
.stat-card.info::before    { background: linear-gradient(90deg, var(--info), #29B6F6); }
.stat-card.secondary::before { background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); }

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.stat-card.primary .stat-icon { background: #E3F2FD; color: var(--primary); }
.stat-card.success .stat-icon { background: var(--success-bg); color: var(--success); }
.stat-card.warning .stat-icon { background: var(--warning-bg); color: var(--warning); }
.stat-card.danger  .stat-icon { background: var(--danger-bg);  color: var(--danger); }
.stat-card.info    .stat-icon { background: var(--info-bg);    color: var(--info); }
.stat-card.secondary .stat-icon { background: #FBE9E7; color: var(--secondary); }

.stat-card .stat-value {
  font-size: 32px; font-weight: 800; color: var(--text-dark);
  line-height: 1; margin-bottom: 4px;
}
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-card .stat-trend {
  font-size: 12px; margin-top: 8px; font-weight: 600;
}
.stat-card .stat-trend.up   { color: var(--success); }
.stat-card .stat-trend.down { color: var(--danger); }

/* ---- Cards ---- */
.sadp_iut-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sadp_iut-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.sadp_iut-card-header h3 {
  font-size: 16px; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
}
.sadp_iut-card-header h3 i { color: var(--primary); }
.sadp_iut-card-body { padding: 22px; }

/* ---- Badges similitude ---- */
.badge-similitude {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.badge-vert    { background: var(--success-bg); color: var(--success); }
.badge-orange  { background: var(--warning-bg); color: var(--warning); }
.badge-rouge   { background: var(--danger-bg);  color: var(--danger); }
.badge-pending { background: #E3F2FD; color: var(--info); }

.taux-bar {
  height: 8px; border-radius: 4px;
  background: var(--border); overflow: hidden; margin-top: 6px;
}
.taux-bar-fill { height: 100%; border-radius: 4px; transition: width 0.8s ease; }
.taux-bar-fill.vert   { background: linear-gradient(90deg, #4CAF50, #81C784); }
.taux-bar-fill.orange { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.taux-bar-fill.rouge  { background: linear-gradient(90deg, #F44336, #EF9A9A); }

/* ---- Table ---- */
.sadp_iut-table { width: 100%; border-collapse: collapse; }
.sadp_iut-table thead th {
  background: var(--bg-light);
  padding: 12px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.sadp_iut-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.sadp_iut-table tbody tr:hover { background: #F8FAFF; }
.sadp_iut-table tbody td {
  padding: 13px 16px;
  font-size: 14px; color: var(--text-dark);
  vertical-align: middle;
}
.sadp_iut-table tbody tr:last-child { border-bottom: none; }

/* ---- Buttons ---- */
.btn-sadp_iut {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-sadp_iut i { font-size: 16px; }
.btn-primary-sadp_iut { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary-sadp_iut:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }
.btn-secondary-sadp_iut { background: var(--secondary); color: white; border-color: var(--secondary); }
.btn-secondary-sadp_iut:hover { background: #E64A19; border-color: #E64A19; color: white; }
.btn-outline-sadp_iut { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-sadp_iut:hover { background: var(--primary); color: white; }
.btn-success-sadp_iut { background: var(--success); color: white; border-color: var(--success); }
.btn-danger-sadp_iut  { background: var(--danger);  color: white; border-color: var(--danger); }
.btn-sm-sadp_iut { padding: 5px 12px; font-size: 13px; }

/* ---- Forms ---- */
.form-sadp_iut .form-label {
  font-size: 13px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 6px; display: block;
}
.form-sadp_iut .form-control, .form-sadp_iut .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-dark);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-sadp_iut .form-control:focus, .form-sadp_iut .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.form-sadp_iut .form-control.is-invalid { border-color: var(--danger); }
.form-sadp_iut .invalid-feedback { font-size: 12px; color: var(--danger); margin-top: 4px; }

/* ---- Upload Zone ---- */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-light);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary-light);
  background: #E3F2FD;
}
.upload-zone i { font-size: 40px; color: var(--primary-light); margin-bottom: 12px; display: block; }
.upload-zone p { color: var(--text-muted); font-size: 14px; }
.upload-zone strong { color: var(--primary); }

.progress-sadp_iut {
  height: 10px; border-radius: 5px;
  background: var(--border); overflow: hidden;
}
.progress-sadp_iut .progress-bar-sadp_iut {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.4s ease;
}

/* ---- Search bar ---- */
.search-bar {
  display: flex; align-items: center;
  background: white; border: 1.5px solid var(--border);
  border-radius: 24px; padding: 0 16px;
  gap: 8px; transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--primary-light); }
.search-bar i { color: var(--text-muted); font-size: 16px; }
.search-bar input {
  border: none; outline: none; background: transparent;
  padding: 9px 0; font-size: 14px; flex: 1; color: var(--text-dark);
}

/* ---- Toast notifications ---- */
.toast-container-sadp_iut {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast-sadp_iut {
  background: white; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  min-width: 320px; max-width: 420px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--primary);
}
.toast-sadp_iut.succes  { border-left-color: var(--success); }
.toast-sadp_iut.erreur  { border-left-color: var(--danger); }
.toast-sadp_iut.avertissement { border-left-color: var(--warning); }
.toast-sadp_iut.info    { border-left-color: var(--info); }
.toast-sadp_iut i { font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.toast-sadp_iut.succes i { color: var(--success); }
.toast-sadp_iut.erreur  i { color: var(--danger); }
.toast-sadp_iut.avertissement i { color: var(--warning); }
.toast-sadp_iut.info    i { color: var(--info); }
.toast-sadp_iut .toast-body { flex: 1; }
.toast-sadp_iut .toast-title { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.toast-sadp_iut .toast-msg { font-size: 13px; color: var(--text-muted); }
.toast-sadp_iut .toast-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; padding: 0; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}
.toast-sadp_iut.removing { animation: slideOut 0.3s ease forwards; }

/* ---- Pagination ---- */
.pagination-sadp_iut {
  display: flex; align-items: center; gap: 6px;
  justify-content: center; margin-top: 20px;
}
.pagination-sadp_iut .page-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border); background: white;
  color: var(--text-dark); transition: all var(--transition);
}
.pagination-sadp_iut .page-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-sadp_iut .page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.pagination-sadp_iut .page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Modal ---- */
.modal-sadp_iut {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(13,23,62,0.55);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
  padding: 16px;
}
.modal-sadp_iut-box {
  background: white; border-radius: var(--radius);
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.25s ease;
}
.modal-sadp_iut-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-sadp_iut-header h4 { font-size: 17px; font-weight: 700; color: var(--text-dark); }
.modal-close { background: none; border: none; font-size: 22px; color: var(--text-muted); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--danger); }
.modal-sadp_iut-body { padding: 22px; }
.modal-sadp_iut-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- Empty state ---- */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 56px; color: #CBD5E1; margin-bottom: 16px; display: block; }
.empty-state h4 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ---- Loading spinner ---- */
.spinner-sadp_iut {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Role badge ---- */
.role-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.role-etudiant   { background: #E3F2FD; color: var(--primary); }
.role-enseignant { background: #E8F5E9; color: var(--success); }
.role-jure       { background: #FFF3E0; color: var(--warning); }
.role-admin      { background: #FCE4EC; color: #AD1457; }

/* ---- Status badge ---- */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-actif     { background: var(--success-bg); color: var(--success); }
.status-actif::before { background: var(--success); }
.status-en_attente { background: #FFF3E0; color: var(--warning); }
.status-en_attente::before { background: var(--warning); }
.status-suspendu  { background: #F5F5F5; color: #757575; }
.status-suspendu::before { background: #BDBDBD; }
.status-approuve  { background: var(--success-bg); color: var(--success); }
.status-approuve::before { background: var(--success); }
.status-rejete    { background: var(--danger-bg);  color: var(--danger); }
.status-rejete::before { background: var(--danger); }
.status-analyse   { background: var(--info-bg); color: var(--info); }
.status-analyse::before { background: var(--info); }

/* ---- Charts placeholder ---- */
.chart-container { position: relative; width: 100%; }
canvas { max-width: 100%; }

/* ---- Page de connexion ---- */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1976D2 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  position: relative; overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-card {
  background: white; border-radius: 20px;
  width: 100%; max-width: 460px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
}
.auth-logo .logo-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; color: white; margin-bottom: 12px;
}
.auth-logo h2 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.auth-logo p { font-size: 13px; color: var(--text-muted); }

/* ---- Accueil ---- */
.home-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1976D2 100%);
  position: relative; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(13,23,62,0.4);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: 100vh; padding: 80px 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .sadp_iut-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }
  .sadp_iut-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }
  .sadp_iut-main { margin-left: 0 !important; }
  .navbar-toggle { display: flex; }
  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .sidebar-overlay.show { display: block; }
  .sadp_iut-content { padding: 18px; }
}

@media (max-width: 576px) {
  .stat-card .stat-value { font-size: 26px; }
  .sadp_iut-card-header { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 28px 22px; }
  .modal-sadp_iut-box { max-width: 100%; }
}
