/* main.css */
:root {
  /* Colors - Modern, professional palette */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --success: #059669;
  --warning: #eab308;
  --error: #dc2626;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  
  /* Accents */
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  
  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--background);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: var(--space-8) auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container {
    margin: var(--space-4) auto;
  }
}

/* Typography */
h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

/* Wizard Container */
.wizard {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.wizard-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: var(--space-8) var(--space-6);
  position: relative;
}

.wizard-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
}

.wizard-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  /* Ensure full opacity for main title */
  color: rgba(255, 255, 255, 1);
}

.wizard-subtitle {
  font-size: 1rem;
  /* Increased opacity for better contrast */
  color: rgba(255, 255, 255, 0.95);
  /* Optional: add subtle text shadow for better legibility */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wizard-content {
  padding: var(--space-6);
}

/* Progress Bar */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-top: var(--space-4);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-light);
  transition: width 0.4s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

/* Step Content Animation */
.step-content {
  animation: fadeIn 0.3s ease-out;
}

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

/* Utility Classes */
.hidden {
  display: none !important;
}

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

.mt-auto {
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wizard-header {
    padding: var(--space-6) var(--space-4);
  }
  
  .wizard-content {
    padding: var(--space-4);
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
}