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

:root {
  /* Brand palette — balanced, not oversaturated */
  --brand: #1aad48;
  --brand-dark: #148c39;
  --brand-deeper: #0d6e2c;
  --brand-light: rgba(26, 173, 72, 0.08);
  --brand-glow: rgba(26, 173, 72, 0.18);

  /* Warm amber accent */
  --accent: #f5a623;
  --accent-light: rgba(245, 166, 35, 0.10);
  --accent-dark: #d98e1b;

  /* Neutral palette — warm slate */
  --dark: #1a1f36;
  --text-primary: #1e2538;
  --text-secondary: #3d4654;
  --muted: #5e6a7a;
  --muted-light: #8896a6;

  /* Surfaces */
  --surface: #f8f9fb;
  --surface-alt: #f0f4f8;
  --surface-warm: #faf9f7;
  --bg: #ffffff;
  --border: #e4e9f0;
  --border-light: #eef2f7;

  /* Shadows — layered, subtle */
  --shadow-xs: 0 1px 3px rgba(26, 31, 54, 0.04);
  --shadow-sm: 0 4px 12px rgba(26, 31, 54, 0.05);
  --shadow-md: 0 8px 28px rgba(26, 31, 54, 0.07);
  --shadow-lg: 0 16px 48px rgba(26, 31, 54, 0.10);
  --shadow-brand: 0 8px 24px rgba(26, 173, 72, 0.15);
  --shadow-card-hover: 0 20px 48px rgba(26, 31, 54, 0.12);

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

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
.text-brand {
  color: var(--brand);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.65;
}

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

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.28s var(--ease-out);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26, 173, 72, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 173, 72, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, var(--brand), var(--brand-deeper));
}

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

.btn-ghost {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-green {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline-green:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.btn-block {
  width: 100%;
}

/* ═══════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(228, 233, 240, 0.6);
  transition: all 0.35s var(--ease-out);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(26, 31, 54, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--brand-dark);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-actions .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle:hover {
  background: var(--surface);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  transition: transform 0.35s var(--ease-out);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav .nav-link {
  font-size: 1.05rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.mobile-nav .nav-link::after {
  display: none;
}

.mobile-nav .nav-link:hover {
  color: var(--brand);
  padding-left: 1rem;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #f0f7f2 0%, #faf9f5 40%, #f5f8ff 100%);
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
}

/* Subtle decorative background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 173, 72, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(26, 173, 72, 0.12);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--brand);
  display: inline;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(26, 31, 54, 0.10), 0 8px 16px rgba(26, 31, 54, 0.06);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ═══════════════════════════════════════════
   COORDINATOR SECTION
   ═══════════════════════════════════════════ */
.coordinator-section {
  padding: 6.5rem 0;
  background-color: var(--surface);
  position: relative;
}

.coordinator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.coordinator-image {
  position: relative;
}

.coordinator-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Decorative accent behind image */
.coordinator-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  z-index: -1;
  border: 2px solid rgba(26, 173, 72, 0.08);
}

.coordinator-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.coordinator-content p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.duties-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.duty-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: #ffffff;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: all 0.25s var(--ease-out);
}

.duty-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 173, 72, 0.15);
  transform: translateX(4px);
}

.duty-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.duty-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}

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

.feature-card {
  background: #ffffff;
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Top accent bar */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.icon-box svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .icon-box {
  background: var(--brand-glow);
  transform: scale(1.05);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════ */
.how-section {
  padding: 6.5rem 0;
  background: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line behind step cards */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--brand), var(--brand-light));
  z-index: 0;
  opacity: 0.35;
}

.step-card {
  background: var(--surface);
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-out);
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 auto 1.25rem auto;
  transition: all 0.3s var(--ease-out);
}

.step-card:hover .step-circle {
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.step-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-card p {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════ */
.pricing-section {
  padding: 6.5rem 0;
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.price-card.plan-best {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-brand);
}

/* Gradient top bar for best plan */
.price-card.plan-best::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(26, 173, 72, 0.3);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.75rem;
  line-height: 1.1;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.plan-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231aad48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s var(--ease-out);
}

.form-control::placeholder {
  color: var(--muted-light);
}

.form-control:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--brand-light);
}

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

.form-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--muted-light);
  margin-top: 1.5rem;
  line-height: 1.55;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */
.faq-section {
  padding: 6.5rem 0;
  background: #ffffff;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s var(--ease-out);
}

details.faq-item[open] {
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

summary.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

/* Chevron icon */
summary.faq-question::after {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231aad48' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

details[open] summary.faq-question::after {
  transform: rotate(180deg);
  background-color: var(--brand-glow);
}

.faq-answer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.65;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════ */
.legal-page {
  padding: 4rem 0 6rem 0;
  background: #ffffff;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-brand-note {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.9rem;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted-light);
}

/* ═══════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.35s var(--ease-spring);
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ═══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(26, 31, 54, 0.25);
  font-weight: 600;
  font-size: 0.925rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
  z-index: 2000;
  max-width: 90vw;
  text-align: center;
}

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

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.section-animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.section-animate.visible .feature-card,
.section-animate.visible .step-card,
.section-animate.visible .price-card {
  opacity: 0;
  animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.section-animate.visible .feature-card:nth-child(1),
.section-animate.visible .step-card:nth-child(1),
.section-animate.visible .price-card:nth-child(1) {
  animation-delay: 0.1s;
}

.section-animate.visible .feature-card:nth-child(2),
.section-animate.visible .step-card:nth-child(2),
.section-animate.visible .price-card:nth-child(2) {
  animation-delay: 0.2s;
}

.section-animate.visible .feature-card:nth-child(3),
.section-animate.visible .step-card:nth-child(3),
.section-animate.visible .price-card:nth-child(3) {
  animation-delay: 0.3s;
}

.section-animate.visible .step-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {

  .hero-grid,
  .coordinator-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .coordinator-image::before {
    display: none;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .coordinator-content h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 768px) {

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero {
    padding: 3.5rem 0 4rem 0;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-buttons .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════
   SURVEY PAGE & STYLES
   ═══════════════════════════════════════════ */
.survey-page {
  background: linear-gradient(180deg, #f0f7f2 0%, #ffffff 40%, #f4f8f5 100%);
  padding-bottom: 6rem;
  min-height: 90vh;
}

.survey-hero {
  padding: 4rem 0 2.5rem 0;
}

.survey-hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.survey-hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.65;
}

.survey-form-section {
  padding: 1rem 0;
}

.survey-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 3rem 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* Stepper Progress Bar */
.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.step-item.active {
  color: var(--brand-dark);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.step-item.active .step-number {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}

.step-line {
  flex: 1;
  height: 3px;
  background: var(--border-light);
  margin: 0 1rem;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.step-line.active {
  background: var(--brand);
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeInStep 0.4s var(--ease-out);
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 2rem;
}

.step-header h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.step-header p {
  color: var(--muted);
  font-size: 0.975rem;
}

/* Form Controls & Grids */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.5rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.975rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--text-primary);
  transition: all 0.25s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-light);
}

textarea.form-control {
  resize: vertical;
}

.field-help {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Google Auth Box */
.google-auth-box {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.btn-google {
  background: #ffffff;
  border: 1.5px solid #dadce0;
  color: #3c4043;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-google:hover {
  background: #f8f9fa;
  border-color: #d2e3fc;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
  transform: translateY(-2px);
}

.btn-google-large {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.google-badge {
  background: #e8f0fe;
  color: #1a73e8;
  border-color: #aecbfa;
}

/* Signed in User Banner */
.signedin-banner {
  background: linear-gradient(135deg, #e6f7ec 0%, #f0fdf4 100%);
  border: 1.5px solid rgba(26, 173, 72, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.user-info-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 173, 72, 0.25);
}

.user-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  display: block;
}

.user-email {
  color: var(--muted);
  font-size: 0.85rem;
}

.verified-tag {
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.775rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

/* Section Divider */
.section-divider {
  margin-top: 2.25rem;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1.5px dashed var(--border);
}

.section-divider h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.section-divider p {
  color: var(--muted);
  font-size: 0.9rem;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-remove-child {
  background: none;
  border: none;
  color: #e53e3e;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: background 0.2s ease;
}

.btn-remove-child:hover {
  background: #fff5f5;
}

/* Saved Children Summary Box */
.saved-children-container {
  background: #f0fdf4;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xs);
}

.saved-children-container h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-deeper);
  margin-bottom: 0.75rem;
}

.saved-children-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.saved-child-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid rgba(26, 173, 72, 0.3);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.saved-child-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Child Form Header Badge */
.child-form-header-badge {
  background: var(--brand-light);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-dark);
}

/* Form Action Bar (Bottom Buttons) */
.form-action-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--border-light);
}

.btn-large {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  flex: 1;
}

@media (max-width: 768px) {
  .form-action-bar {
    flex-direction: column;
  }
}

.phone-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.country-prefix {
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.btn-otp,
.btn-verify {
  white-space: nowrap;
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
}

.otp-group {
  background: var(--brand-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(26, 173, 72, 0.3);
  margin-top: 0.5rem;
}

.otp-alert-box {
  background: #ffffff;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--brand-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
}

.otp-input-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.otp-code {
  letter-spacing: 0.3em;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  max-width: 220px;
}

.otp-timer-bar {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #e6f7ec;
  color: var(--brand-deeper);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(26, 173, 72, 0.3);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Pill & Segment Selectors */
.pill-selector {
  display: flex;
  gap: 0.75rem;
}

.pill-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.pill-btn.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}

.segment-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--surface-alt);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.segment-btn {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.segment-btn.active {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: var(--shadow-xs);
}

/* Custom Day Chips */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.chip-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn.active {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-dark);
}

/* Child Cards */
.child-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.35rem;
}

.child-card-header {
  margin-bottom: 1.15rem;
}

.child-badge {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Form Footer & Navigation */
.step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.form-summary-card {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.form-summary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  font-size: 0.925rem;
}

.summary-item.full-width {
  grid-column: span 2;
}

.summary-label {
  color: var(--muted);
  font-weight: 500;
  display: block;
}

.summary-value {
  color: var(--dark);
  font-weight: 600;
}

/* Success View */
.success-view {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeInStep 0.4s var(--ease-out);
}

.success-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-brand);
}

.success-icon-wrap svg {
  width: 42px;
  height: 42px;
}

.success-view h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

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

.ref-card {
  background: var(--surface);
  border: 1.5px dashed var(--brand);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.ref-label {
  color: var(--muted);
  font-weight: 600;
}

.ref-code {
  color: var(--brand-deeper);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto;
}

.btn-whatsapp-large {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
}

.btn-whatsapp-large:hover {
  background: #1ebc57;
}

/* Nav Active Link */
.nav-link.active {
  color: var(--brand);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}

/* ═══════════════════════════════════════════
   PREMIUM ENHANCED SURVEY & REGISTRATION STYLES
   ═══════════════════════════════════════════ */

.survey-page {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 380px, #f8fafc 100%);
  padding-bottom: 6rem;
  min-height: 85vh;
}

.survey-hero {
  padding: 3.5rem 0 2rem 0;
}

.survey-hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  max-width: 680px;
  margin: 1rem auto 0 auto;
  line-height: 1.6;
}

.survey-form-section {
  padding: 1rem 0 4rem 0;
}

.survey-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.25rem 2.75rem;
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  position: relative;
  transition: all 0.3s ease;
}

.step-header h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-header p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
}

/* Step 1 Google Auth Box */
.google-auth-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 24px;
  padding: 3.5rem 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.google-auth-box:hover {
  border-color: #10b981;
  background: #f0fdf4;
}

.btn-google-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-google-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #4285f4;
}

.google-auth-note {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

/* Step 2 Signed-In User Header Banner */
.signedin-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 20px;
  padding: 1.15rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.06);
}

.user-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.user-name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: #065f46;
  line-height: 1.2;
}

.user-email {
  font-size: 0.85rem;
  color: #047857;
  font-weight: 500;
}

.verified-tag {
  background: #10b981;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}

.child-form-header-badge {
  margin-bottom: 1.75rem;
}

.child-form-header-badge span {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

/* Integrated Phone Input Group */
.phone-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.phone-input-group:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.country-prefix {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 1.25rem;
  height: 52px;
  display: flex;
  align-items: center;
  border-right: 1.5px solid #cbd5e1;
}

.phone-input-group .form-control {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 52px;
  font-weight: 600;
}

/* Field Help Text */
.field-help {
  font-size: 0.825rem;
  color: #64748b;
  margin-top: 0.35rem;
  display: block;
}

/* Section Divider */
.section-divider {
  margin-top: 2.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.section-divider.margin-top-lg {
  margin-top: 2.75rem;
}

.section-divider h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.section-divider p {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.2rem;
}

/* Form Controls & Select Overrides */
.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.45rem;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  height: 52px;
  padding: 0 1.25rem;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  background-color: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.25s var(--ease-out);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  border-color: #10b981;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

textarea.form-control {
  height: auto;
  padding: 0.9rem 1.25rem;
  min-height: 110px;
  resize: vertical;
}

/* Segment Selectors (Boy/Girl, Ride Type, Travel Days) */
.segment-selector {
  display: flex;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.4rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.segment-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.segment-btn:hover {
  color: #0f172a;
}

.segment-btn.active {
  background: #ffffff;
  color: #047857;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(16, 185, 129, 0.25);
}

/* Chips Group */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.chip-btn {
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  border-color: #10b981;
  color: #10b981;
}

.chip-btn.active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

/* Saved Children Summary Box */
.saved-children-container {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 1.35rem 1.6rem;
  margin-bottom: 2rem;
}

.saved-children-container h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.saved-children-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.saved-child-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.saved-child-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Action Buttons Footer */
.form-action-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1.5px solid #f1f5f9;
  flex-wrap: wrap;
}

.btn-large {
  padding: 0.95rem 1.75rem;
  font-size: 0.975rem;
  border-radius: 50px;
}

.btn-outline-green {
  border: 2px solid #10b981;
  color: #047857;
  background: #ffffff;
  font-weight: 700;
}

.btn-outline-green:hover {
  background: #ecfdf5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}

@media (max-width: 768px) {
  .survey-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    /* prevent horizontal scroll from card itself */
    overflow: hidden;
  }

  /* Section divider smaller on mobile */
  .section-divider {
    padding: 0.75rem 0 0.4rem;
  }

  /* Signed-in banner — stack vertically */
  .signedin-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Wallet badge + verified tag row — allow wrapping */
  .signedin-banner > div:last-child {
    flex-wrap: wrap;
    width: 100%;
  }

  .user-wallet-badge {
    font-size: 0.82rem !important;
    padding: 4px 10px !important;
  }

  /* Form grid — single column */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Ride type & segment selector — wrap buttons instead of stacking */
  .segment-selector {
    flex-wrap: wrap;
  }

  .segment-selector .segment-btn {
    flex: 1 1 auto;
    min-width: 120px;
    font-size: 0.82rem;
    padding: 0.55rem 0.6rem;
    white-space: normal;
    text-align: center;
  }

  /* Full-width segment (ride type) */
  .full-width-segment {
    flex-direction: column;
    gap: 0.4rem;
  }

  .full-width-segment .segment-btn {
    width: 100%;
    flex: none;
    text-align: center;
    white-space: normal;
  }

  /* Pickup search — the "Locate Me" button should go below the input, not overlay */
  #pickup-location-autocomplete .school-input-wrapper {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #pickup-search-input.school-search-input {
    padding-right: 2.75rem !important; /* keep space only for clear btn */
  }

  #btn-use-current-location {
    position: static !important;
    transform: none !important;
    width: 100%;
    justify-content: center;
    border-radius: 8px !important;
    height: auto !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.875rem !important;
    order: 2;
    flex: 1 0 100%;
  }

  /* Action bar — full-width buttons */
  .form-action-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-action-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-large {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }

  /* Hero title */
  .survey-hero-title {
    font-size: 1.85rem;
  }

  /* Child form header badge */
  .child-form-header-badge {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.9rem;
    padding: 0.6rem 0.85rem;
  }

  /* Saved children chips */
  .saved-child-chip {
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* ── SUCCESS SCREEN mobile ── */
  .survey-success-container {
    padding: 0.5rem 0;
  }

  .success-hero-banner {
    padding: 1rem 0.25rem 1.25rem;
  }

  .success-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .success-lead {
    font-size: 0.92rem;
  }

  .success-ref-pill {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-size: 0.85rem;
    padding: 8px 12px;
    text-align: center;
  }

  .ref-pill-code {
    font-size: 0.92rem;
  }

  /* Coordinator card on mobile */
  .coordinator-highlight-card {
    padding: 1.25rem 0.9rem;
    border-radius: 12px;
    margin: 1.25rem 0;
  }

  .coord-card-header {
    margin-bottom: 1.25rem;
  }

  .coord-card-header h3 {
    font-size: 1.15rem;
  }

  .coord-features-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .coord-feat-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .coord-feat-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  /* Children summary */
  .success-children-summary {
    padding: 1rem;
  }

  .success-child-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0.65rem 0.75rem;
  }

  /* Action footer */
  .success-action-footer {
    gap: 0.85rem;
  }

  .btn-whatsapp-large {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .secondary-actions {
    flex-direction: column;
    width: 100%;
  }

  .secondary-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Nav header profile pill on small screens */
  .nav-user-profile {
    padding: 3px 8px 3px 4px;
  }

  .nav-header-wallet .wallet-val {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .survey-card {
    padding: 1.1rem 0.75rem;
    border-radius: 14px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .success-title {
    font-size: 1.2rem;
  }

  .success-check-badge {
    width: 54px;
    height: 54px;
  }

  .success-check-badge svg {
    width: 26px;
    height: 26px;
  }

  .coordinator-highlight-card {
    padding: 1rem 0.7rem;
  }

  .coord-feat-box {
    padding: 0.85rem;
  }

  .coord-card-header h3 {
    font-size: 1.05rem;
  }

  .coord-feat-content h4 {
    font-size: 0.9rem;
  }

  .coord-feat-content p {
    font-size: 0.8rem;
  }

  /* Make form controls touch-friendly */
  .form-control {
    font-size: 1rem; /* prevents zoom on iOS */
    padding: 0.8rem 0.9rem;
  }

  select.form-control {
    font-size: 1rem;
  }

  .segment-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.5rem;
  }

  .survey-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .survey-hero-subtitle {
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════
   SCHOOL AUTOCOMPLETE & COMBOBOX
   ═══════════════════════════════════════════ */
.school-autocomplete-container {
  position: relative;
  width: 100%;
}

.school-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.school-input-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-search-input {
  width: 100%;
  padding-left: 2.75rem !important;
  padding-right: 2.75rem !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s var(--ease-out);
}

.school-search-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.school-clear-btn {
  position: absolute;
  right: 0.85rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.school-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}

.school-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  max-height: 290px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  padding: 0.35rem 0;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.school-dropdown-menu.show {
  display: block;
}

.school-dropdown-header {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.school-dropdown-item {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}

.school-dropdown-item:last-child {
  border-bottom: none;
}

.school-dropdown-item:hover,
.school-dropdown-item.focused {
  background: #f0fdf4;
}

.school-dropdown-item:hover .school-item-name,
.school-dropdown-item.focused .school-item-name {
  color: #047857;
}

.school-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  flex: 1;
}

.school-item-name {
  font-size: 0.925rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.school-item-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.775rem;
  color: #64748b;
  font-weight: 500;
}

.school-item-badge {
  font-size: 0.725rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.search-highlight {
  background: #fef08a;
  color: #854d0e;
  font-weight: 700;
  border-radius: 2px;
  padding: 0 1px;
}

/* "Can't find? Add to list" item styling */
.school-add-custom-item {
  background: #fffbeb !important;
  border-top: 1.5px dashed #fcd34d !important;
  color: #92400e !important;
  font-weight: 600 !important;
  padding: 0.85rem 1rem !important;
}

.school-add-custom-item:hover,
.school-add-custom-item.focused {
  background: #fef3c7 !important;
}

.school-add-custom-item .school-add-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.school-add-custom-item .school-add-text {
  font-size: 0.875rem;
  line-height: 1.3;
}

.school-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  color: #047857;
  font-size: 0.85rem;
  font-weight: 600;
  animation: fadeIn 0.2s ease;
}

.school-selected-chip.is-custom {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.school-selected-chip .chip-remove {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  margin-left: 0.25rem;
}

.school-selected-chip .chip-remove:hover {
  opacity: 1;
}

.school-empty-state {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* ═══════════════════════════════════════════
   HEADER USER PROFILE & WALLET BADGE
   ═══════════════════════════════════════════ */
.nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px 4px 5px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-user-profile:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.nav-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.nav-header-wallet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #047857;
  letter-spacing: 0.01em;
}

.nav-header-wallet .wallet-icon {
  font-size: 0.85rem;
}

.mobile-nav-profile-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  text-decoration: none;
  margin-top: 6px;
}

.mobile-nav-profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.mobile-nav-profile-info strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   SURVEY SUCCESS SCREEN & COORDINATOR CARD
   ═══════════════════════════════════════════ */
.survey-success-container {
  animation: successFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  padding: 1rem 0.5rem;
}

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

.success-hero-banner {
  text-align: center;
  padding: 1.5rem 1rem 1.75rem;
  position: relative;
}

.success-check-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: popScale 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-check-badge svg {
  width: 32px;
  height: 32px;
}

.success-badge-tag {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.success-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.success-ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.ref-pill-label {
  color: #64748b;
  font-weight: 500;
}

.ref-pill-code {
  font-weight: 800;
  color: var(--brand-dark);
  font-family: monospace;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.btn-copy-ref {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-ref:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* ═══════════════════════════════════════════
   COORDINATOR SAFETY CARD
   ═══════════════════════════════════════════ */
.coordinator-highlight-card {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 2rem;
  margin: 1.75rem 0;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.coord-card-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.coord-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coord-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 0.4rem;
}

.coord-subtext {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.55;
}

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

@media (max-width: 820px) {
  .coord-features-grid {
    grid-template-columns: 1fr;
  }
}

.coord-feat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.coord-feat-box:hover {
  transform: translateY(-2px);
  border-color: #86efac;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.12);
}

.coord-feat-box.highlight-empowerment {
  border-color: #fbcfe8;
  background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 100%);
}

.coord-feat-box.highlight-empowerment:hover {
  border-color: #f472b6;
  box-shadow: 0 6px 16px rgba(244, 114, 182, 0.15);
}

.coord-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coord-feat-icon svg {
  width: 22px;
  height: 22px;
}

.icon-arrival {
  background: #dbeafe;
  color: #1d4ed8;
}

.icon-boarding {
  background: #fef3c7;
  color: #d97706;
}

.icon-empowerment {
  background: #fce7f3;
  color: #db2777;
}

.coord-feat-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.coord-feat-content p {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════
   SUBMITTED CHILDREN LIST IN SUCCESS VIEW
   ═══════════════════════════════════════════ */
.success-children-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.success-children-summary h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.85rem;
}

.success-children-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.success-child-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.success-child-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-child-info strong {
  color: var(--text-primary);
}

.success-child-badge {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
}

/* ═══════════════════════════════════════════
   ACTIONS FOOTER
   ═══════════════════════════════════════════ */
.success-action-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-whatsapp-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-whatsapp-large:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.secondary-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════
   REFERRAL SYSTEM & MODAL STYLES
   ═══════════════════════════════════════════ */
.referral-reward-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #eef2ff 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.referral-card-header {
  margin-bottom: 1.25rem;
}

.referral-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.referral-card-header h3 {
  font-size: 1.35rem;
  color: #065f46;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}

.referral-card-header p {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.5;
}

.referral-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1px dashed #059669;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.code-display {
  display: flex;
  flex-direction: column;
}

.code-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

.code-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: 2px;
  font-family: monospace;
}

.referral-actions-grid {
  display: flex;
  align-items: center;
  gap: 8px;
}

.referral-link-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 4px 4px 12px;
}

.link-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  color: #1e293b;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-link-copy {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-link-copy:hover {
  background: #4338ca;
}

/* Modal Backdrop & Card */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  animation: slideUp 0.25s var(--ease-out);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.modal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.wallet-summary-card {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.wallet-balance-big {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.wallet-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.wallet-balance-big strong {
  font-size: 2.2rem;
  font-weight: 800;
}

.modal-ref-code-inline {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.modal-ref-code-inline strong {
  color: #ffffff;
  font-family: monospace;
  font-size: 1.05rem;
}

.btn-modal-action {
  background: #ffffff;
  color: #047857;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-action:hover {
  background: #ecfdf5;
  transform: translateY(-1px);
}

.btn-modal-share {
  background: #e0e7ff;
  color: #3730a3;
}

.btn-modal-share:hover {
  background: #c7d2fe;
}

.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e2e8f0;
}

.history-header h4 {
  font-size: 0.95rem;
  color: #334155;
}

.history-count {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.referral-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 240px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  gap: 12px;
}

.history-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-child-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.history-date {
  font-size: 0.78rem;
  color: #64748b;
}

.history-amount {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.history-empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: #64748b;
}

.history-empty-state .empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.history-empty-state p {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.history-empty-state small {
  font-size: 0.82rem;
  line-height: 1.4;
  display: block;
}

@media (max-width: 480px) {
  .referral-code-box {
    flex-direction: column;
    align-items: stretch;
  }
  .referral-actions-grid {
    flex-direction: column;
    width: 100%;
  }
  .referral-actions-grid button {
    width: 100%;
    justify-content: center;
  }
  .modal-ref-code-inline {
    flex-direction: column;
    align-items: flex-start;
  }
}

.btn-modal-logout:hover {
  background: #dc2626 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════
   ADMIN DASHBOARD STYLES
   ═══════════════════════════════════════════ */
.admin-body {
  background-color: #f1f5f9;
}

.admin-header-title {
  display: flex;
  align-items: center;
}

.admin-badge {
  background: #1e293b;
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  border: 1px solid #334155;
}

.admin-page-main {
  padding: 2rem 0 4rem 0;
  min-height: calc(100vh - 160px);
}

/* Admin Login Card */
.admin-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
}

.admin-login-card {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.lock-icon-badge {
  width: 56px;
  height: 56px;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.admin-login-card h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.admin-login-card p {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.login-error-msg {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
}

.login-footer-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: monospace;
}

/* Stats Cards Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-amber { background: #fef3c7; color: #d97706; }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
}

/* Admin Controls Bar */
.admin-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.admin-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.admin-search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
}

.admin-search-wrapper input {
  padding-left: 2.5rem;
  padding-right: 2.2rem;
}

.clear-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
}

.admin-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tabs Bar */
.admin-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #cbd5e1;
  margin-bottom: 1.5rem;
  overflow-x: auto;

  scrollbar-width: none;
}
.admin-tabs-bar::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: #0f172a;
}

.admin-tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Tab Content */
.admin-tab-content {
  display: none;
}

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

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-data-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  user-select: none;
  white-space: nowrap;
}

.admin-data-table th.sortable {
  cursor: pointer;
}

.admin-data-table th.sortable:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.admin-data-table th.active-sort {
  color: var(--brand-dark);
}

.sort-icon {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 4px;
}

.admin-data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.admin-data-table tbody tr:hover {
  background: #f8fafc;
}

.table-loading, .table-empty {
  text-align: center;
  padding: 3rem 1rem !important;
  color: #64748b;
  font-size: 0.95rem;
}

/* Table Pill Badges */
.code-pill {
  font-family: monospace;
  background: #f1f5f9;
  color: #0f172a;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
}

.ref-code-badge {
  font-family: monospace;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  font-size: 0.82rem;
}

.wallet-val-pill {
  color: #047857;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #a7f3d0;
}

.badge-count {
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.grade-pill {
  background: #f3e8ff;
  color: #7e22ce;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 12px;
}

.ride-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}
.badge-both { background: #e0f2fe; color: #0369a1; }
.badge-morning { background: #fef3c7; color: #b45309; }
.badge-evening { background: #fce7f3; color: #be185d; }

.date-cell {
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
}

.text-truncate-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-action-view {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-action-view:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

/* Modal Details View */
.modal-card-large {
  max-width: 680px;
}

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

.detail-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}

.detail-key {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.detail-val {
  font-size: 0.92rem;
  color: #0f172a;
  word-break: break-word;
}

.json-code {
  background: #0f172a;
  color: #38bdf8;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  overflow-x: auto;
  max-height: 200px;
}