/* =============================================================================
   DISTRICT TREE PLANTATION MAPPING & FOLLOW-UP SYSTEM (PWA)
   Design System & Main Stylesheet - DC Office District Administration
   ============================================================================= */

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

:root {
  /* Brand Palette: Forest Emerald & Slate Navy */
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #064e3b;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Urgency & Compliance Status */
  --color-healthy: #10b981;
  --color-due-soon: #f59e0b;
  --color-overdue: #ef4444;
  --color-info: #3b82f6;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);

  /* Layout */
  --sidebar-width: 280px;
  --header-height: 68px;
  --bottom-nav-height: 64px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 18px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-900);
  color: var(--slate-100);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Quick Role Bar for Executive Testing */
.role-switcher-banner {
  background: linear-gradient(90deg, #064e3b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--primary-700);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  z-index: 1000;
}

.role-switcher-banner .role-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-300);
  font-weight: 600;
}

.role-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0;
}

.role-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--slate-200);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.role-chip:hover, .role-chip.active {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-400);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* App Header */
.app-header {
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 900;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.brand-info h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 0.65rem;
  background: var(--primary-800);
  color: var(--primary-200);
  border: 1px solid var(--primary-600);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-new-plantation {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.btn-new-plantation:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-200);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.notification-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-overdue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--slate-900);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px 5px 6px;
  border-radius: 30px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-details-brief {
  display: flex;
  flex-direction: column;
}

.user-name-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-100);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-role-text {
  font-size: 0.68rem;
  color: var(--primary-400);
  text-transform: uppercase;
  font-weight: 700;
}

/* Main Layout Wrapper */
.main-wrapper {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--header-height) - 34px);
}

/* Sidebar Navigation */
.app-sidebar {
  width: var(--sidebar-width);
  background: rgba(15, 23, 42, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 8px;
}

.nav-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  padding: 8px 12px 4px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--border-radius-sm);
  color: var(--slate-300);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--slate-400);
  transition: var(--transition);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-300);
  border-color: rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.nav-item.active i {
  color: var(--primary-400);
}

.nav-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-overdue);
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-weight: 700;
}

/* Main Content Area */
.app-content {
  flex: 1;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 100%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 70px;
}

.tab-pane {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 0.2s ease-in-out;
}

.tab-pane.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 950;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--slate-400);
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.bottom-nav-item i {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.bottom-nav-item.active {
  color: var(--primary-400);
}

.bottom-nav-center {
  position: relative;
  top: -14px;
}

.btn-center-cam {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-700) 100%);
  border: 4px solid var(--slate-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  font-size: 1.3rem;
  transition: var(--transition);
}

.btn-center-cam:active {
  transform: scale(0.92);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  animation: fadeIn 0.15s ease-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.modal-container.large {
  max-width: 860px;
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-300);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-control.all-caps {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.form-control.all-caps::placeholder {
  text-transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Buttons */
.btn {
  padding: 9px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--primary-500);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-200);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-danger {
  background: var(--color-overdue);
  color: #fff;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--slate-400);
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 12px 18px;
  color: #fff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  animation: slideInRight 0.25s ease-out;
  max-width: 360px;
}

.toast.success {
  border-left: 4px solid var(--primary-500);
}

.toast.error {
  border-left: 4px solid var(--color-overdue);
}

.toast.warning {
  border-left: 4px solid var(--color-due-soon);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 900px) {
  .app-sidebar {
    display: none;
  }
  .bottom-nav {
    display: flex;
  }
  .app-content {
    padding-bottom: calc(var(--bottom-nav-height) + 16px);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .user-details-brief {
    display: none;
  }
}

/* =============================================================================
   MANDATORY LOGIN SCREEN STYLES
   ============================================================================= */
.login-screen-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 20%, #064e3b 0%, #0f172a 75%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  overflow-y: auto;
}

.login-card {
  width: 100%;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 32px 28px;
  animation: fadeInDown 0.35s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-emblem {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.35));
}

.login-gov-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--primary-400);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.login-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.login-sub {
  font-size: 0.84rem;
  color: var(--slate-400);
}

.login-error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group-icon i.field-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  font-size: 0.95rem;
}

.input-group-icon .form-control {
  padding-left: 40px;
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 6px;
  font-size: 0.9rem;
}
.btn-toggle-pwd:hover { color: #fff; }

.btn-login-submit {
  width: 100%;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  margin-top: 10px;
}

/* Quick Demo Profile Picker */
.demo-profiles-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-profiles-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-user-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.demo-user-card:hover, .demo-user-card.selected {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary-500);
  transform: translateY(-1px);
}

.demo-user-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-400);
  display: block;
}

.demo-user-name {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-user-cred {
  font-size: 0.7rem;
  color: var(--slate-400);
  font-family: var(--font-mono);
}

/* Hierarchy Explainer */
.hierarchy-flow-box {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.74rem;
  color: var(--slate-300);
  line-height: 1.4;
}

.hierarchy-flow-box strong { color: #facc15; }

/* Header Sign Out & Dept Badge */
.btn-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 8px;
}
.btn-logout:hover {
  background: #ef4444;
  color: #fff;
}

.user-dept-text {
  font-size: 0.72rem;
  color: var(--primary-400);
  font-weight: 500;
  display: block;
}

/* Admin Center & Dept Staff Styles */
.admin-card-section {
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-card-header h3 {
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.user-avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dept-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #f1f5f9;
}

.badge-active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-inactive {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}


/* ---------------------------------------------------------------------------
   Administration & user management
   --------------------------------------------------------------------------- */

.btn-danger {
  background: #b91c1c;
  border: 1px solid #ef4444;
  color: #fff;
}
.btn-danger:hover { background: #dc2626; }

.btn-sm {
  padding: 4px 9px;
  font-size: 0.74rem;
  line-height: 1.3;
}

/* Count of records captured offline and still waiting to upload. */
#offline-pending-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
}

.user-avatar-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #475569;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.dept-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.badge-active   { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.badge-inactive { background: rgba(148, 163, 184, 0.18); color: #94a3b8; }
