/* ==========================================================================
   GISA CARE AND EMPOWERMENT FOUNDATION - OFFICIAL REGISTRATION PORTAL
   Design System, Components, Layouts, Forms, and Print Rules
   ========================================================================== */

/* --- Google Fonts & Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Core Colors (Derived from official GISA flyer & logo) */
  --navy-950: #051329;
  --navy-900: #0a1f3d;
  --navy-800: #102d57;
  --navy-700: #194077;
  --navy-600: #235499;
  --navy-100: #e8f0fe;
  --navy-50:  #f3f7fd;

  --violet-700: #6b21a8;
  --violet-600: #7e22ce;
  --violet-500: #9333ea;
  --violet-100: #f3e8ff;
  --violet-50:  #faf5ff;

  --cyan-700: #0369a1;
  --cyan-600: #0284c7;
  --cyan-500: #06b6d4;
  --cyan-100: #e0f2fe;
  --cyan-50:  #f0f9ff;

  --emerald-700: #15803d;
  --emerald-600: #16a34a;
  --emerald-500: #22c55e;
  --emerald-100: #dcfce7;
  --emerald-50:  #f0fdf4;

  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  /* Theme Tokens (Light Default) */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  --primary: var(--navy-800);
  --primary-hover: var(--navy-900);
  --primary-light: var(--navy-50);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-colored: 0 12px 30px -8px rgba(18, 51, 92, 0.2);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-page: #070d18;
  --bg-surface: #0c182b;
  --bg-surface-elevated: #11223b;
  --bg-surface-subtle: #162a47;
  --border-color: #1e3557;
  --border-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --text-inverse: #070d18;

  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --primary-light: rgba(56, 189, 248, 0.12);

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 16px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-colored: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

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

a:hover {
  color: var(--cyan-700);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Top Header Bar & Navigation
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #0b2545, #12335c, #0b2545);
  color: #e2e8f0;
  font-size: 0.825rem;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(22, 163, 74, 0.25);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.notice-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.notice-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.notice-contact-item:hover {
  color: #ffffff;
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-btn {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  color: var(--text-main);
  background-color: var(--bg-surface-subtle);
}

.nav-btn.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--text-subtle);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(126, 34, 206, 0.08) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(126, 34, 206, 0.12));
  color: var(--cyan-700);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

[data-theme="dark"] .hero-tag {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.15;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #0284c7 0%, #7e22ce 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-pillars-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.pillar-chip:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-sm);
}

.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pillar-dot.health { background-color: #16a34a; }
.pillar-dot.safety { background-color: #0284c7; }
.pillar-dot.protection { background-color: #7e22ce; }
.pillar-dot.future { background-color: #f59e0b; }

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #102d57, #194077);
  color: #ffffff;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.975rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-colored);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(18, 51, 92, 0.35);
  background: linear-gradient(135deg, #0a1f3d, #12335c);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--text-subtle);
  transform: translateY(-1px);
}

/* Hero Media Showcase */
.hero-media-wrapper {
  position: relative;
}

.media-stack {
  position: relative;
  width: 100%;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--border-color);
  background-color: var(--bg-surface);
}

.hero-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.hero-caption-box {
  padding: 1.25rem 1.5rem;
}

.hero-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.hero-caption-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.floating-impact-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.impact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.impact-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
}

.impact-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Notice & Disclaimer Callout
   ========================================================================== */
.disclaimer-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(126, 34, 206, 0.05));
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: var(--cyan-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.disclaimer-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.disclaimer-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Category Selector Cards Grid
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan-600);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.category-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--card-color, var(--cyan-600));
  transition: height var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-color, var(--cyan-600));
  box-shadow: var(--shadow-xl);
}

.category-card:hover::before {
  height: 7px;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--card-color, var(--cyan-600));
  background: var(--card-bg, rgba(2, 132, 199, 0.1));
}

.card-form-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--card-bg, rgba(2, 132, 199, 0.1));
  color: var(--card-color, var(--cyan-600));
}

.category-card-title {
  font-size: 1.225rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.category-card-purpose {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta-list {
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-meta-item svg {
  color: var(--card-color, var(--cyan-600));
}

.btn-card-start {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1.5px solid var(--card-color, var(--cyan-600));
  color: var(--card-color, var(--cyan-600));
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-card:hover .btn-card-start {
  background: var(--card-color, var(--cyan-600));
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Interactive Category Finder Helper
   ========================================================================== */
.finder-card {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-elevated));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
}

.finder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.finder-header-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.finder-header-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.finder-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.finder-pill-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-lg);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.finder-pill-btn:hover {
  border-color: var(--cyan-500);
  background: var(--cyan-50);
  transform: translateY(-2px);
}

[data-theme="dark"] .finder-pill-btn:hover {
  background: rgba(6, 182, 212, 0.15);
}

.finder-pill-btn strong {
  font-size: 0.9rem;
}

.finder-pill-btn span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Registration Wizard Container
   ========================================================================== */
.wizard-wrapper {
  max-width: 920px;
  margin: 0 auto 4rem;
}

.wizard-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-home:hover {
  color: var(--text-main);
  border-color: var(--text-subtle);
  background: var(--bg-surface-subtle);
}

.wizard-autosave-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .wizard-autosave-indicator {
  background: rgba(22, 163, 74, 0.15);
}

/* Wizard Header Banner */
.wizard-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wizard-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: var(--wizard-theme-color, var(--cyan-600));
}

.wizard-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  background: var(--wizard-theme-bg, rgba(2, 132, 199, 0.1));
  color: var(--wizard-theme-color, var(--cyan-600));
}

.wizard-banner-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.wizard-banner-purpose {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Step Progress Indicator */
.steps-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.steps-track-line {
  position: absolute;
  top: 22px;
  left: 3rem;
  right: 3rem;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
}

.steps-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-500), var(--violet-600));
  width: 0%;
  transition: width var(--transition-normal);
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: center;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2.5px solid var(--border-color);
  color: var(--text-subtle);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.step-node.completed .step-circle {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  color: #ffffff;
}

.step-node.active .step-circle {
  background: var(--wizard-theme-color, var(--cyan-600));
  border-color: var(--wizard-theme-color, var(--cyan-600));
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 0 5px var(--wizard-theme-bg, rgba(2, 132, 199, 0.2));
}

.step-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-subtle);
  max-width: 90px;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.step-node.active .step-label {
  color: var(--text-main);
  font-weight: 700;
}

/* Wizard Form Body Card */
.wizard-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.section-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--border-color);
  margin-bottom: 1.75rem;
}

.section-number-pill {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--wizard-theme-bg, rgba(2, 132, 199, 0.1));
  color: var(--wizard-theme-color, var(--cyan-600));
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-legend h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-legend p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form Fields & Grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.required-star {
  color: #ef4444;
  font-size: 1rem;
}

.optional-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-subtle);
  background: var(--bg-surface-subtle);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
  color: var(--text-subtle);
  opacity: 0.7;
}

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

select.form-control {
  cursor: pointer;
}

/* Radio Cards & Groups */
.radio-group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-card:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--cyan-600);
}

.radio-card input[type="radio"] {
  accent-color: var(--cyan-600);
  width: 18px;
  height: 18px;
}

.radio-card.selected {
  border-color: var(--cyan-600);
  background-color: var(--cyan-50);
}

[data-theme="dark"] .radio-card.selected {
  background-color: rgba(6, 182, 212, 0.12);
}

/* Multi-select Chips (Checkboxes) */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-color);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.chip-label input[type="checkbox"] {
  accent-color: var(--cyan-600);
  width: 16px;
  height: 16px;
}

.chip-label:hover {
  border-color: var(--cyan-500);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.chip-label.checked {
  background: var(--cyan-50);
  border-color: var(--cyan-600);
  color: var(--cyan-700);
  font-weight: 700;
}

[data-theme="dark"] .chip-label.checked {
  background: rgba(6, 182, 212, 0.18);
  color: #38bdf8;
  border-color: #38bdf8;
}

/* File Upload Zone */
.upload-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  background-color: var(--bg-surface-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.upload-dropzone:hover {
  border-color: var(--cyan-600);
  background-color: var(--cyan-50);
}

[data-theme="dark"] .upload-dropzone:hover {
  background-color: rgba(6, 182, 212, 0.08);
}

.upload-icon {
  font-size: 2rem;
  color: var(--cyan-600);
  margin-bottom: 0.5rem;
}

.upload-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.upload-hint {
  font-size: 0.775rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}

.upload-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-preview-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
}

.file-preview-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cyan-600);
  font-size: 0.8rem;
}

.file-preview-info {
  flex-grow: 1;
  text-align: left;
}

.file-preview-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.file-preview-size {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.btn-remove-file {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.btn-remove-file:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

/* Interactive Signature Pad */
.signature-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.sig-tab-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.sig-tab-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.sig-tab-btn.active {
  background: var(--navy-800);
  color: #ffffff;
  border-color: var(--navy-800);
}

.sig-canvas-wrap {
  position: relative;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  height: 140px;
}

.sig-canvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
  display: block;
}

.sig-canvas-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94a3b8;
  font-size: 0.85rem;
  pointer-events: none;
  user-select: none;
}

.sig-typed-preview {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: 2.25rem;
  color: #0b2545;
  background-color: #f8fafc;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.sig-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.btn-clear-sig {
  font-size: 0.775rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

/* Declaration Consent Callouts */
.consent-card {
  background: var(--bg-surface-subtle);
  border-left: 4px solid var(--emerald-600);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.consent-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.consent-check-label input[type="checkbox"] {
  accent-color: var(--emerald-600);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Wizard Control Buttons */
.wizard-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-step-prev {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.btn-step-prev:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--text-subtle);
}

.btn-step-next {
  background: var(--wizard-theme-color, var(--cyan-600));
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.btn-step-next:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-submit-final {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 16px -2px rgba(22, 163, 74, 0.4);
  transition: all var(--transition-fast);
}

.btn-submit-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(22, 163, 74, 0.5);
  background: linear-gradient(135deg, #15803d, #166534);
}

/* ==========================================================================
   Review Summary Screen
   ========================================================================== */
.review-dossier {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.review-section-block {
  margin-bottom: 1.5rem;
}

.review-section-block:last-child {
  margin-bottom: 0;
}

.review-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.45rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}

.review-row-full {
  grid-column: 1 / -1;
}

.review-dt {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.review-dd {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.15rem;
}

/* ==========================================================================
   Success Slip & Confirmation Screen
   ========================================================================== */
.success-wrapper {
  max-width: 860px;
  margin: 0 auto 4rem;
  text-align: center;
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 10px 25px -4px rgba(22, 163, 74, 0.4);
  margin-bottom: 1.25rem;
}

.success-title {
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.success-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.registration-slip-card {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: left;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.slip-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(18, 51, 92, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-heading);
}

.slip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f294a;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.slip-logo-title h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f294a;
  letter-spacing: 0.5px;
}

.slip-logo-title p {
  font-size: 0.775rem;
  font-weight: 700;
  color: #16a34a;
  margin-top: 0.2rem;
}

.slip-ref-box {
  text-align: right;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
}

.slip-ref-label {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.slip-ref-value {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f294a;
  letter-spacing: 1px;
}

.slip-body-grid {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.slip-info-table {
  width: 100%;
  border-collapse: collapse;
}

.slip-info-table tr {
  border-bottom: 1px solid #e2e8f0;
}

.slip-info-table th {
  padding: 0.45rem 0.65rem 0.45rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-align: left;
  width: 36%;
}

.slip-info-table td {
  padding: 0.45rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.slip-qr-box {
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  background: #f8fafc;
}

.slip-qr-code {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.4rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

.slip-qr-text {
  font-size: 0.675rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.slip-footer-meta {
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.775rem;
  color: #64748b;
}

.slip-seal-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.75rem;
  border: 1.5px solid #16a34a;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.slip-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Track Application Status View
   ========================================================================== */
.tracker-wrapper {
  max-width: 820px;
  margin: 0 auto 4rem;
}

.tracker-search-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.tracker-input-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tracker-input {
  flex-grow: 1;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 1rem;
}

.tracker-input:focus {
  border-color: var(--cyan-600);
  outline: none;
}

.btn-track {
  background: var(--navy-800);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-track:hover {
  background: var(--navy-900);
}

.tracker-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

/* Timeline */
.timeline-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
  padding: 0 1rem;
}

.timeline-line {
  position: absolute;
  top: 18px;
  left: 3rem;
  right: 3rem;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-line-fill {
  height: 100%;
  background: var(--emerald-600);
  width: 33%;
  transition: width var(--transition-normal);
}

.timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.timeline-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 700;
}

.timeline-node.done .timeline-circle {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  color: #ffffff;
}

.timeline-node.current .timeline-circle {
  background: var(--cyan-600);
  border-color: var(--cyan-600);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--cyan-100);
}

.timeline-text {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 100px;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main {
  margin-top: auto;
  background: #081a33;
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-links-list a {
  color: #94a3b8;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bank-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.8rem;
}

.bank-acc-num {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
  margin: 0.25rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   Print Rules
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
  }

  .top-notice-bar,
  .header-main,
  .hero-section,
  .disclaimer-banner,
  .categories-grid,
  .finder-card,
  .wizard-wrapper,
  .tracker-search-card,
  .footer-main,
  .slip-actions-row,
  .btn-theme-toggle,
  .no-print {
    display: none !important;
  }

  .success-wrapper,
  .registration-slip-card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5cm !important;
    box-shadow: none !important;
    border: 1.5px solid #000000 !important;
    page-break-after: avoid !important;
  }

  .slip-header {
    border-bottom: 2px solid #000000 !important;
  }

  .slip-watermark {
    opacity: 0.08 !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .steps-nav-bar {
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .step-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .nav-wrapper {
    height: 70px;
  }
  .brand-logo-img {
    height: 42px;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 2rem 0;
  }
  .wizard-form-card {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .slip-body-grid {
    grid-template-columns: 1fr;
  }
  .slip-qr-box {
    margin: 0 auto;
    width: 100%;
  }
}

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