/* ==========================================================================
   SIMULASI CAT CPNS 2027 — REUSABLE COMPONENTS
   File: css/components.css
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

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

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-danger-solid {
  background: var(--cat-red);
  color: #ffffff;
  border-color: var(--cat-red);
}

.btn-danger-solid:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.btn-warning-solid {
  background: var(--color-doubt);
  color: #ffffff;
  border-color: var(--color-doubt);
}

.btn-warning-solid:hover {
  background: #b45309;
}

.btn-success-solid {
  background: var(--color-answered);
  color: #ffffff;
  border-color: var(--color-answered);
}

.btn-success-solid:hover {
  background: #15803d;
}

.btn-icon {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   FORM INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.auth-modal-card input,
.auth-modal-card select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.auth-modal-card input:focus,
.auth-modal-card select:focus {
  outline: none;
  border-color: var(--bkn-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
}

.password-input-wrap .form-input,
.auth-modal-card .password-input-wrap input {
  width: 100%;
  padding-right: 42px;
}

.btn-eye-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.btn-eye-toggle:hover {
  color: var(--sscasn-blue);
  background: var(--bg-subtle);
}

.btn-eye-toggle.is-visible {
  color: var(--sscasn-blue);
}

.btn-eye-inline {
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-left: 8px;
}

.btn-eye-inline:hover {
  color: var(--sscasn-blue);
  border-color: var(--sscasn-blue);
}

.foto-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1.5px dashed var(--sscasn-sky-border);
  border-radius: 10px;
  background: var(--sscasn-sky-soft);
}

.foto-preview-thumb {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1672ba 0%, #0f5da0 100%);
  border: 1.5px solid #bfdbfe;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

.foto-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foto-upload-meta {
  flex: 1;
  min-width: 0;
}

.foto-upload-input {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.hdr-user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.profile-portrait-box.has-photo {
  padding: 0;
  overflow: hidden;
  background: #0f5da0;
}

.card-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ==========================================================================
   MODALS BASE
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: modalFadeIn 0.18s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-modal);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Modal Pakta Integritas / Prep */
.modal-prep {
  max-width: 640px;
}

.prep-header-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  margin-bottom: 8px;
}

.prep-rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 20px;
}

.prep-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  line-height: 1.5;
}

.prep-rule-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.prep-agree-box {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  margin-bottom: 22px;
}

.prep-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.prep-agree-label input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

.prep-camera-error {
  background: var(--color-empty-light);
  border: 1px solid var(--color-empty);
  color: #7f1d1d;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
}

[data-theme="dark"] .prep-camera-error {
  color: #fca5a5;
}

/* Modal Konfirmasi Selesai Ujian */
.modal-finish-big {
  max-width: 620px;
  padding: 32px 28px;
}

.finish-big-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.finish-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.finish-stat-card {
  padding: 16px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid transparent;
}

.finish-stat-card.ans {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
}

.finish-stat-card.dbt {
  background: #fef9c3;
  border: 1.5px solid #fde68a;
}

.finish-stat-card.emp {
  background: #ffffff;
  border: 1.5px solid var(--bkn-blue);
}

[data-theme="dark"] .finish-stat-card.ans {
  background: #082f49;
  border-color: var(--bkn-blue);
}

[data-theme="dark"] .finish-stat-card.dbt {
  background: rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
}

[data-theme="dark"] .finish-stat-card.emp {
  background: #0f172a;
  border-color: #38bdf8;
}

.finish-stat-val {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.finish-stat-card.ans .finish-stat-val { color: var(--bkn-blue); }
.finish-stat-card.dbt .finish-stat-val { color: var(--color-doubt); }
.finish-stat-card.emp .finish-stat-val { color: var(--bkn-blue); }
[data-theme="dark"] .finish-stat-card.ans .finish-stat-val { color: #38bdf8; }
[data-theme="dark"] .finish-stat-card.dbt .finish-stat-val { color: #fbbf24; }
[data-theme="dark"] .finish-stat-card.emp .finish-stat-val { color: #38bdf8; }

.finish-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.finish-notice-box {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.finish-notice-box.warn {
  background: #fffbeb;
  border-left: 4px solid var(--color-doubt);
  color: #92400e;
}

[data-theme="dark"] .finish-notice-box.warn {
  background: rgba(245, 158, 11, 0.12);
  border-left: 4px solid #fbbf24;
  color: #fef08a;
}

.finish-notice-box.ready {
  background: var(--color-answered-light);
  border-left: 4px solid var(--color-answered);
  color: #14532d;
}

[data-theme="dark"] .finish-notice-box.ready {
  color: #86efac;
}

.finish-big-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.finish-big-actions .btn {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Security Alerts Overlays */
.security-alert-card {
  max-width: 500px;
  border: 2px solid var(--cat-red);
  background: var(--bg-surface);
}

.security-alert-card.tab {
  border-color: var(--color-doubt);
}

/* ==========================================================================
   FLOATING ROBOT WIDGET
   ========================================================================== */
.floating-robot-wrap {
  position: fixed;
  bottom: 70px;
  right: 18px;
  z-index: 880;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.floating-robot-wrap:hover {
  transform: translateY(-4px) scale(1.03);
}

.robot-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1481c6 0%, #0b5d99 100%);
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 20px rgba(20, 129, 198, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.robot-btn:hover {
  box-shadow: 0 10px 26px rgba(20, 129, 198, 0.45);
}

.robot-badge-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  background: var(--cat-red);
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: robotPulse 1.8s infinite;
}

@keyframes robotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.robot-speech-bubble {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--sscasn-sky-border);
  max-width: 210px;
  position: relative;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-robot-wrap:hover .robot-speech-bubble,
.floating-robot-wrap:focus-within .robot-speech-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.robot-speech-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid #bfdbfe;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Mobile & Exam positioning for floating robot:
   Ensures it does NOT obscure bottom exam toolbar action buttons */
@media (max-width: 980px) {
  .floating-robot-wrap {
    bottom: 82px;
    right: 16px;
  }
}

@media (max-width: 640px) {
  .robot-speech-bubble {
    display: none;
  }
  .floating-robot-wrap {
    bottom: 84px;
    right: 14px;
  }
  .robot-btn {
    width: 48px;
    height: 48px;
  }
}

body.in-exam .floating-robot-wrap {
  bottom: 88px;
  right: 16px;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm 12mm 15mm;
  }
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    overflow: visible !important;
  }
  body > *:not(#modalUserProfile) {
    display: none !important;
  }
  #modalUserProfile {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    z-index: 99999 !important;
  }
  #modalUserProfile .modal-card {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 175mm !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #modalUserProfile button,
  #modalUserProfile .modal-actions,
  #modalUserProfile > .modal-card > button,
  #modalUserProfile > .modal-card > div:not(#printParticipantCardArea),
  .floating-robot-wrap,
  #floatingRobotDonation,
  .no-print {
    display: none !important;
  }
  #printParticipantCardArea, #printParticipantCardArea * {
    visibility: visible !important;
  }
  #printParticipantCardArea {
    display: block !important;
    position: static !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 175mm !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: 2px solid var(--bkn-blue) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    padding: 18px 22px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-before: avoid !important;
    break-before: avoid !important;
  }
}


/* ==========================================================================
   UTILITY & STRUCTURAL COMPONENT HELPERS
   ========================================================================== */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-accent);
  color: var(--text-primary);
}

.modul-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.badge-tag-green {
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  display: inline-block;
}

[data-theme="dark"] .badge-tag-green {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
}

.badge-tag-amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #b45309;
  display: inline-block;
}

[data-theme="dark"] .badge-tag-amber {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.badge-tag-blue {
  background: #eff6ff;
  color: #0284c7;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
}

[data-theme="dark"] .badge-tag-blue {
  background: rgba(2, 132, 199, 0.2);
  color: #7dd3fc;
}

.badge-tag-red {
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
}

[data-theme="dark"] .badge-tag-red {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.notice-box-amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

[data-theme="dark"] .notice-box-amber {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.btn-block-action {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flex-between-mb8 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.text-muted-row {
  padding: 4px 0;
  font-weight: 600;
  color: var(--text-muted);
}

.text-block-primary {
  color: var(--text-primary);
  display: block;
}

.cheat-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

/* ==========================================================================
   HEADER USER WIDGET & MULTI-USER AUTH MODAL (M2)
   ========================================================================== */
.hdr-user-info-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.hdr-user-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.hdr-user-card-tag {
  font-size: 0.66rem;
  opacity: 0.85;
  font-weight: 500;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.auth-tab-btn {
  padding: 9px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background: var(--bg-surface);
  color: var(--bkn-blue);
  box-shadow: var(--shadow-sm);
}

.auth-inline-error {
  background: var(--color-empty-light);
  border: 1px solid var(--color-empty);
  color: #b91c1c;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

[data-theme="dark"] .auth-inline-error {
  color: #fca5a5;
}

.auth-pin-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.auth-pin-row input {
  flex: 1;
}

.auth-hint-ok {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-answered-light);
  color: var(--color-answered);
  font-size: 0.76rem;
  font-weight: 700;
}

.quick-switch-wrap {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-color);
}

.quick-switch-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.quick-switch-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
}

.quick-account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.quick-account-chip:hover,
.quick-account-chip.is-active {
  border-color: var(--bkn-blue);
  background: var(--primary-light);
}

.quick-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bkn-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-account-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quick-account-meta strong {
  font-size: 0.84rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-account-meta small {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-account-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--bkn-blue);
  border: 1px solid var(--border-color);
}
