/* ==========================================================================
   ResumeAI - Resume Screening System
   Modern Glassmorphic Dark UI Theme
   Author: Suyash Vakhariya (AIML A6 AUG 11681)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: rgba(15, 23, 42, 0.7);
  --border-subtle: rgba(99, 102, 241, 0.16);
  --border-hover: rgba(99, 102, 241, 0.45);
  --border-active: #6366f1;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-purple: #a78bfa;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.18);
  --warning: #f59e0b;
  --warning-glow: rgba(245, 158, 11, 0.18);
  --danger: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.18);
  --glow-indigo: rgba(99, 102, 241, 0.35);
  --glow-violet: rgba(139, 92, 246, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background animated glow mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 70% 50% at 10% 15%, rgba(99, 102, 241, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 70% at 90% 85%, rgba(139, 92, 246, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(6, 182, 212, 0.035), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* App Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Sidebar Styles */
.sidebar {
  width: 380px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0c1122 0%, #0a0e1a 100%);
  border-right: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-violet), var(--accent-cyan));
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--glow-indigo);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.brand-text h1 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.brand-text p {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.control-group {
  margin-bottom: 22px;
}

.group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
}

.sub-actions {
  display: flex;
  gap: 6px;
}

.sub-btn {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-purple);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: #fff;
}

/* File Upload Zone */
.upload-zone {
  border: 2px dashed var(--border-subtle);
  background: rgba(17, 24, 39, 0.5);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.12);
}

.upload-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px auto;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-prompt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.file-info {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

/* Preset Selectors */
.select-input,
.text-area {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  transition: all 0.25s ease;
  outline: none;
}

.select-input:focus,
.text-area:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.text-area {
  resize: vertical;
  min-height: 160px;
  line-height: 1.5;
}

/* Primary Action Button */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 13px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px var(--glow-indigo);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 10px;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

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

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-footer a {
  color: var(--accent-purple);
  text-decoration: none;
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 32px 40px;
  overflow-y: auto;
  max-width: 1300px;
}

/* Welcome Hero Screen */
.hero-view {
  text-align: center;
  padding: 40px 10px;
  animation: fadeIn 0.6s ease;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-purple);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #f8fafc 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.hero-desc {
  max-width: 660px;
  margin: 0 auto 38px auto;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3-Step Process Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 0 auto 40px auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}

.step-num-1 { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.step-num-2 { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
.step-num-3 { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }

.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Pills */
.features-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 44px auto;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.feature-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-indigo);
}

/* Metric Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-desc {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Results Dashboard View
   ========================================================================== */
.results-view {
  display: none;
  animation: fadeIn 0.4s ease;
}

.results-header-bar {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.results-title-group h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-primary);
}

.results-title-group p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.badge-strong {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px var(--success-glow);
}

.badge-moderate {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 20px var(--warning-glow);
}

.badge-weak {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0.08));
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 20px var(--danger-glow);
}

/* Tab Navigation */
.tabs-container {
  display: flex;
  gap: 6px;
  background: rgba(17, 24, 39, 0.6);
  padding: 5px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  color: #fff;
  box-shadow: 0 4px 14px var(--glow-indigo);
}

/* Tab Contents */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

/* Grid Layouts in Tabs */
.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 24px;
  margin-bottom: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.card-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gauge Meter Component */
.gauge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.gauge-svg {
  width: 260px;
  height: 160px;
  overflow: visible;
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 15;
  stroke-linecap: round;
}

.gauge-progress {
  fill: none;
  stroke-width: 15;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-value-text {
  font-size: 32px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  fill: #ffffff;
  letter-spacing: -0.5px;
}

.gauge-label-text {
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
  fill: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Metric Cards */
.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.3s ease;
}

.metric-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* Skills Badges and Lists */
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease;
}

.skill-tag:hover {
  transform: translateY(-1px) scale(1.03);
}

.tag-matched {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0.06));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tag-missing {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.06));
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.tag-extra {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.08));
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

/* Skill Hero Banner */
.skill-hero {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.skill-hero-num {
  font-size: 54px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.skill-hero-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Info Cards for Candidate */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.profile-card .p-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.profile-card .p-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
  word-break: break-all;
}

/* Category Breakdown Table / Progress */
.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-row:last-child {
  border-bottom: none;
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  width: 180px;
}

.category-bar-wrapper {
  flex: 1;
  margin: 0 16px;
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  width: 60px;
  text-align: right;
}

/* ML Model Comparison and Confusion Matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: 100px repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.matrix-cell {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.matrix-header {
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.matrix-cell.highlight {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* Feature Importance Bar */
.feature-row-item {
  margin-bottom: 14px;
}

.feature-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-title {
  color: var(--text-secondary);
}

.feature-score {
  color: var(--accent-purple);
}

/* Raw Extracted Text Viewer */
.raw-text-box {
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #cbd5e1;
  white-space: pre-wrap;
  max-height: 420px;
  overflow-y: auto;
  line-height: 1.6;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loading-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(99, 102, 241, 0.2);
  border-top-color: var(--accent-indigo);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

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

.loading-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* Responsive adjustments */
@media (max-width: 1080px) {
  .app-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .main-content {
    padding: 24px 18px;
  }
  .steps-grid,
  .grid-2,
  .grid-4,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
