/* ============================================
   AL MABAR ADMIN PANEL - MAIN STYLESHEET
   Font: Nunito Sans | Min size: 15px
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --primary:       #1B2A4A;
  --primary-light: #243556;
  --accent:        #E8961A;
  --accent-hover:  #d4880f;
  --sidebar-width: 260px;
  --sidebar-bg:    #1B2A4A;
  --sidebar-text:  #b8c5d9;
  --sidebar-hover: rgba(232,150,26,0.12);
  --sidebar-active:#E8961A;
  --topbar-bg:     #ffffff;
  --body-bg:       #f0f3f8;
  --card-bg:       #ffffff;
  --text-main:     #1B2A4A;
  --text-muted:    #6b7a99;
  --border:        #e2e8f0;
  --success:       #22c55e;
  --danger:        #ef4444;
  --warning:       #f59e0b;
  --info:          #3b82f6;
  --radius:        10px;
  --shadow:        0 2px 12px rgba(27,42,74,0.08);
  --shadow-md:     0 4px 24px rgba(27,42,74,0.13);
  --transition:    0.22s ease;
  --font:          'Nunito Sans', sans-serif;
  --font-size-base:15px;
}

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

html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  background: var(--body-bg);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
}

/* ─── LOGIN PAGE ─── */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1B2A4A 0%, #243556 55%, #1a3a5c 100%);
  padding: 20px;
}

.login-card {
  background: #fff;
  border-radius: 18px;
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo img {
  height: 72px;
  object-fit: contain;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: block;
}

.form-control {
  font-family: var(--font);
  font-size: var(--font-size-base);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--text-main);
  background: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,150,26,0.15);
  background: #fff;
}

.input-group-text {
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-right: none;
  color: var(--text-muted);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 11px 13px;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.input-group {
  display: flex;
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 8px;
}

.btn-login:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.remember-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

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

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform var(--transition);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sidebar-brand {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.sidebar-brand img {
  height: 44px;
  object-fit: contain;
  filter: brightness(1.1);
}

.sidebar-brand-text {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.sidebar-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(184,197,217,0.5);
  padding: 20px 20px 6px;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.sidebar-nav a i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-nav a:hover {
  background: var(--sidebar-hover);
  color: #fff;
  border-left-color: rgba(232,150,26,0.5);
}

.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(232,150,26,0.18) 0%, transparent 100%);
  color: var(--sidebar-active);
  border-left-color: var(--sidebar-active);
}

.sidebar-nav a .badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 20px;
}

/* collapsible sub-menu */
.sidebar-nav .collapse-menu {
  background: rgba(0,0,0,0.15);
}

.sidebar-nav .collapse-menu a {
  padding-left: 52px;
  font-size: 0.88rem;
  font-weight: 600;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.88rem; font-weight: 700; color: #fff; }
.sidebar-user-role { font-size: 0.75rem; color: var(--sidebar-text); }

/* ─── MAIN CONTENT ─── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition);
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--topbar-bg);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1030;
  gap: 16px;
}

.topbar-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background var(--transition);
  display: none;
}

.topbar-toggle:hover { background: var(--body-bg); }

.topbar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  flex: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--body-bg);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition);
}

.topbar-btn:hover { background: var(--border); color: var(--primary); }

.topbar-notif-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid #fff;
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item.active { color: var(--accent); font-weight: 600; }

/* ─── STAT CARDS ─── */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card.accent  { border-left-color: var(--accent); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.info    { border-left-color: var(--info); }
.stat-card.warning { border-left-color: var(--warning); }
.stat-card.danger  { border-left-color: var(--danger); }

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.accent  { background: rgba(232,150,26,0.12); color: var(--accent); }
.stat-icon.success { background: rgba(34,197,94,0.12);  color: var(--success); }
.stat-icon.info    { background: rgba(59,130,246,0.12); color: var(--info); }
.stat-icon.warning { background: rgba(245,158,11,0.12); color: var(--warning); }
.stat-icon.danger  { background: rgba(239,68,68,0.12);  color: var(--danger); }

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-change {
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
}

.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ─── CARDS ─── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
}

.card-header {
  background: none;
  border-bottom: 1px solid var(--border);
  padding: 18px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.card-body { padding: 22px; }

/* ─── TABLES ─── */
.table {
  font-size: var(--font-size-base);
  color: var(--text-main);
  margin: 0;
}

.table th {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  background: #f8fafc;
}

.table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.table tbody tr:last-child td { border-bottom: none; }

.table-hover tbody tr:hover { background: #f8fafc; }

/* ─── BADGES ─── */
.badge {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-success { background: rgba(34,197,94,0.12);  color: #16a34a; }
.badge-danger  { background: rgba(239,68,68,0.12);  color: #dc2626; }
.badge-warning { background: rgba(245,158,11,0.12); color: #d97706; }
.badge-info    { background: rgba(59,130,246,0.12); color: #2563eb; }
.badge-primary { background: rgba(27,42,74,0.1);    color: var(--primary); }
.badge-accent  { background: rgba(232,150,26,0.12); color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover   { background: var(--primary-light); color: #fff; }

.btn-accent    { background: var(--accent); color: #fff; }
.btn-accent:hover    { background: var(--accent-hover); color: #fff; }

.btn-success   { background: var(--success); color: #fff; }
.btn-success:hover   { opacity: 0.88; color: #fff; }

.btn-danger    { background: var(--danger); color: #fff; }
.btn-danger:hover    { opacity: 0.88; color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { font-size: 0.82rem; padding: 6px 12px; }
.btn-icon { padding: 8px 10px; }

/* ─── FORMS ─── */
.form-group { margin-bottom: 18px; }

.form-select {
  font-family: var(--font);
  font-size: var(--font-size-base);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-main);
  background: #f8fafc;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a99' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,150,26,0.15);
}

textarea.form-control { resize: vertical; min-height: 100px; }

.form-text { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* ─── PERMISSION GRID ─── */
.permission-grid {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.permission-grid .perm-header {
  background: #f8fafc;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.permission-grid .perm-header:first-child { text-align: left; }

.permission-grid .perm-module {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafbfc;
}

.permission-grid .perm-cell {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.permission-grid .perm-row:last-child .perm-module,
.permission-grid .perm-row:last-child .perm-cell {
  border-bottom: none;
}

.form-check-input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
  border-radius: 4px;
}

/* ─── AVATAR ─── */
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}

/* ─── MODAL ─── */
.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.modal-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-body { padding: 24px; }
.modal-footer { border-top: 1px solid var(--border); padding: 16px 24px; }

/* ─── SEARCH BAR ─── */
.search-box {
  position: relative;
  max-width: 280px;
}

.search-box input {
  padding-left: 38px;
  font-size: 0.88rem;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ─── ACTIVITY FEED ─── */
.activity-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.activity-text { font-size: 0.88rem; color: var(--text-main); }
.activity-text strong { font-weight: 700; }
.activity-time { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ─── CHART PLACEHOLDER ─── */
.chart-area {
  height: 220px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 4px;
}

.chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(232,150,26,0.4) 100%);
  transition: opacity var(--transition);
  position: relative;
}

.chart-bar:hover { opacity: 0.8; }

.chart-bar.alt {
  background: linear-gradient(180deg, var(--info) 0%, rgba(59,130,246,0.4) 100%);
}

.chart-labels {
  display: flex;
  gap: 10px;
  padding: 8px 4px 0;
}

.chart-label {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .topbar-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  .page-content { padding: 18px 16px 30px; }
  .stat-card { padding: 16px 18px; gap: 14px; }
  .stat-value { font-size: 1.4rem; }
  .login-card { padding: 32px 24px; }
  .permission-grid { grid-template-columns: 140px repeat(4, 1fr); }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #c0ccd8; }

/* ─── UTILITIES ─── */
.text-accent  { color: var(--accent) !important; }
.text-muted-sm { font-size: 0.82rem; color: var(--text-muted); }
.fw-800 { font-weight: 800; }
.gap-2 { gap: 8px; }
.d-flex { display: flex; }
.align-center { align-items: center; }

/* ─── DROPDOWN MENU ─── */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  font-size: var(--font-size-base);
}

.dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}

.dropdown-item:hover { background: var(--body-bg); color: var(--primary); }
.dropdown-item.text-danger { color: var(--danger); }
.dropdown-item.text-danger:hover { background: rgba(239,68,68,0.07); }
.dropdown-divider { border-color: var(--border); margin: 4px 0; }

/* ─── PAGE TRANSITIONS ─── */
.page-section { display: none; }
.page-section.active { display: block; }

/* ─── ALERT ─── */
.alert {
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  padding: 14px 18px;
}

.alert-danger { background: rgba(239,68,68,0.1); color: #dc2626; }
.alert-success { background: rgba(34,197,94,0.1); color: #16a34a; }

/* ─── ROLE CARD ─── */
.role-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border-top: 3px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}

.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.role-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.role-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.role-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.role-tag {
  background: rgba(27,42,74,0.07);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ─── DRIVER MODULE ─── */
.modal-section-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.document-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.document-icon {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.text-accent { color: var(--accent); }

/* ─── MODAL SCROLL FIX ─── */
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

/* ─── WAREHOUSE MODULE ─── */
.wh-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.wh-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.capacity-bar {
  width: 100%;
  height: 7px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.capacity-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
