/* Ambassadors Club Management System - Custom Styles */

:root {
  --navy: #1e3a5f;
  --navy-dark: #152c4a;
  --navy-light: #2a4f7c;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fcd34d;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-800);
}

/* Sidebar */
#sidebar {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  transition: transform 0.3s ease;
}

#sidebar .logo-area {
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

#sidebar {
  display: flex;
  flex-direction: column;
}

#sidebar nav {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

#sidebar nav::-webkit-scrollbar {
  display: none;
}

#sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  font-size: 0.9rem;
}

#sidebar .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-left-color: var(--amber);
}

#sidebar .nav-link.active {
  color: #fff;
  background: rgba(245,158,11,0.2);
  border-left-color: var(--amber);
  font-weight: 600;
}

#sidebar .nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Main content */
#main-content {
  margin-left: 260px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Top bar */
.top-bar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Bottom nav (mobile) */
#bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  z-index: 50;
  padding: 0.5rem 0;
  border-top: 2px solid var(--amber);
}

#bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.65rem;
  padding: 0.3rem 0.5rem;
  flex: 1;
  transition: color 0.2s;
}

#bottom-nav a.active,
#bottom-nav a:hover {
  color: var(--amber);
}

#bottom-nav svg {
  width: 22px;
  height: 22px;
}

/* Cards */
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-top: 0.75rem;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn-primary {
  background: var(--navy);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--gray-100) !important;
  border-color: var(--gray-200) !important;
}

.btn-accent {
  background: var(--amber);
  color: var(--navy-dark);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-accent:hover {
  background: var(--amber-dark);
}

.btn-danger {
  background: #fee2e2;
  color: var(--danger);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid #fca5a5;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
}

.btn-edit {
  background: #eff6ff;
  color: #2563eb;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid #bfdbfe;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-edit:hover {
  background: #2563eb;
  color: white;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

/* Forms */
.form-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.form-label.required::after {
  content: ' *';
  color: var(--danger);
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}

.form-input.error {
  border-color: var(--danger);
}

.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
}

.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--gray-50);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-active {
  background: #d1fae5;
  color: #065f46;
}

.badge-inactive {
  background: #fee2e2;
  color: #991b1b;
}

.badge-present {
  background: #d1fae5;
  color: #065f46;
}

.badge-absent {
  background: #fee2e2;
  color: #991b1b;
}

.badge-excused {
  background: #fef3c7;
  color: #92400e;
}

/* Commitment level badges */
.badge-champion {
  background: #fef9c3;
  color: #713f12;
}
.badge-active {
  background: #d1fae5;
  color: #065f46;
}
.badge-moderate {
  background: #dbeafe;
  color: #1e40af;
}
.badge-at-risk {
  background: #ffedd5;
  color: #9a3412;
}
.badge-inactive {
  background: #fee2e2;
  color: #991b1b;
}
.badge-new {
  background: #f3e8ff;
  color: #6b21a8;
}
.badge-no-data {
  background: #f3f4f6;
  color: #6b7280;
}

/* Event cards */
.event-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-card .event-date-badge {
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 60px;
}

/* Member cards (mobile) */
.member-card {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Attendance list */
.attendance-item {
  background: white;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}

.attendance-item:hover {
  border-color: var(--navy-light);
}

.attendance-radio-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.attendance-radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.15s;
}

input[type="radio"]:checked + .attendance-radio-label {
  border-color: transparent;
}

.radio-present input[type="radio"]:checked + .attendance-radio-label {
  background: #d1fae5;
  color: #065f46;
  border-color: #10b981;
}

.radio-absent input[type="radio"]:checked + .attendance-radio-label {
  background: #fee2e2;
  color: #991b1b;
  border-color: var(--danger);
}

.radio-excused input[type="radio"]:checked + .attendance-radio-label {
  background: #fef3c7;
  color: #92400e;
  border-color: var(--amber);
}

/* Progress bar */
.progress-bar-bg {
  background: var(--gray-100);
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  transition: width 0.6s ease;
}

.progress-bar-fill.high {
  background: linear-gradient(90deg, var(--success), #34d399);
}

.progress-bar-fill.medium {
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.progress-bar-fill.low {
  background: linear-gradient(90deg, var(--danger), #f87171);
}

/* Toast notifications */
#toast-container {
  position: fixed;
  bottom: 80px;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 260px;
  animation: slideIn 0.3s ease;
  pointer-events: all;
  border-left: 4px solid transparent;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--amber); }
.toast.info { border-left-color: var(--navy); }

.toast-icon { font-size: 1.1rem; }

@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; }
}

/* Setup banner */
#setup-banner {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--navy-dark);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Loading spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.spinner-dark {
  border-color: rgba(30,58,95,0.2);
  border-top-color: var(--navy);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading overlay */
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--gray-600);
  gap: 0.75rem;
  font-size: 0.9rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-600);
}

.empty-state svg {
  width: 56px;
  height: 56px;
  color: var(--gray-200);
  margin: 0 auto 1rem;
}

/* Search input */
.search-input-wrap {
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-600);
  pointer-events: none;
}

.search-input-wrap input {
  padding-left: 2.75rem;
}

/* Page title area */
.page-header {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 0.15rem;
}

/* Content area */
.content-area {
  padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
    z-index: 200;
  }

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

  #main-content {
    margin-left: 0;
    padding-bottom: 72px;
  }

  #bottom-nav {
    display: flex;
  }

  #toast-container {
    bottom: 90px;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }

  .data-table {
    display: none;
  }

  .mobile-cards {
    display: block;
  }

  .desktop-table {
    display: none;
  }

  /* ── Spacing ─────────────────────────────────────────── */
  .content-area {
    padding: 1rem;
  }

  .top-bar {
    padding: 0.75rem 1rem;
  }

  /* ── Prevent iOS input zoom (must be ≥16px) ─────────── */
  .form-input,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* ── Touch targets ───────────────────────────────────── */
  .btn-primary,
  .btn-accent {
    min-height: 44px;
  }

  /* ── Top-bar: shrink text in action buttons ──────────── */
  .top-bar .btn-accent,
  .top-bar .btn-primary {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  /* ── Scrollable filter bars ─────────────────────────── */
  .mob-filter-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.75rem 1rem;
    background: white;
    border-bottom: 1px solid var(--gray-100);
  }
  .mob-filter-bar::-webkit-scrollbar { display: none; }
  .mob-filter-bar > * { flex-shrink: 0; }

  /* ── Form action rows: stack & fill ─────────────────── */
  .form-actions {
    flex-direction: column-reverse !important;
  }
  .form-actions > * {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* ── Stat cards: tighter value ───────────────────────── */
  .stat-card .stat-value {
    font-size: 1.6rem;
  }

  /* ── Modals: slide up from bottom on mobile ──────────── */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    max-height: 92vh;
    padding: 1.5rem 1.25rem;
  }

  /* ── Attendance: radio buttons wrap below name ───────── */
  .att-member-item {
    flex-wrap: wrap !important;
  }
  .att-radio-group {
    width: 100%;
    justify-content: flex-start !important;
    padding-left: calc(42px + 0.75rem);
    margin-top: 0.35rem;
  }

  /* ── Finance top-bar: icon-only buttons on mobile ────── */
  .btn-mob-text {
    display: none;
  }

  /* ── Member pay row: wrap on mobile ──────────────────── */
  .member-pay-row {
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  .member-pay-row .pay-toggle {
    margin-left: auto;
  }

  /* ── Events top bar: hide "Poster" text ─────────────── */
  .mob-hide-text {
    display: none;
  }

  /* ── Page form card: less padding ───────────────────── */
  .form-card {
    padding: 1.25rem 1rem;
  }

  /* ── Table wrapper: remove border radius on mobile ───── */
  .table-wrapper {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (min-width: 769px) {
  .mobile-cards {
    display: none;
  }

  .desktop-table {
    display: block;
  }

  #sidebar-overlay {
    display: none !important;
  }

  /* Show button text on desktop */
  .btn-mob-text,
  .mob-hide-text {
    display: inline;
  }

  /* Restore form action layout on desktop */
  .form-actions {
    flex-direction: row !important;
  }
  .form-actions > * {
    width: auto !important;
  }
}

/* Sidebar overlay (mobile) */
#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
}

/* Confirm dialog */
.confirm-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.confirm-dialog {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Responsive grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 1.25rem;
}

/* Attendance page radio button styling */
.radio-wrapper {
  display: none;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s;
  user-select: none;
}

.radio-wrapper:checked ~ .radio-option-present {
  background: #d1fae5;
  color: #065f46;
  border-color: #10b981;
}

/* Table wrapper for horizontal scroll on mobile */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ─── Login Page ─────────────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* ─── Password field with show/hide toggle ───────────────────────────────── */
.input-password-wrap {
  position: relative;
}

.input-password-wrap .form-input {
  padding-right: 2.75rem;
}

.input-password-wrap .pw-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
}

.input-password-wrap .pw-toggle:hover {
  color: var(--navy);
}

/* ─── Modal ──────────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

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

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--gray-600);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

/* ─── User Avatar ────────────────────────────────────────────────────────── */
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Role badge colours */
.badge-admin {
  background: #ede9fe;
  color: #5b21b6;
}

.badge-viewer {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-teacher {
  background: #dcfce7;
  color: #166534;
}

.badge-super-admin {
  background: #fef3c7;
  color: #92400e;
}

/* "You" badge */
.badge-you {
  background: var(--amber);
  color: var(--navy-dark);
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
  vertical-align: middle;
}
