/* ============================================================
   One Corner Onboarding — Design System
   Pastel palette, mobile-first, modern & fluid
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Pastel Palette */
  --bg-primary: #FFF8F0;
  --bg-card: #FFFFFF;
  --bg-accent-lavender: #EDE7F6;
  --bg-accent-mint: #E8F5E9;
  --bg-accent-peach: #FFF3E0;
  --bg-accent-sky: #E3F2FD;
  --bg-accent-rose: #FCE4EC;
  --bg-illustration: linear-gradient(135deg, #E8D5F5 0%, #D4E7F7 50%, #F7E0D4 100%);

  /* Brand Colors (Matched to Logo) */
  --primary: #FFD600;
  --primary-light: #FFEA00;
  --primary-dark: #FBC02D;
  --bg-accent-lime: #E6FF91;
  --accent-red: #E53935;
  --accent-orange: #FB8C00;
  --accent-teal: #80CBC4;

  /* Text */
  --text-primary: #2D2D2D;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-light: #E5E7EB;
  --border-focus: var(--primary);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(255, 214, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(255, 214, 0, 0.15);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.04);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ---------- Layout ---------- */
.onboarding-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  align-items: flex-start; /* Required for sticky */
}

.onboarding-form-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-2xl);
  max-width: 640px;
  margin: 0 auto;
}

.onboarding-illustration-section {
  display: none;
  flex: 1;
  background: var(--bg-illustration);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.illustration-content {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.illustration-content .feature-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  animation: float 3s ease-in-out infinite;
}

.illustration-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.illustration-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 360px;
  line-height: 1.7;
}

.illustration-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  width: 100%;
  max-width: 340px;
}

.illustration-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal);
}

.illustration-feature-item:hover {
  transform: translateX(4px);
}

.illustration-feature-item .feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.illustration-feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Decorative blobs in illustration section */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(60px);
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  top: -50px;
  right: -80px;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--accent-coral);
  bottom: 10%;
  left: -40px;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--accent-teal);
  bottom: -60px;
  right: 20%;
}

/* ---------- Logo & Header ---------- */
.logo-section {
  margin-bottom: var(--space-2xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-primary);
}

/* ---------- Progress Indicator ---------- */
.progress-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-normal);
  background: var(--bg-card);
}

.progress-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.15);
}

.progress-dot.completed {
  border-color: var(--accent-teal);
  background: var(--accent-teal);
  color: var(--text-white);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  transition: background var(--transition-normal);
}

.progress-line.active {
  background: var(--primary-light);
}

.progress-line.completed {
  background: var(--accent-teal);
}

/* ---------- Step Content ---------- */
.step-container {
  position: relative;
  overflow: hidden;
}

.step {
  display: none;
  animation: fadeSlideIn 0.4s ease forwards;
}

.step.active {
  display: block;
}

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

.step-header {
  margin-bottom: var(--space-xl);
}

.step-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.step-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Form Elements ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(255, 138, 128, 0.1);
}

.form-group .error-text {
  color: var(--accent-coral);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group .error-text.visible {
  display: block;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239CA3AF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modern Product Selection Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.product-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  user-select: none;
}

.product-card:hover { 
  border-color: var(--primary); 
  background: var(--bg-accent-lime); 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md); 
}

.product-card.selected { 
  border-color: var(--primary); 
  background: #FFFDE7; 
  box-shadow: var(--shadow-md); 
}

.product-icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.product-title { display: block; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 2px; }
.product-desc { display: block; font-size: 0.75rem; color: var(--text-secondary); line-height: 1.3; }

.product-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.product-card.selected .product-check { 
  background: var(--primary); 
  border-color: var(--primary); 
}

.product-card.selected .product-check::after { 
  content: '✓'; 
  color: black; 
  font-size: 12px; 
  font-weight: 700; 
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* End of product grid styles */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}

.btn-secondary:hover {
  background: var(--bg-accent-lavender);
}

.btn-full {
  width: 100%;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.btn.loading .spinner {
  display: block;
}

.btn.loading .btn-text {
  opacity: 0.7;
}

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

/* ---------- Terms Text ---------- */
.terms-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.terms-text a {
  color: var(--primary);
  font-weight: 500;
}

/* ---------- Thank You / Success States ---------- */
.success-container {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.5rem;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-container h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.success-container p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Phase 3: Landing Page Modernization ---------- */
.stat-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card .stars {
  color: #FBC02D;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  background: var(--bg-accent-peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-card .author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-card .author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.additional-info-prompt {
  background: var(--bg-accent-lavender);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  text-align: left;
}

.additional-info-prompt h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.additional-info-prompt p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: none;
}

/* Final confirmation */
.final-confirmation {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.final-confirmation .contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  margin-top: var(--space-xl);
  display: inline-block;
}

.final-confirmation .contact-card p {
  font-size: 0.9rem;
}

/* ---------- Form Row (two columns) ---------- */
.form-row {
  display: flex;
  gap: var(--space-md);
}

.form-row .form-group {
  flex: 1;
}

/* ---------- Responsive ---------- */

/* Tablet and up */
@media (min-width: 768px) {
  .onboarding-form-section {
    padding: var(--space-3xl);
  }

  .form-row {
    flex-direction: row;
  }

  .step-header h1 {
    font-size: 2.2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .onboarding-container {
    flex-direction: row;
  }

  .onboarding-form-section {
    flex: 0 0 50%;
    max-width: 50%;
    padding: var(--space-3xl) clamp(2rem, 8vw, 8rem);
  }

  .onboarding-illustration-section {
    display: flex;
    flex: 0 0 50%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .onboarding-form-section {
    padding: var(--space-lg);
  }

  .step-header h1 {
    font-size: 1.6rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .progress-bar {
    margin-bottom: var(--space-xl);
  }

  .checkbox-chips {
    gap: var(--space-xs);
  }

  .chip {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .success-container h1 {
    font-size: 1.6rem;
  }

  .illustration-content h2 {
    font-size: 1.4rem;
  }

  /* Optimized for Mobile */
  .request-form-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .request-label {
    font-size: 1.2rem;
  }
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-primary);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform var(--transition-normal);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: var(--accent-coral);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
/* WhatsApp Redesign */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: none;
    z-index: 1001;
    width: 260px;
    border: 1px solid var(--border-light);
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.whatsapp-popup.show {
    display: block;
}

.whatsapp-popup h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-serif);
}

.whatsapp-popup p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.whatsapp-popup .btn {
    width: 100%;
    display: block;
    text-align: center;
    background-color: #25d366;
    border-color: #25d366;
    color: white !important;
}

/* Request Form Modernization */
.request-form-item {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.request-form-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.request-label {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  display: block;
}

.request-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.request-form-item .form-group {
    margin-bottom: 0;
}

.request-form-item input, 
.request-form-item textarea {
    background-color: var(--bg-primary);
    border-color: var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.request-form-item input:focus, 
.request-form-item textarea:focus {
    background-color: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.1);
}

/* Feature Cards Modernization */
.stat-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* ---------- Glass Loader Overlay ---------- */
.glass-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.glass-loader.show {
  display: flex;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

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