:root {
  /* ==================== LIGHT THEME (DEFAULT) ==================== */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-glow: rgba(37, 99, 235, 0.15);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-green: #059669;
  --accent-green-hover: #047857;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --accent-danger: #dc2626;
  --accent-danger-hover: #b91c1c;

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --header-bg: rgba(255, 255, 255, 0.92);
  --modal-bg: #ffffff;
  --table-th-bg: #f8fafc;
  --table-hover: #f1f5f9;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
}

/* ==================== DARK THEME SUPPORT ==================== */
[data-theme="dark"] {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(24, 34, 53, 0.9);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(59, 130, 246, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-danger: #ef4444;

  --input-bg: rgba(15, 23, 42, 0.85);
  --input-border: rgba(255, 255, 255, 0.12);
  --header-bg: rgba(15, 23, 42, 0.9);
  --modal-bg: #111827;
  --table-th-bg: rgba(15, 23, 42, 0.95);
  --table-hover: rgba(255, 255, 255, 0.02);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.04) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ==================== LOGIN PAGE ==================== */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-wrapper {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-brand {
  text-align: center;
  margin-bottom: 4px;
}

.login-brand .logo-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px auto;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.login-brand h1 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.login-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ==================== CARDS & CONTAINERS ==================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-header h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

/* Extension Quick Card */
.extension-quick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.extension-quick-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extension-icon-box {
  width: 42px;
  height: 42px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.extension-quick-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.extension-quick-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==================== FORMS & INPUTS ==================== */
.form-group {
  margin-bottom: 18px;
}

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

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

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input, .form-select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.input-icon-wrap .form-input {
  padding-left: 44px;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-input-sm, .form-select-sm {
  padding: 8px 12px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.help-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
  color: white;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-chrome {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
}

.btn-chrome:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-1px);
}

.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

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

/* ==================== BADGES & ALERTS ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-active, .badge-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-inactive, .badge-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.hidden {
  display: none !important;
}

/* ==================== APP HEADER ==================== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.header-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.user-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
}

/* ==================== DASHBOARD MAIN ==================== */
.dashboard-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 28px;
}

/* Stats Overview */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-blue { background: #eff6ff; color: #2563eb; }
.stat-icon-green { background: #ecfdf5; color: #059669; }
.stat-icon-purple { background: #f5f3ff; color: #7c3aed; }
.stat-icon-amber { background: #fffbeb; color: #d97706; }

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

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

.tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

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

/* Toolbar */
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==================== TABLES ==================== */
.table-card {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--table-th-bg);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-primary);
}

.data-table tbody tr:hover {
  background: var(--table-hover);
}

.text-right { text-align: right; }
.text-center { text-align: center; }

/* Action Buttons inside tables */
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.btn-action {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-action:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.btn-action-danger:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  animation: fadeIn 0.15s ease;
}

.modal-card {
  background: var(--modal-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  background: var(--modal-bg);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--table-th-bg);
}

/* Setup Steps */
.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.copy-box {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.2s ease;
  min-width: 260px;
}

.toast-success { border-left: 4px solid var(--accent-green); }
.toast-error { border-left: 4px solid var(--accent-danger); }
.toast-info { border-left: 4px solid var(--accent-primary); }

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .app-header {
    padding: 14px 16px;
  }
  .dashboard-main {
    padding: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-search {
    max-width: 100%;
  }
}

/* ==================== MODERN SPLIT-SCREEN AUTH LAYOUT (Matches Mockup) ==================== */
.split-auth-body {
  min-height: 100vh;
  margin: 0;
  background: #eef5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
}

.auth-card-container {
  width: 100%;
  max-width: 1060px;
  min-height: 640px;
  background: #ffffff;
  border-radius: 28px;
  display: flex;
  box-shadow: 0 25px 65px -15px rgba(6, 25, 22, 0.15), 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* ---------------- LEFT HERO (Deep Dark Teal Gradient) ---------------- */
.auth-left-hero {
  width: 48%;
  background: linear-gradient(168deg, #091f1c 0%, #0d2c26 50%, #061614 100%);
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}

/* Top Stealth Logo (Looks like innocent corporate logo; holding 2-3s reveals admin sign in) */
.auth-brand-header {
  display: flex;
  align-items: center;
}

.brand-logo-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.shield-badge-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}

.brand-logo-trigger:hover .shield-badge-icon {
  transform: scale(1.05);
  background: rgba(45, 212, 191, 0.25);
}

.brand-logo-trigger:active .shield-badge-icon {
  transform: scale(0.96);
}

.brand-title-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Stealth Progress Ring (Completely invisible until user holds down mouse!) */
.stealth-hold-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  pointer-events: none;
  transform: rotate(-90deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.stealth-hold-ring.active {
  opacity: 1;
}

.stealth-hold-track {
  fill: none;
  stroke: rgba(45, 212, 191, 0.2);
  stroke-width: 2.5;
}

.stealth-hold-circle {
  fill: none;
  stroke: #2dd4bf;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 119.38;
  stroke-dashoffset: 119.38;
  transition: stroke-dashoffset 0.04s linear;
}

/* Hero Typography & Feature List */
.hero-main-content {
  margin: 32px 0;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 34px;
}

.hero-accent {
  color: #2dd4bf;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.feature-text p {
  font-size: 0.82rem;
  color: #8daaa3;
  margin: 0;
  line-height: 1.4;
}

.hero-footer-bar p {
  font-size: 0.76rem;
  color: #55776f;
  margin: 0;
}

/* ---------------- RIGHT CONTENT PANEL ---------------- */
.auth-right-panel {
  width: 52%;
  background: #ffffff;
  padding: 46px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.panel-view-section {
  animation: fadeIn 0.25s ease;
}

.panel-view-section.hidden {
  display: none !important;
}

.tag-pill {
  display: inline-block;
  background: rgba(0, 109, 91, 0.08);
  color: #006d5b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.panel-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}

.panel-subtext {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 24px 0;
}

.panel-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stealth-back-btn {
  background: #f1f5f9;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.stealth-back-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Quick Download Card */
.quick-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.dl-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-info {
  flex: 1;
}

.dl-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.dl-info p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 0 0;
}

.dl-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Steps Card */
.modern-steps-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

.steps-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.step-row:last-child {
  margin-bottom: 0;
}

.step-num-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #006d5b;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-row p {
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
}

.step-row code {
  background: #e2e8f0;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* Support Bar */
.support-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-badge-icon {
  font-size: 1.3rem;
}

.wa-label {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
}

.wa-phone {
  font-size: 0.88rem;
  color: #0f172a;
}

.btn-whatsapp-chat {
  background: #25D366;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
  transition: transform 0.15s;
}

.btn-whatsapp-chat:hover {
  transform: translateY(-1px);
}

/* ---------------- SCREENSHOT AUTH FORM (WELCOME BACK) ---------------- */
.screenshot-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.label-with-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #006d5b;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

.input-lead-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
}

.clean-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 40px 11px 42px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.15s ease;
  font-family: inherit;
}

.clean-input:focus {
  border-color: #006d5b;
  box-shadow: 0 0 0 3px rgba(0, 109, 91, 0.12);
  outline: none;
}

.password-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-eye-btn:hover {
  color: #475569;
}

.checkbox-row {
  display: flex;
  align-items: center;
  margin-top: -2px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #006d5b;
  cursor: pointer;
}

/* Primary Teal Button */
.btn-primary-teal {
  background: #006d5b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary-teal:hover {
  background: #00594a;
}

.full-width-btn {
  width: 100%;
  margin-top: 4px;
}

/* SSO Row */
.or-separator {
  text-align: center;
  position: relative;
  margin: 10px 0;
}

.or-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.or-separator span {
  position: relative;
  background: #ffffff;
  padding: 0 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.sso-buttons-row {
  display: flex;
  gap: 12px;
}

.sso-btn {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.sso-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.request-account-footer {
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 6px;
}

.text-link-accent {
  color: #006d5b;
  font-weight: 700;
  text-decoration: none;
}

.text-link-accent:hover {
  text-decoration: underline;
}

/* Responsive Stacking */
@media (max-width: 860px) {
  .auth-card-container {
    flex-direction: column;
    max-width: 500px;
  }
  .auth-left-hero, .auth-right-panel {
    width: 100%;
    padding: 32px 24px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
}


