/* style.css - Zanite IntelliCore Main Styles */

:root {
  --primary: #00D2FF;
  --primary-700: #0099CC;
  --primary-foreground: #FFFFFF;
  --secondary: #8A94A6;
  --secondary-light: #E2E8F0;
  --accent: #7000FF;
  --accent-success: #00FFB2;
  --bg: #0A0C10;
  --surface: #12161C;
  --muted: #1A1F26;
  --text: #E8EDF2;
  --subtext: #8A94A6;
  --border: rgba(0, 210, 255, 0.12);
  --shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 210, 255, 0.05);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.4);
  --danger: #FF3366;
  --danger-700: #CC0044;
  --success: #00FFB2;
  --success-700: #00CC8F;
  --warning: #FFB800;
  --warning-700: #CC9200;
  --info: #00D2FF;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --transition-slow: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --glow: 0 0 20px rgba(0, 210, 255, 0.3);
  --glow-strong: 0 0 30px rgba(0, 210, 255, 0.5);
  --glow-accent: 0 0 20px rgba(112, 0, 255, 0.3);
  --glow-success: 0 0 20px rgba(0, 255, 178, 0.3);
}

@media (prefers-color-scheme: light) {
  :root {
    --primary: #0088CC;
    --primary-700: #006699;
    --primary-foreground: #FFFFFF;
    --secondary: #6B7280;
    --secondary-light: #E5E7EB;
    --accent: #5B00CC;
    --accent-success: #00CC8F;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --muted: #F1F5F9;
    --text: #0F172A;
    --subtext: #64748B;
    --border: rgba(0, 136, 204, 0.15);
    --shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 136, 204, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.1);
    --danger: #E53E3E;
    --danger-700: #C53030;
    --success: #00CC8F;
    --success-700: #00996B;
    --warning: #ED8936;
    --warning-700: #C05621;
    --info: #0088CC;
    --glow: 0 0 20px rgba(0, 136, 204, 0.2);
    --glow-strong: 0 0 30px rgba(0, 136, 204, 0.35);
    --glow-accent: 0 0 20px rgba(91, 0, 204, 0.2);
    --glow-success: 0 0 20px rgba(0, 204, 143, 0.2);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #00D2FF;
    --primary-700: #0099CC;
    --primary-foreground: #FFFFFF;
    --secondary: #8A94A6;
    --secondary-light: #2A2F3A;
    --accent: #7000FF;
    --accent-success: #00FFB2;
    --bg: #0A0C10;
    --surface: #12161C;
    --muted: #1A1F26;
    --text: #E8EDF2;
    --subtext: #8A94A6;
    --border: rgba(0, 210, 255, 0.12);
    --shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 210, 255, 0.05);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.4);
    --danger: #FF3366;
    --danger-700: #CC0044;
    --success: #00FFB2;
    --success-700: #00CC8F;
    --warning: #FFB800;
    --warning-700: #CC9200;
    --info: #00D2FF;
    --glow: 0 0 20px rgba(0, 210, 255, 0.3);
    --glow-strong: 0 0 30px rgba(0, 210, 255, 0.5);
    --glow-accent: 0 0 20px rgba(112, 0, 255, 0.3);
    --glow-success: 0 0 20px rgba(0, 255, 178, 0.3);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.app-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.glass-nav {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.glass-nav:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow-ig);
}

.hamburger-btn {
  background: var(--subtext);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hamburger-btn:hover {
  background: var(--text);
  border-color: var(--primary);
  transform: scale(1.05);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  padding: 2px;
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--subtext));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo-text span {
  font-weight: 600;
  background: linear-gradient(135deg, var(--text), var(--subtext));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-tag {
  font-size: 0.75rem;
  color: var(--subtext);
  letter-spacing: 0.3px;
}

.header-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn-outline-sm {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  border: 1px solid var(--border);
  color: var(--bg);
  padding: 0.625rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

.btn-outline-sm:hover {
  background: linear-gradient(135deg, var(--surface), var(--muted));
  color: var(--accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-mg);
}

.btn-outline-sm:active {
  transform: translateY(0);
}

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--subtext);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.secondary-val {
  color: var(--text);
  font-size: 2rem;
}

.stat-status {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.stat-status.strong {
  background: var(--success);
  color: var(--bg);
}

.stat-status.growing {
  background: var(--primary);
  color: var(--bg);
}

.stat-status.stable {
  background: var(--warning);
  color: var(--bg);
}

.stat-status.weak {
  background: var(--danger);
  color: white;
}

.charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.chart-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.trend-indicator {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.5rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  text-align: center;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.insight-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.insight-panel h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.insight-panel ul {
  list-style: none;
}

.insight-panel li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.recommendation-section {
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: 0.85rem;
  color: var(--subtext);
}

.recommendations-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.rec-card {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.rec-card.priority-high {
  border-left-color: var(--danger);
}

.rec-card.priority-medium {
  border-left-color: var(--warning);
}

.rec-card.priority-low {
  border-left-color: var(--success);
}

.rec-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.priority-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--muted);
}

.rec-desc {
  font-size: 0.85rem;
  color: var(--subtext);
  margin-bottom: 0.75rem;
}

.step-list {
  list-style: none;
  padding-left: 0;
}

.step-list li {
  font-size: 0.8rem;
  padding: 0.25rem 0;
  color: var(--text);
}

.action-tracker {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.action-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.progress-bar-bg {
  background: var(--muted);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--accent-success));
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.checklist-ul {
  list-style: none;
  margin: 1rem 0;
  max-height: 300px;
  overflow-y: auto;
}

.checklist-item {
  padding: 0.75rem;
  margin: 0.5rem 0;
  background: var(--muted);
  border-radius: var(--radius-sm);
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.btn-primary-sm {
  background: var(--primary);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.growth-tracker {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.growth-badge {
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--success);
}

.report-section {
  text-align: center;
  margin-bottom: 2rem;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow);
}

.btn-glow:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-strong);
}

.questionnaire-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  flex: 1;
}

.questionnaire-wrapper p {
  margin-bottom: 10px;
}

.questionnaire-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 650px;
  width: 100%;
  border: 1px solid var(--border);
}

.step-badge {
  display: flex;
  justify-content: center;
  background: var(--primary);
  color: var(--bg);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.questionnaire-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.2);
}

.btn-primary-full {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-primary-full:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.zanite-footer {
  margin-top: 3rem;
  padding: 2rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--muted) 100%);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.zanite-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-success), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.footer-copyright {
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.3px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.footer-copyright:first-of-type {
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent-success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.footer-copyright:last-of-type {
  font-size: 1rem;
  color: var(--subtext);
  font-style: italic;
  margin-top: 0.25rem;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-success);
}

.footer-link:hover::before {
  transform: scaleX(1);
}

/* Add these styles to the END of your existing style.css file */

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 1000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.close-sidebar-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.close-sidebar-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.sidebar-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--subtext);
  margin-bottom: 1rem;
  font-weight: 600;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.no-history {
  text-align: center;
  color: var(--subtext);
  font-size: 0.9rem;
  padding: 2rem 0;
}

.history-item {
  background: var(--muted);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.history-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.history-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.history-item-score {
  background: var(--primary);
  color: var(--bg);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.history-item-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--subtext);
  margin-bottom: 0.75rem;
}

.history-item-actions {
  display: flex;
  gap: 0.5rem;
}

.history-item-actions button {
  flex: 1;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.history-item-actions button:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--danger);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.logout-btn:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Navigation & Header Updates */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hamburger-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.account-btn {
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.account-btn:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

/* Login Screen */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  flex: 1;
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 450px;
  width: 100%;
  border: 1px solid var(--border);
  text-align: center;
}

.login-logo {
  margin-bottom: 1.5rem;
}

.login-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-subtitle {
  color: var(--subtext);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.login-form {
  text-align: left;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--subtext);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider span {
  padding: 0 1rem;
  font-size: 0.85rem;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-google:hover {
  background: var(--muted);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.toggle-auth {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--subtext);
}

.toggle-auth a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.toggle-auth a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.3rem;
  color: var(--primary);
}

.close-modal-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-modal-btn:hover {
  background: var(--muted);
  border-color: var(--danger);
  color: var(--danger);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.account-info {
  display: flex;
  gap: 1.5rem;
}

.account-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.account-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.account-details strong {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Report download section */
.download-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.report-selection {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.report-selection h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.report-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.report-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.report-checkbox-item input[type="checkbox"] {
  accent-color: var(--primary);
}

.report-checkbox-item label {
  flex: 1;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Form hints */
.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--subtext);
}

/* Glass card utility */
.glass-card {
  box-shadow: var(--shadow);
}