/* ===== CLABR DASHBOARD — account.clabr.ai ===== */
/* Dark theme matching main app, indigo accents    */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Roboto+Slab:wght@400;600;700;800&display=swap');

:root {
  --bg: #0f0f1a;
  --bg-elevated: #161625;
  --bg-card: #1c1c30;
  --bg-input: #22223a;
  --bg-hover: #252542;

  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --indigo-pale: #a5b4fc;
  --indigo-dim: rgba(99, 102, 241, 0.12);
  --indigo-glow: rgba(99, 102, 241, 0.25);

  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --orange: #f59e0b;
  --orange-dim: rgba(245, 158, 11, 0.12);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.12);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.12);
  --purple: #a78bfa;
  --purple-dim: rgba(167, 139, 250, 0.12);

  --text: #e8e8f0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dim: #4b5563;

  --border: rgba(99, 102, 241, 0.15);
  --border-strong: rgba(99, 102, 241, 0.3);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Roboto Slab', Georgia, serif;

  --sidebar-width: 260px;
  --header-height: 72px;

  --transition: 0.2s ease;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--indigo-glow); border-radius: 3px; }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(99, 102, 241, 0.08), transparent 60%),
    var(--bg);
  z-index: 0;
}

.login-grid-pattern {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  z-index: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: 92vw;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.08) inset;
  animation: loginFadeIn 0.6s ease-out;
}

@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--indigo-light);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.login-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.login-features {
  text-align: left;
  margin: 24px 0 0;
  padding: 20px;
  background: var(--indigo-dim);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.login-features h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-pale);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.login-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.login-feature-item span:first-child {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: #5558e6;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-google {
  width: 100%;
  padding: 14px 24px;
  background: #fff;
  color: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-google:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-google svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  background: var(--indigo-dim);
  color: var(--indigo-pale);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--indigo-glow);
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ===== DASHBOARD LAYOUT ===== */
.dash-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 0 20px;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.sidebar-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.sidebar-logo h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--indigo-light);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.sidebar-logo span {
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0 12px 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.sidebar-link:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-link.active {
  background: var(--indigo-dim);
  color: var(--indigo-pale);
}

.sidebar-link .icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
}

.sidebar-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--indigo-dim);
  color: var(--indigo-light);
}

.sidebar-badge.green { background: var(--green-dim); color: var(--green); }

.sidebar-user {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== TOP-RIGHT CONTROLS (theme + lang) ===== */
.top-right-controls {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-flag-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  padding: 0;
}

.lang-flag-btn:hover {
  border-color: var(--border-strong);
  transform: scale(1.1);
}

.lang-flag-btn.active {
  border-color: var(--indigo);
  box-shadow: 0 0 0 2px var(--indigo-dim);
}

.theme-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--border-strong);
  transform: scale(1.1);
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--indigo);
  background: var(--indigo-dim);
}

.sidebar-avatar-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--indigo-dim);
  border: 2px solid var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo-pale);
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-type {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.page-header {
  padding: 0 40px;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  flex-shrink: 0;
  gap: 16px;
}

.page-header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.page-header-action {
  flex-shrink: 0;
  margin-right: 160px; /* space for top-right controls (map + flags + theme) */
}

.page-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.page-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.page-body {
  padding: 32px 40px;
  max-width: 860px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

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

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-dim);
}

.form-input::placeholder {
  color: var(--text-dim);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

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

/* ===== TOGGLE ===== */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}

.toggle-wrap:hover { border-color: var(--border-strong); }

.toggle-wrap.active {
  border-color: var(--purple);
  background: var(--purple-dim);
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--text-dim);
  border-radius: 12px;
  transition: background var(--transition);
  flex-shrink: 0;
}

.toggle.on { background: var(--purple); }

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle.on::after { transform: translateX(20px); }

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.toggle-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tag-indigo { background: var(--indigo-dim); color: var(--indigo-pale); }
.tag-green { background: var(--green-dim); color: var(--green); }
.tag-orange { background: var(--orange-dim); color: var(--orange); }
.tag-blue { background: var(--blue-dim); color: var(--blue); }
.tag-purple { background: var(--purple-dim); color: var(--purple); }

/* ===== STATUS BADGE ===== */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.active { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.expired { background: var(--red); }
.status-dot.draft { background: var(--text-dim); }

/* ===== PROMOTION CARDS (list view) ===== */
.promo-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: background var(--transition);
  cursor: pointer;
}

.promo-card:hover { background: var(--bg-hover); }

.promo-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.promo-card.type-job .promo-type { color: var(--green); }
.promo-card.type-event .promo-type { color: var(--blue); }
.promo-card.type-ad .promo-type { color: var(--orange); }

.promo-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.promo-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.promo-stats {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.promo-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.promo-stat-label {
  font-size: 11px;
  color: var(--text-dim);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state .icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ===== AVATAR UPLOAD ===== */
.avatar-edit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.avatar-preview {
  position: relative;
}

.avatar-preview img,
.avatar-preview .avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--indigo);
}

.avatar-placeholder {
  background: var(--indigo-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--indigo-pale);
}

.avatar-edit-btn {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--indigo);
  border: 3px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #fff;
}

/* ===== ACCOUNT TYPE SELECTOR ===== */
.account-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.account-type-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.account-type-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-hover);
}

.account-type-card.selected {
  border-color: var(--indigo);
  background: var(--indigo-dim);
}

.account-type-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.account-type-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.account-type-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== MOBILE ===== */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}

.mobile-header h1 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--indigo-light);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

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

  .sidebar-overlay.open {
    display: block;
  }

  .mobile-header {
    display: flex;
  }

  .main-content {
    margin-left: 0;
  }

  .page-header {
    padding: 24px 20px 16px;
  }

  .page-header h2 { font-size: 22px; }

  .page-body {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .account-type-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 36px 24px;
  }
}

/* ===== SKELETON LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-hover) 50%, var(--bg-input) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  animation: toastIn 0.3s ease-out;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }

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

/* ===== STEPPER (onboarding wizard) ===== */
.stepper {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.stepper-step {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--indigo-dim);
  transition: background var(--transition);
}

.stepper-step.active {
  background: var(--indigo);
}

.stepper-step.done {
  background: var(--green);
}

/* ===== CITY AUTOCOMPLETE ===== */
.city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
}

.city-dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.city-dropdown-item:last-child {
  border-bottom: none;
}

.city-dropdown-item:hover {
  background: var(--bg-hover);
}

.city-dropdown-item .city-name {
  font-weight: 600;
}

.city-dropdown-item .city-region {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== EXPERTISE CHIPS (dashboard) ===== */
.exp-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--indigo-dim);
  color: var(--indigo-pale);
  transition: all var(--transition);
}

.exp-chip:hover {
  border-color: var(--border-strong);
  background: var(--indigo-glow);
}

.exp-chip.selected {
  border-color: var(--green);
  background: var(--green-dim);
  color: var(--green);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg: #f5f5f8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f0f0f5;
  --bg-hover: #eeeef4;

  --indigo: #6366f1;
  --indigo-light: #4f46e5;
  --indigo-pale: #6366f1;
  --indigo-dim: rgba(99, 102, 241, 0.08);
  --indigo-glow: rgba(99, 102, 241, 0.15);

  --text: #1a1a2e;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .login-bg {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.1), transparent 70%), var(--bg);
}

[data-theme="light"] .login-grid-pattern {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .login-card {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

[data-theme="light"] .sidebar {
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-google {
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .toast {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
