/* =========================================================
   Japati Office - Corporate Flat Theme
   Primary: #f26223  |  Dark: #111827
   ========================================================= */

:root {
  --primary:        #f26223;
  --primary-dark:   #d4521a;
  --primary-light:  #fef0e7;
  --dark:           #111827;
  --dark-soft:      #1f2937;
  --gray-900:       #111827;
  --gray-800:       #1f2937;
  --gray-700:       #374151;
  --gray-600:       #4b5563;
  --gray-500:       #6b7280;
  --gray-400:       #9ca3af;
  --gray-300:       #d1d5db;
  --gray-200:       #e5e7eb;
  --gray-100:       #f3f4f6;
  --gray-50:        #f9fafb;
  --white:          #ffffff;
  --danger:         #ef4444;
  --danger-light:   #fef2f2;
  --success:        #10b981;
  --success-light:  #ecfdf5;
  --warning:        #f59e0b;
  --warning-light:  #fffbeb;
  --info:           #3b82f6;
  --info-light:     #eff6ff;
  --sidebar-width:  260px;
  --sidebar-collapsed: 68px;
  --topbar-height:  60px;
  --radius:         8px;
  --radius-sm:      4px;
  --radius-lg:      12px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow:         0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:      0 8px 24px rgba(0,0,0,.12);
  --transition:     all .2s ease;
  --font-sans:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.app-body { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width .25s ease, transform .25s ease;
  overflow: hidden;
}

.sidebar.collapsed { width: var(--sidebar-collapsed); }
.sidebar.collapsed .sidebar-title,
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .user-mini-info { display: none; }
.sidebar.collapsed .sidebar-logo,
.sidebar.collapsed .sidebar-logo-text { display: none; }
.sidebar.collapsed .sidebar-brand { justify-content: center; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 0; height: 48px; }
.sidebar.collapsed .sidebar-footer { justify-content: center; }
.sidebar.collapsed .user-mini { display: none; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: var(--topbar-height);
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}

.sidebar-logo { width: 32px; height: 32px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }

.sidebar-logo-text {
  width: 32px; height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}

.sidebar-title {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-toggle-btn {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); padding: 4px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover { color: var(--white); background: rgba(255,255,255,.08); }

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.nav-section { margin-bottom: 4px; }

.nav-section-label {
  display: block;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 10px 20px 4px;
  white-space: nowrap;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 42px;
  color: var(--gray-400);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}
.nav-item:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-item.active {
  color: var(--white);
  background: rgba(242,98,35,.15);
  border-right: 3px solid var(--primary);
}
.nav-item.active .nav-icon { color: var(--primary); }

.nav-icon { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  gap: 8px;
  flex-shrink: 0;
}

.user-mini { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-mini-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}
.user-mini-info { min-width: 0; }
.user-mini-name { display: block; color: var(--white); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-mini-role { display: block; color: var(--gray-500); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.logout-btn {
  color: var(--gray-400); padding: 6px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.logout-btn:hover { color: var(--danger); background: rgba(239,68,68,.1); }

/* ---- MAIN WRAPPER ---- */
.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: margin-left .25s ease;
}
.sidebar.collapsed ~ .sidebar-overlay ~ .main-wrapper,
body.sidebar-collapsed .main-wrapper { margin-left: var(--sidebar-collapsed); }

/* ---- TOPBAR ---- */
.topbar {
  height: var(--topbar-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }

.topbar-menu-btn {
  background: none; border: none; cursor: pointer;
  color: var(--gray-600); padding: 4px;
  display: none; align-items: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.topbar-menu-btn:hover { color: var(--dark); background: var(--gray-100); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-800); font-weight: 500; }
.breadcrumb-sep { color: var(--gray-300); }

.topbar-right { display: flex; align-items: center; gap: 12px; }

.topbar-user {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 6px 10px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  user-select: none;
}
.topbar-user:hover { background: var(--gray-100); }

.topbar-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gray-200); }
.topbar-username { font-size: 13px; font-weight: 500; color: var(--gray-700); }

.topbar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px); right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  z-index: 200;
  padding: 6px 0;
}
.topbar-dropdown.open { display: block; }

.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  color: var(--gray-700);
  font-size: 13px;
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.dropdown-item.text-danger:hover { color: var(--danger); background: var(--danger-light); }

.dropdown-divider { height: 1px; background: var(--gray-200); margin: 4px 0; }

/* ---- PAGE CONTENT ---- */
.page-content { flex: 1; padding: 24px; }

/* ---- ALERTS ---- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 13.5px;
  position: relative;
}
.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger   { background: var(--danger-light);  color: #991b1b; border: 1px solid #fecaca; }
.alert-warning  { background: var(--warning-light); color: #92400e; border: 1px solid #fde68a; }
.alert-info     { background: var(--info-light);    color: #1e40af; border: 1px solid #bfdbfe; }
.alert-close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 18px; line-height: 1; opacity: .6;
  transition: var(--transition);
}
.alert-close:hover { opacity: 1; }
.alert ul { margin: 4px 0 0 16px; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.card-title { font-size: 15px; font-weight: 600; color: var(--gray-900); }
.card-body { padding: 20px; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ---- STAT CARDS ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon.primary { background: var(--primary-light); color: var(--primary); }
.stat-icon.success { background: var(--success-light); color: var(--success); }
.stat-icon.info    { background: var(--info-light);    color: var(--info); }
.stat-icon.warning { background: var(--warning-light); color: var(--warning); }
.stat-value { font-size: 24px; font-weight: 700; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap; text-decoration: none;
  line-height: 1.4;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary   { background: var(--primary);  color: var(--white);  border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border-color: var(--gray-300); }
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-800); }
.btn-danger    { background: var(--danger);   color: var(--white);  border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; color: var(--white); }
.btn-success   { background: var(--success);  color: var(--white);  border-color: var(--success); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-icon { padding: 7px; width: 34px; height: 34px; justify-content: center; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-control, .form-select {
  display: block; width: 100%;
  padding: 9px 12px;
  font-size: 13.5px; color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  appearance: none;
  font-family: inherit;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242,98,35,.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-hint { color: var(--gray-500); font-size: 12px; margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ---- TABLE ---- */
.table-responsive { overflow-x: auto; }
.table {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px;
}
.table th {
  background: var(--gray-50); color: var(--gray-600);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 10px 16px; text-align: left;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.table td {
  padding: 12px 16px; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---- BADGES ---- */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: var(--success-light); color: #065f46; }
.badge-danger  { background: var(--danger-light);  color: #991b1b; }
.badge-warning { background: var(--warning-light); color: #92400e; }
.badge-gray    { background: var(--gray-100);      color: var(--gray-600); }

/* ---- AVATAR ---- */
.avatar { border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 80px; height: 80px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-sm { width: 32px; height: 32px; }

/* ---- PAGE HEADER ---- */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-header-left {}
.page-title { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.page-subtitle { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ---- GRID ---- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- SECTION TABS ---- */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); gap: 0; margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px; font-size: 13.5px; font-weight: 500;
  color: var(--gray-500); background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---- PROFILE ---- */
.profile-header {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.profile-avatar-wrapper { position: relative; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.profile-info { flex: 1; }
.profile-name { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.profile-role { color: var(--gray-500); font-size: 13px; margin-top: 2px; }
.profile-meta { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.profile-meta-item { display: flex; align-items: center; gap: 6px; color: var(--gray-600); font-size: 13px; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; padding: 16px;
  animation: fadeIn .15s ease;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 440px;
  animation: slideUp .2s ease;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--gray-200);
}
.modal-title { font-size: 15px; font-weight: 600; }
.modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--gray-400); line-height: 1;
  transition: var(--transition); padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.modal-close:hover { color: var(--gray-700); background: var(--gray-100); }
.modal-body { padding: 20px; font-size: 13.5px; color: var(--gray-700); }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 20px; border-top: 1px solid var(--gray-200);
}

/* ---- PERMISSIONS TABLE ---- */
.perm-table th, .perm-table td { text-align: center; }
.perm-table td:first-child { text-align: left; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.page-btn {
  min-width: 34px; height: 34px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--gray-600); background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-btn:disabled { opacity: .4; cursor: default; }

/* ---- LOGIN PAGE ---- */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 420px;
  overflow: hidden;
}
.auth-header {
  background: var(--primary);
  padding: 32px;
  text-align: center;
}
.auth-logo-img {
  height: 56px; max-width: 160px; width: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.auth-logo {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px; font-weight: 800; color: var(--white);
}
.auth-title { color: var(--white); font-size: 20px; font-weight: 700; }
.auth-subtitle { color: rgba(255,255,255,.75); font-size: 13px; margin-top: 4px; }
.auth-body { padding: 32px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }

/* ---- SIDEBAR OVERLAY ---- */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 999;
}

/* ---- UTILS ---- */
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 12px; }
.font-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }
.search-box { position: relative; }
.search-box .form-control { padding-left: 36px; }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar-overlay.active { display: block; }
  .main-wrapper { margin-left: 0 !important; }
  .topbar-menu-btn { display: flex; }
  .topbar-username { display: none; }
  .page-content { padding: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header { flex-direction: column; align-items: flex-start; }
  .profile-header { flex-direction: column; text-align: center; }
  .profile-meta { justify-content: center; }
  .modal-box { margin: 16px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .auth-body { padding: 20px; }
  .auth-header { padding: 24px; }
}
