/**
 * Component Styles - SBAFA Financial Enclave
 * Aesthetic: Modern Minimalist (Architectural Grayscale, Hairline Precision)
 */

/* Cards & Containers */
.card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  border-color: var(--border-hover);
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast);
}

.glass-card:hover {
  border-color: var(--border-hover);
}

.glass-card-glow-emerald {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 24px -4px rgba(16, 185, 129, 0.15);
}

.glass-card-glow-blue {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 24px -4px rgba(59, 130, 246, 0.15);
}

/* Badges & Status Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-subtle {
  background: var(--accent-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-emerald {
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-blue {
  background: var(--accent-blue-subtle);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-amber {
  background: var(--signal-warning-subtle);
  color: var(--signal-warning);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-rose {
  background: var(--signal-expense-subtle);
  color: var(--signal-expense);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

/* Sync Indicator */
.sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.sync-pill.synced {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.sync-pill.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   BUTTON DESIGN SYSTEM - Modern Fintech Aesthetic
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.25;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease,
              color 0.18s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
  user-select: none;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.975);
}

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

/* Primary Action Button - Warm Terracotta Tangerine (as in Meetgen design) */
.btn-primary {
  background: var(--accent-primary);
  color: #FFFFFF;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 4px 16px rgba(232, 96, 52, 0.35);
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  box-shadow: 0 6px 20px rgba(232, 96, 52, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

/* Google OAuth Button */
.btn-google {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.btn-google:hover:not(:disabled) {
  background: var(--accent-subtle);
  border-color: var(--border-hover);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
  transform: translateY(-1px);
}

.btn-google:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

/* Secondary Button */
.btn-secondary {
  background: var(--accent-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--border-medium);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover:not(:disabled) {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--accent-subtle);
  transform: translateY(-1px);
}

/* Accent Blue Button (Gmail / Cloud Actions) */
.btn-accent-blue {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  border: 1px solid #1D4ED8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  font-weight: 600;
}

.btn-accent-blue:hover:not(:disabled) {
  background: linear-gradient(135deg, #1D4ED8, #1E40AF);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-accent-blue:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

/* Danger / Destructive Action Button - Warm Terracotta Accent */
.btn-danger {
  background: rgba(232, 96, 52, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(232, 96, 52, 0.28);
}

.btn-danger:hover:not(:disabled) {
  background: rgba(232, 96, 52, 0.2);
  border-color: rgba(232, 96, 52, 0.45);
  box-shadow: 0 2px 10px rgba(232, 96, 52, 0.2);
  transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--accent-subtle);
}

.btn-block {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
}

.btn-sm {
  padding: 6px 12px;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  gap: 6px;
}

.btn-lg {
  padding: 13px 20px;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 12px 14px;
    font-size: 14px;
  }
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-icon:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--border-medium);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-icon:active:not(:disabled) {
  transform: scale(0.95);
}

/* Auth Divider Component */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  width: 100%;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.auth-divider span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-surface-elevated);
}

.form-select option {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

/* Segmented Control - Tactile Pill Bar (as in Meetgen reference) */
.segmented-control {
  display: flex;
  background: var(--bg-surface-elevated);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  gap: 4px;
}

.segment-btn {
  flex: 1;
  padding: 8px 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
  background: transparent;
  cursor: pointer;
}

.segment-btn:hover {
  color: var(--text-primary);
}

.segment-btn.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(232, 96, 52, 0.35);
}

/* Modals & Bottom Sheets */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  width: 100%;
  max-width: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-bottom: none;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding: 24px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-sheet {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-hover);
  margin: 0 auto 18px auto;
}

.sheet-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* Biometric Overlay */
.biometric-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 200;
}

.biometric-icon-glow {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-lg);
  background: var(--accent-subtle);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.biometric-icon-glow svg {
  width: 34px;
  height: 34px;
  stroke: var(--text-primary);
}

/* Toasts */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* iOS Banner */
.ios-install-banner {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 12px 18px;
  padding: 14px 44px 14px 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.ios-install-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ios-install-title {
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.ios-install-dismiss {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-deep, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: all 0.2s ease;
}

.ios-install-dismiss:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.ios-install-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Notification Center & Bell Badge Styles
   ========================================================================== */

.notif-bell-btn {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--signal-expense, #F43F5E);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid var(--bg-surface);
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
  pointer-events: none;
  animation: pulseNotif 2.5s infinite ease-in-out;
}

@keyframes pulseNotif {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Notification Slide Drawer */
.notif-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: slideDrawerIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDrawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (max-width: 480px) {
  .notif-drawer {
    max-width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-medium);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    height: 85vh;
    animation: slideDrawerUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideDrawerUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

.notif-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.notif-drawer-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.notif-filter-tabs {
  display: flex;
  gap: 6px;
}

.notif-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.notif-filter-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}

.notif-filter-btn.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.notif-action-text-btn {
  background: none;
  border: none;
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.notif-action-text-btn:hover {
  text-decoration: underline;
}

.notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.notif-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast);
}

.notif-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.notif-card.unread {
  border-left: 3px solid var(--accent-emerald);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-surface-elevated) 100%);
}

.notif-card.unread[data-type="cap_breach"] {
  border-left-color: var(--signal-expense);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.06) 0%, var(--bg-surface-elevated) 100%);
}

.notif-card-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notif-type-icon {
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  flex-shrink: 0;
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.notif-time {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.notif-message {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 8px 0;
}

.notif-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-card-cta {
  background: none;
  border: none;
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notif-card-cta:hover {
  text-decoration: underline;
}

.notif-del-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.notif-del-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  color: var(--signal-expense);
}

/* Glass Card Glow Variants */
.glass-card-glow-rose {
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.15);
}

.glass-card-glow-amber {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   Dashboard Account Switcher (Top of Overview)
   ========================================================================== */
.account-switcher-wrapper {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.account-switcher-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* 2 Accounts Toggle Pill Style */
.account-toggle-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface-elevated);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.account-toggle-pills::-webkit-scrollbar {
  display: none;
}

.account-toggle-pill {
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  user-select: none;
}

.account-toggle-pill .pill-full-label {
  display: inline;
}

.account-toggle-pill .pill-short-label {
  display: none;
}

.bank-pill-content {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.bank-pill-icon {
  font-size: 11.5px;
  flex-shrink: 0;
}

.bank-pill-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.bank-pill-digits {
  font-family: var(--font-family-mono, monospace);
  font-size: 10px;
  opacity: 0.85;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.account-toggle-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.account-toggle-pill.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

/* > 2 Accounts Styled Dropdown Selector */
.account-switcher-dropdown-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 340px;
}

.account-switcher-select {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.account-switcher-select:focus {
  border-color: var(--accent-primary);
}

@media (max-width: 600px) {
  .account-switcher-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 14px;
  }

  .account-switcher-label {
    font-size: 10px;
    gap: 5px;
  }

  .account-toggle-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .account-toggle-pill {
    width: 100%;
    min-width: 0;
    padding: 7px 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-full);
    box-sizing: border-box;
  }

  .account-toggle-pill .pill-full-label {
    display: none;
  }

  .account-toggle-pill .pill-short-label {
    display: inline;
    font-weight: 700;
  }

  .bank-pill-content {
    gap: 2px;
    justify-content: center;
  }

  .bank-pill-icon {
    display: none; /* Hide emoji on mobile to allow clear readability of bank name and last 4 */
  }

  .bank-pill-name {
    font-size: 11px;
  }

  .bank-pill-digits {
    font-size: 9.5px;
    opacity: 0.8;
  }

  .account-switcher-dropdown-container {
    max-width: 100%;
    width: 100%;
  }

  .account-switcher-select {
    width: 100%;
    height: 38px;
    font-size: 11.5px;
  }
}


