/* Modern Design System for SpellyCat Home Page */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --primary-50: #fff1f2;
  --primary-100: #ffe4e6;
  --primary-200: #fecdd3;
  --primary-300: #fda4af;
  --primary-400: #fb7185;
  --primary-500: #f43f5e;
  --primary-600: #e11d48;
  --primary-700: #be123c;
  --primary-800: #9f1239;
  --primary-900: #881337;

  --secondary-50: #f0fdf4;
  --secondary-100: #dcfce7;
  --secondary-200: #bbf7d0;
  --secondary-300: #86efac;
  --secondary-400: #4ade80;
  --secondary-500: #22c55e;
  --secondary-600: #16a34a;
  --secondary-700: #15803d;
  --secondary-800: #166534;
  --secondary-900: #14532d;

  --accent-50: #eff6ff;
  --accent-100: #dbeafe;
  --accent-200: #bfdbfe;
  --accent-300: #93c5fd;
  --accent-400: #60a5fa;
  --accent-500: #3b82f6;
  --accent-600: #2563eb;
  --accent-700: #1d4ed8;
  --accent-800: #1e40af;
  --accent-900: #1e3a8a;

  /* Neutral colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Container sizes */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  line-height: var(--leading-normal);
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Hero Section */
.hero-section {
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
}

.hero-welcome {
  padding: var(--space-12) 0 var(--space-8);
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

/* Hero Header */
.hero-header {
  margin-bottom: var(--space-12);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.logo-icon {
  font-size: var(--text-5xl);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.brand-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--primary-600);
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-animation {
  margin: var(--space-6) 0;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-mascot {
  display: inline-block;
  animation: gentle-bounce 3s ease-in-out infinite;
}

.cat-face {
  font-size: 3rem;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

@keyframes gentle-bounce {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-8px) scale(1.05); 
  }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  font-weight: 400;
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Welcome Back Card */
.welcome-back-card {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  max-width: 42rem;
  margin: 0 auto;
}

.welcome-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  text-align: left;
}

.user-avatar {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-200);
}

.user-icon {
  font-size: var(--text-2xl);
}

.welcome-content h1 {
  font-family: var(--font-family-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--leading-tight);
}

.user-name {
  color: var(--primary-600);
}

.welcome-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin: 0;
}

.welcome-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Auth Section */
.auth-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-12);
}

.auth-existing,
.auth-new {
  text-align: center;
}

.auth-heading {
  font-family: var(--font-family-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 var(--space-6) 0;
  line-height: var(--leading-tight);
}

.auth-divider {
  position: relative;
  height: 1px;
  background: var(--gray-200);
  width: 4rem;
}

.divider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .auth-section {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .auth-divider {
    width: 100%;
  }
}

/* Features Section */
.features-section {
  padding: var(--space-16) 0;
  background: white;
  margin: var(--space-12) 0;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}

.features-content {
  max-width: 64rem;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 var(--space-6) 0;
  line-height: var(--leading-tight);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  margin: 0;
  line-height: var(--leading-relaxed);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 54rem;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.feature-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  display: block;
}

.feature-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 var(--space-3) 0;
}

.feature-description {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: var(--space-16) 0;
  text-align: center;
}

.cta-content {
  max-width: 36rem;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 var(--space-4) 0;
  line-height: var(--leading-tight);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin: 0 0 var(--space-8) 0;
  line-height: var(--leading-relaxed);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.cta-note {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-style: italic;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-primary {
  background: var(--accent-600);
  color: white;
  border-color: var(--accent-600);
}

.btn-primary:hover {
  background: var(--accent-700);
  border-color: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-success {
  background: var(--secondary-600);
  color: white;
  border-color: var(--secondary-600);
}

.btn-success:hover {
  background: var(--secondary-700);
  border-color: var(--secondary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: white;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-admin {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
}

.btn-admin:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
}

.btn-icon {
  font-size: 1.1em;
  margin-right: var(--space-1);
}

/* Admin Section */
.admin-section {
  padding: var(--space-8) 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  margin-top: var(--space-8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .brand-title {
    font-size: var(--text-4xl);
  }
  
  .logo-icon {
    font-size: var(--text-4xl);
  }
  
  .cat-face {
    font-size: var(--text-5xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .section-subtitle {
    font-size: var(--text-lg);
  }
  
  .cta-title {
    font-size: var(--text-3xl);
  }
  
  .cta-subtitle {
    font-size: var(--text-lg);
  }
  
  .welcome-header {
    flex-direction: column;
    text-align: center;
  }
  
  .welcome-content h1 {
    font-size: var(--text-2xl);
  }
  
  .welcome-back-card {
    padding: var(--space-8);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .welcome-actions {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: var(--space-12) 0 var(--space-8);
  }
  
  .features-section {
    padding: var(--space-12) 0;
    margin: var(--space-8) 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: var(--space-12) 0;
  }
}

/* Tablet optimization for 3-column layout */
@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid {
    gap: var(--space-4);
  }
  
  .feature-card {
    padding: var(--space-5);
  }
}

/* Animation improvements */
@media (prefers-reduced-motion: reduce) {
  .cat-mascot {
    animation: none;
  }
  
  .feature-card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}

/* Focus improvements for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
  .feature-card {
    border-width: 2px;
  }
  
  .btn {
    border-width: 2px;
  }
}
/* Spelling Tracker Styles - Converted from original JavaScript application */

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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.header h1 {
    font-size: 2.5em;
    color: #ff6b9d;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header h2 {
    font-size: 2em;
    color: #ff6b9d;
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #4ecdc4;
    color: white;
}

.btn-primary:hover {
    background: #45b7aa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ff9a9e;
    color: white;
}

.btn-secondary:hover {
    background: #ff6b9d;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.admin-btn {
    background: #6c757d;
    color: white;
}

.admin-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Cat Animation */
.cat-animation {
    margin: 20px 0;
}

.cat {
    display: inline-block;
    animation: bounce 2s infinite;
}

.cat-face {
    font-size: 4em;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* User Management */
.user-management {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .user-management {
        grid-template-columns: 2fr 1fr;
    }
}

.existing-users h3,
.add-user-section h3 {
    color: #ff6b9d;
    margin-bottom: 20px;
    font-size: 1.5em;
}

/* User List */
.user-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.user-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #ff9a9e;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    background: linear-gradient(145deg, #fff5f8, #ffe8f0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icon {
    font-size: 2em;
}

.user-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.user-theme {
    font-size: 0.9em;
    color: #666;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.no-users {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Form Styles */
.user-form {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.user-form input[type="text"],
.user-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
}

.user-form input[type="text"]:focus,
.user-form select:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

/* Admin Section */
.admin-section {
    text-align: center;
    margin-top: 30px;
}

/* Theme-specific styles */
.user-card[data-theme="cat"] {
    border-color: #ff9a9e;
}

.user-card[data-theme="dog"] {
    border-color: #ffa726;
}

.user-card[data-theme="star"] {
    border-color: #ffeb3b;
}

.user-card[data-theme="rainbow"] {
    border-color: #e91e63;
    background: linear-gradient(145deg, #fff, #f8f9fa);
}

/* Dashboard Styles */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.tab-btn.active {
    background: #ff9a9e;
    color: white;
    border-color: #ff6b9d;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Tab Content */
.tab-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #ff9a9e;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stat-card h4 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 10px;
}

.stat-list {
    font-size: 0.9em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .user-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .dashboard-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}

/* Practice Mode Styles */
.practice-area {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
}

.word-display {
    margin-bottom: 40px;
}

.current-word {
    font-size: 3em;
    font-weight: bold;
    color: #ff6b9d;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-progress {
    font-size: 1.2em;
    color: #666;
    font-weight: bold;
}

.spelling-input {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.spelling-input input {
    padding: 15px;
    font-size: 1.5em;
    border: 3px solid #ff9a9e;
    border-radius: 15px;
    text-align: center;
    min-width: 300px;
    font-family: inherit;
}

.spelling-input input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

.feedback {
    margin: 30px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 15px;
    padding: 20px;
}

.feedback.correct {
    background: linear-gradient(145deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 2px solid #28a745;
}

.feedback.incorrect {
    background: linear-gradient(145deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #dc3545;
}

.feedback.neutral {
    background: linear-gradient(145deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 2px solid #ffc107;
}

/* Alerts and Notifications */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: bold;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

/* Global application styles that take precedence */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 0;
}

/* Override old styles that conflict with modern design */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  background: linear-gradient(135deg, #f9fafb 0%, #fff1f2 100%) !important;
  min-height: 100vh;
  color: #111827;
}
