/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Skip to content link (accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Flash message auto-dismiss fade-out */
.flash-fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ============================================
   EDUKIDS PLAYFUL THEME - CSS Custom Properties
   ============================================ */

:root {
  /* Primary Colors */
  --color-sunny-yellow: #FFD93D;
  --color-coral-orange: #FF6B6B;
  --color-sky-blue: #4ECDC4;
  --color-soft-purple: #7C3AED;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
  --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #44A3AA 100%);
  --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);

  /* Backgrounds */
  --bg-page: #FFFDF7;
  --bg-card: #FFFFFF;
  --bg-soft: #FFF5EE;
  --bg-soft-alt: #FEF3C7;

  /* Borders */
  --border-card: #FFE4E1;
  --border-default: #FECACA;

  /* Text Colors */
  --text-dark: #1F2937;
  --text-body: #374151;
  --text-muted: #6B7280;

  /* Shadows */
  --shadow-card: 0 8px 30px rgba(255, 107, 107, 0.12);
  --shadow-card-hover: 0 12px 40px rgba(255, 107, 107, 0.2);

  /* Border Radius */
  --radius-button: 50px;
  --radius-card: 24px;
  --radius-input: 16px;
  --radius-small: 12px;
}

/* ============================================
   BASE STYLES
   ============================================ */

/* Ensure dialogs don't create overlays when closed */
dialog:not([open]) {
  display: none !important;
}

/* Style dialog backdrop */
dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

/* Turbo progress bar styling */
.turbo-progress-bar {
  height: 3px;
  background: var(--gradient-primary);
}

/* Reset any potential overlay issues */
body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure clickability */
* {
  pointer-events: auto;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Page Backgrounds */
.bg-page { background: var(--bg-page); }
.bg-soft { background: var(--bg-soft); }
.bg-card { background: var(--bg-card); }

/* Gradient Backgrounds */
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }

/* Card Styles */
.card-playful {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.card-playful:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-coral-orange);
}

/* Button Styles */
.btn-primary {
  padding: 12px 24px;
  border-radius: var(--radius-button);
  border: 0;
  background: var(--gradient-primary);
  color: var(--text-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
  padding: 12px 24px;
  border-radius: var(--radius-button);
  border: 2px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--color-coral-orange);
  background: var(--bg-soft);
}

.btn-coral {
  padding: 10px 20px;
  border-radius: var(--radius-button);
  border: 0;
  background: var(--color-coral-orange);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sky {
  padding: 10px 20px;
  border-radius: var(--radius-button);
  border: 0;
  background: var(--color-sky-blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Header Styles */
.header-playful {
  background: var(--gradient-primary);
  padding: 20px 16px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  color: var(--text-dark);
}

/* Form Input Styles */
.input-playful {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  border: 2px solid var(--border-card);
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.input-playful:focus {
  outline: none;
  border-color: var(--color-coral-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Badge Styles */
.badge-yellow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-sunny-yellow);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-coral {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-coral-orange);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-sky {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-sky-blue);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-purple {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-soft-purple);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Alert Styles */
.alert-success {
  padding: 12px 16px;
  background: #ECFDF5;
  border: 2px solid var(--color-sky-blue);
  border-radius: var(--radius-small);
  color: #059669;
}

.alert-error {
  padding: 12px 16px;
  background: #FEF2F2;
  border: 2px solid var(--color-coral-orange);
  border-radius: var(--radius-small);
  color: #DC2626;
}

.alert-warning {
  padding: 12px 16px;
  background: var(--bg-soft-alt);
  border: 2px solid var(--color-sunny-yellow);
  border-radius: var(--radius-small);
  color: #D97706;
}

/* Navigation Pills */
.nav-pill {
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pill-active {
  background: var(--gradient-primary);
  color: var(--text-dark);
}

.nav-pill-inactive {
  background: var(--bg-soft);
  color: var(--text-body);
}

.nav-pill-inactive:hover {
  background: var(--color-sunny-yellow);
  color: var(--text-dark);
}

/* Avatar Circle */
.avatar-playful {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 16px;
}

/* Links */
.link-playful {
  color: var(--color-soft-purple);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-playful:hover {
  color: var(--color-coral-orange);
}

/* ============================================
   KINDI REUSABLE COMPONENT CLASSES
   --------------------------------------------
   Issue #1 "freeze + pilot": shared component
   classes derived from the repeated inline-style
   patterns across app/views. Built on the existing
   CSS custom properties above. Use these instead of
   adding new inline `style="..."` (see the
   inline-style ratchet guard spec). Migrate more
   pages onto these and ratchet the budget down.

   NOTE: `.kindi-card` is already taken by the
   marketing phone-mockup further down this file, so
   the generic card here is `.kindi-surface`.
   ============================================ */

/* Full-height centred page wrapper (e.g. auth screens). */
.kindi-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  padding: 20px;
  font-family: 'Nunito', sans-serif;
}

/* White rounded card surface with the standard soft shadow + border. */
.kindi-surface {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-card);
}

/* Primary pill button / link (sunny gradient). */
.kindi-btn {
  padding: 12px 24px;
  border-radius: var(--radius-button);
  border: 0;
  background: var(--gradient-primary);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}

/* Secondary pill button / link (outlined, white fill). */
.kindi-btn-secondary {
  padding: 12px 24px;
  border-radius: var(--radius-button);
  border: 2px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}

/* FE-001 (a11y): explicit, on-brand keyboard focus ring for the pill buttons so
   focus is unmistakable and consistent with .kindi-input (appearance otherwise
   unchanged — mouse users see no difference via :focus-visible). */
.kindi-btn:focus-visible,
.kindi-btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.45);
}

/* Standard text input / select / number field (rounded, soft border). */
.kindi-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-input);
  border: 2px solid var(--border-card);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  outline: none;
  background: var(--bg-card);
  box-sizing: border-box;
}

/* FE-001 (a11y): the bare `outline: none` above removed the only visible focus
   indicator, so keyboard users could not see which field was active. Restore a
   clear, brand-coloured focus ring (matching the legacy .input-playful:focus
   pattern but with a stronger 3px ring) without changing the resting look. */
.kindi-input:focus,
.kindi-input:focus-visible {
  border-color: var(--color-coral-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.35);
}

/* Form field label. */
.kindi-field-label {
  display: block;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: 'Nunito', sans-serif;
}

/* Muted helper / secondary text. */
.kindi-muted {
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
}

/* Inline error box (validation / alert). */
.kindi-error-box {
  background: #FEF2F2;
  border: 2px solid var(--color-coral-orange);
  border-radius: var(--radius-input);
  padding: 16px;
  margin-bottom: 20px;
  color: #DC2626;
}

/* ---- Auth screen layout (devise sessions/passwords) ----
   Page-scoped helpers shared by the two-column auth pages.
   Kept narrow because this split-with-illustration layout is
   specific to the unauthenticated auth screens. */
.kindi-auth-row {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  width: 100%;
}

.kindi-auth-form {
  flex: 1;
  max-width: 400px;
}

.kindi-auth-logo-link {
  text-decoration: none;
}

.kindi-auth-wordmark {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
}

.kindi-auth-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.kindi-auth-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 32px;
}

.kindi-auth-field {
  margin-bottom: 24px;
}

.kindi-auth-field--tight {
  margin-bottom: 20px;
}

.kindi-auth-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

/* Pill text input used on the auth screens. */
.kindi-auth-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-button);
  font-size: 16px;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

/* Full-width pill submit (gradient) used on the auth screens. */
.kindi-auth-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius-button);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}

.kindi-auth-alert {
  padding: 12px 16px;
  background: #FEF2F2;
  border: 2px solid var(--color-coral-orange);
  border-radius: var(--radius-input);
  margin-bottom: 20px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
}

.kindi-auth-notice {
  padding: 12px 16px;
  background: #ECFDF5;
  border: 2px solid var(--color-sky-blue);
  border-radius: var(--radius-input);
  margin-bottom: 20px;
  color: #059669;
  font-size: 14px;
  font-weight: 600;
}

.kindi-auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.kindi-auth-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kindi-auth-illustration-card {
  width: 280px;
  height: 400px;
  background: var(--gradient-primary);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
  border: 4px solid var(--border-card);
}

.kindi-auth-illustration-emoji {
  font-size: 80px;
  margin-bottom: 20px;
}

.kindi-auth-illustration-title {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.kindi-auth-illustration-sub {
  color: var(--text-body);
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .kindi-auth-row {
    flex-direction: column;
    gap: 40px;
  }
  .kindi-auth-illustration {
    display: none;
  }
}

/* ---- Re-enrollment campaigns (page-scoped) ----
   Small button-size variants for the campaigns screens.
   They sit on top of .kindi-btn / .kindi-btn-secondary and
   only adjust padding / font-size, preserving the original
   inline appearance. */
.rec-btn-sm { padding: 10px 18px; }
.rec-btn-xs { padding: 8px 16px; font-size: 13px; }
.rec-empty-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  font-size: inherit;
}
.rec-list { display: flex; flex-direction: column; gap: 12px; }
.rec-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08);
  border: 2px solid var(--border-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.rec-card-title { font-size: 16px; font-weight: 800; color: var(--text-dark); }
.rec-card-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.rec-card-actions { display: flex; align-items: center; gap: 10px; }
.rec-status {
  padding: 4px 12px;
  border-radius: var(--radius-button);
  font-size: 11px;
  font-weight: 800;
}
.rec-empty {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-card);
}
.rec-empty-emoji { font-size: 48px; margin-bottom: 12px; }
.rec-empty-text { color: var(--text-muted); font-size: 16px; margin: 0; }
.rec-form { max-width: 600px; }
.rec-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rec-error-title { font-weight: 800; color: #DC2626; margin-bottom: 8px; }
.rec-error-list { margin: 0; padding-left: 20px; color: #DC2626; }
.rec-hint { margin: 8px 0 0; color: var(--text-muted); font-size: 13px; font-family: 'Nunito', sans-serif; }
.rec-submit-row { padding-top: 8px; }

/* Stats Card */
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Dialog Styles */
dialog {
  border: 2px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
}

/* Table Styles */
.table-playful {
  width: 100%;
  border-collapse: collapse;
}

.table-playful th {
  background: var(--bg-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-card);
}

.table-playful td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-body);
}

.table-playful tr:hover {
  background: var(--bg-soft);
}

/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* --- Sticky Nav --- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255, 253, 247, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-card);
}

.landing-nav-logo {
  font-weight: 800;
  font-size: 22px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.landing-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.landing-nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-body);
  transition: color 0.2s;
}

.landing-nav-links a:hover {
  color: var(--color-coral-orange);
}

.landing-nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-button);
  background: var(--gradient-primary);
  color: var(--text-dark) !important;
  font-weight: 700 !important;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* --- Mobile Nav Toggle --- */
.landing-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.landing-nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .landing-nav-toggle {
    display: flex;
  }

  .landing-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 253, 247, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 32px 24px;
    border-bottom: 2px solid var(--border-card);
    gap: 16px;
  }

  .landing-nav-links.open {
    display: flex;
  }

  .landing-nav-links .landing-nav-anchor {
    display: block !important;
  }

  .landing-nav-links .landing-nav-cta {
    text-align: center;
  }
}

/* --- Hero --- */
.landing-hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  padding: 140px 24px 80px;
  text-align: center;
}

.landing-hero::before,
.landing-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.landing-hero::before {
  width: 400px;
  height: 400px;
  background: var(--color-sky-blue);
  top: -120px;
  left: -100px;
}

.landing-hero::after {
  width: 300px;
  height: 300px;
  background: var(--color-soft-purple);
  bottom: -80px;
  right: -60px;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.landing-hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 16px;
  line-height: 1.15;
}

.landing-hero p {
  font-size: 20px;
  color: var(--text-body);
  margin: 0 0 36px;
  font-weight: 600;
}

.landing-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-btn-white {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-button);
  background: #fff;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.landing-btn-outline {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-button);
  background: transparent;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  transition: background 0.2s;
}

.landing-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- Stats Bar --- */
.landing-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 28px 24px;
  background: var(--bg-soft);
  flex-wrap: wrap;
}

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

.landing-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.landing-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Section Common --- */
.landing-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.landing-section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 48px;
  font-weight: 600;
}

/* --- Features Grid --- */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border-card);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-card);
}

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

.landing-feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.landing-feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.landing-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- How It Works --- */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.landing-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.landing-step h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.landing-step p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- Pricing Section --- */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.landing-price-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border-card);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-card);
}

.landing-price-card.popular {
  border-color: var(--color-coral-orange);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.25);
}

.landing-popular-badge {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-coral-orange);
  color: #1F2937;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.landing-price-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.landing-price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 8px 0 4px;
}

.landing-price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 600;
}

.landing-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.landing-price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-card);
}

.landing-price-features li:last-child {
  border-bottom: none;
}

.landing-price-cta {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: var(--radius-button);
  background: var(--gradient-primary);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.landing-price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* --- CTA Banner --- */
.landing-cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-card);
  padding: 60px 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.landing-cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.landing-cta-banner p {
  font-size: 18px;
  color: var(--text-body);
  margin: 0 0 28px;
  font-weight: 600;
}

/* --- Footer --- */
.landing-footer {
  background: #1F2937;
  padding: 48px 24px 24px;
  color: #D1D5DB;
}

.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.landing-footer-brand {
  max-width: 280px;
}

.landing-footer-logo {
  font-weight: 800;
  font-size: 22px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-footer-brand p {
  font-size: 14px;
  /* WCAG AA: #6B7280 on the navy footer was ~3.0:1; #9CA3AF is ~5.8:1 (deep-QA 2026-07-08) */
  color: #9CA3AF;
  margin: 8px 0 0;
  line-height: 1.6;
}

.landing-footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.landing-footer-col a {
  display: block;
  color: #9CA3AF; /* WCAG AA on navy footer (deep-QA 2026-07-08) */
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.landing-footer-col a:hover {
  color: var(--color-coral-orange);
}

.landing-footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 13px;
  color: #9CA3AF; /* WCAG AA on navy footer (deep-QA 2026-07-08) */
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .landing-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-price-card.popular {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .landing-hero h1 {
    font-size: 36px;
  }
  .landing-hero {
    padding: 120px 20px 60px;
  }
  .landing-stats {
    gap: 24px;
  }
  .landing-section-title {
    font-size: 28px;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
  .landing-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .landing-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .landing-price-card.popular {
    transform: none;
  }
  .landing-cta-banner {
    margin-left: 16px;
    margin-right: 16px;
  }
  .landing-footer-inner {
    flex-direction: column;
  }
  .landing-testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Testimonials */
.landing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.landing-testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 2px solid var(--border-soft, #FFE4E1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.landing-testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  font-style: italic;
  margin: 0 0 20px;
}
.landing-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.landing-testimonial-author strong {
  color: #1F2937;
  font-weight: 700;
}
.landing-testimonial-author span {
  color: #6B7280;
  font-size: 14px;
}

/* Floating WhatsApp Button */
.landing-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
  text-decoration: none;
}
.landing-whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 960px) {
  .landing-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   TUTORIALS DRAWER
   ============================================ */

.tutorials-help-btn {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
  z-index: 59;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.tutorials-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.tutorials-overlay-visible {
  opacity: 1;
  pointer-events: auto;
}

.tutorials-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--bg-page);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
}
.tutorials-drawer-open {
  right: 0;
}

.tutorials-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  background: var(--gradient-primary);
}
.tutorials-drawer-header h2 {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.tutorials-close-btn {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.tutorials-close-btn:hover {
  background: rgba(255,255,255,0.4);
}

.tutorials-search-wrap {
  padding: 16px 24px 8px;
  position: relative;
}
.tutorials-search {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-input);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.tutorials-search:focus {
  border-color: var(--color-coral-orange);
}
.tutorials-search-clear {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
}

.tutorials-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 24px;
}

.tutorials-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
}

/* Category accordion */
.tutorials-category {
  margin-bottom: 8px;
}
.tutorials-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-small);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: background 0.2s;
}
.tutorials-category-header:hover {
  background: var(--bg-soft);
}
.tutorials-category-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s;
  color: var(--text-muted);
}
.tutorials-category-open .tutorials-category-arrow {
  transform: rotate(180deg);
}
.tutorials-category-items {
  display: none;
  padding: 4px 0 0 0;
}
.tutorials-category-open .tutorials-category-items {
  display: block;
}

/* Tutorial cards */
.tutorials-tutorial {
  margin: 4px 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-small);
  background: var(--bg-card);
  overflow: hidden;
}
.tutorials-tutorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.tutorials-tutorial-header:hover {
  background: var(--bg-soft);
}
.tutorials-tutorial-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.tutorials-tutorial-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.tutorials-tutorial-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.tutorials-tutorial-open .tutorials-tutorial-arrow {
  transform: rotate(90deg);
}
.tutorials-tutorial-steps {
  display: none;
  padding: 0 16px 16px;
}
.tutorials-tutorial-open .tutorials-tutorial-steps {
  display: block;
}
.tutorials-tutorial-steps ol {
  margin: 0;
  padding: 0 0 0 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
}
.tutorials-tutorial-steps li {
  margin-bottom: 6px;
}
.tutorials-step-link {
  display: inline-block;
  margin-left: 4px;
  color: var(--color-coral-orange);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}
.tutorials-step-link:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tutorials-drawer {
    width: 100vw;
    right: -100vw;
  }
  .tutorials-drawer.tutorials-drawer-open {
    right: 0;
  }
  .tutorials-help-btn {
    /* On mobile the help FAB has been replaced by an in-sidebar
       "Help & Tutorials" entry that fires the same `tutorials:open`
       event. Hiding the FAB removes a persistent collision with
       primary CTAs in the bottom-right of forms and stat strips. */
    display: none;
  }
}
/* Public enrollment form — shared playful-theme components */

.enroll-page {
  min-height: 100vh;
  background: #FFFDF7;
  font-family: 'Nunito', sans-serif;
}

.enroll-header {
  background: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
  padding: 32px 16px;
  border-radius: 0 0 24px 24px;
  text-align: center;
}

.enroll-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1F2937;
  margin: 0;
}

.enroll-header p {
  color: #374151;
  margin: 8px auto 0;
  font-size: 16px;
  max-width: 600px;
}

.enroll-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px;
}

.enroll-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.12);
  border: 2px solid #FFE4E1;
  margin-bottom: 20px;
}

.enroll-section-heading {
  font-size: 18px;
  font-weight: 800;
  color: #1F2937;
  margin: 0 0 16px;
}

.enroll-subheading {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 12px;
}

.enroll-subheading-note {
  font-weight: 400;
  color: #6B7280;
  font-size: 13px;
}

.enroll-label {
  display: block;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 6px;
  font-size: 14px;
}

.enroll-field {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  border: 2px solid #FFE4E1;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.enroll-field-textarea {
  min-height: 60px;
}

.enroll-field-file {
  padding: 8px;
}

.enroll-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.enroll-row > div {
  flex: 1;
  min-width: 0;
}

.enroll-field-group {
  margin-bottom: 14px;
}

.enroll-field-group-last {
  margin-bottom: 0;
}

.enroll-divider {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #FFE4E1;
}

.enroll-btn-primary {
  padding: 14px 28px;
  border-radius: 50px;
  border: 0;
  background: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
  color: #1F2937;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  width: 100%;
}

.enroll-btn-secondary {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid #FFD93D;
  background: #FFFDF7;
  color: #1F2937;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}

.enroll-btn-remove {
  padding: 6px 14px;
  border-radius: 50px;
  border: 2px solid #FF6B6B;
  background: #fff;
  color: #FF6B6B;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}

.enroll-error-block {
  padding: 12px 16px;
  background: #FEF2F2;
  border: 2px solid #FF6B6B;
  border-radius: 16px;
  margin-bottom: 16px;
  color: #dc2626;
  font-weight: 600;
}

.enroll-error-block p {
  margin: 0 0 8px;
  font-weight: 800;
}

.enroll-error-block ul {
  margin: 0;
  padding-left: 20px;
}

.enroll-checkbox-row {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.enroll-checkbox-row-flush {
  margin-bottom: 0;
}

.enroll-checkbox {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.enroll-checkbox-label {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.enroll-choice-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.enroll-inline-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  min-width: 0;
}

.enroll-inline-choice-compact {
  font-size: 13px;
}

.enroll-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.enroll-field-followup {
  margin-top: 8px;
}

.enroll-media-consent {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #FFF7ED;
  border: 2px solid #FED7AA;
}

.enroll-media-consent-body {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
}

.enroll-declaration {
  margin-top: 6px;
  border-radius: 22px;
  border: 2px solid #FDE2D7;
  background: linear-gradient(180deg, #FFF8F3 0%, #FFFCFA 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.enroll-declaration-body {
  padding: 20px;
}

.enroll-declaration-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6B6B;
}

.enroll-declaration-copy {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}

.enroll-declaration-copy:last-child {
  margin-bottom: 0;
}

.enroll-declaration-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.enroll-declaration-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #FDE2D7;
  color: #374151;
  line-height: 1.65;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.06);
}

.enroll-declaration-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

.enroll-declaration-ack {
  margin: 0;
  padding: 18px 20px 20px;
  border-top: 1px solid #FDE2D7;
  background: rgba(255, 255, 255, 0.75);
}

.enroll-declaration-ack .enroll-checkbox-label {
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.6;
}

.enroll-required {
  color: #FF6B6B;
}

.enroll-fee-notice {
  background: #FFF5EE;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid #FFE4E1;
}

.enroll-fee-notice p {
  margin: 0;
  color: #1F2937;
  font-weight: 700;
}

.enroll-fee-notice small {
  margin: 4px 0 0;
  color: #6B7280;
  font-size: 13px;
  display: block;
}

.enroll-child-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.enroll-actions {
  margin-top: 10px;
}

.enroll-pickup-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.enroll-pickup-row > input[type="text"],
.enroll-pickup-row > input[type="tel"],
.enroll-pickup-upload {
  flex: 1 1 180px;
  min-width: 0;
}

.enroll-pickup-upload-label {
  display: block;
  margin: 0 0 6px;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
}

.enroll-pickup-row .enroll-btn-remove {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .enroll-header {
    padding: 28px 16px 24px;
  }

  .enroll-header h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .enroll-header p {
    font-size: 15px;
  }

  .enroll-container {
    padding: 18px 12px 28px;
  }

  .enroll-card {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .enroll-row {
    flex-direction: column;
    gap: 12px;
  }

  .enroll-choice-row {
    flex-direction: column;
    gap: 10px;
  }

  .enroll-option-grid {
    grid-template-columns: 1fr;
  }

  .enroll-actions .enroll-btn-secondary,
  .enroll-child-header .enroll-btn-remove,
  .enroll-pickup-row .enroll-btn-remove {
    width: 100%;
  }

  .enroll-pickup-row {
    gap: 12px;
  }

  .enroll-pickup-row > input[type="text"],
  .enroll-pickup-row > input[type="tel"],
  .enroll-pickup-upload,
  .enroll-pickup-row .enroll-btn-remove {
    flex: 1 1 100%;
  }

  .enroll-declaration-body {
    padding: 18px 16px;
  }

  .enroll-declaration-copy,
  .enroll-declaration-ack .enroll-checkbox-label {
    font-size: 14px;
  }

  .enroll-declaration-list li {
    padding: 13px 14px 13px 40px;
  }

  .enroll-declaration-list li::before {
    top: 17px;
    left: 14px;
    width: 12px;
    height: 12px;
  }

  .enroll-declaration-ack {
    padding: 16px;
  }
}

/* ============================================
   NOTIFICATION BELL DROPDOWN
   ============================================ */

.notification-bell-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  overflow-y: auto;
  background: #fff;
  border: 2px solid #FFE4E1;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.notification-bell-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 999;
}

@media (min-width: 601px) {
  .notification-bell-backdrop {
    display: none !important;
  }
}

@media (max-width: 600px) {
  /* Pin to the viewport so the dropdown can't overflow the screen when
     the bell sits in the right side of a narrow header. */
  .notification-bell-dropdown {
    position: fixed;
    top: 64px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 80px);
  }
}

/* iOS Safari auto-zooms when an input has a computed font-size below 16px.
   Enforce 16px globally on form fields so focus never triggers a zoom. */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
select {
  font-size: 16px;
}

/* ============================================
   LANDING PAGE — conversion sections (2026-06)
   Hero two-column + product mockup, honest trust
   bar, paper→digital comparison, and FAQ.
   ============================================ */

/* --- Hero: two-column with product preview --- */
.landing-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.landing-hero-grid .landing-hero-actions {
  justify-content: flex-start;
}

.landing-hero-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(31, 41, 55, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 7px 16px;
  border-radius: var(--radius-button);
  margin-bottom: 20px;
}

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

/* --- Phone mockup (mirrors the real Kindi app UI) --- */
.kindi-phone {
  width: 280px;
  background: #1F2937;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 34px 70px rgba(31, 41, 55, 0.4);
}

.kindi-phone-screen {
  background: var(--bg-soft);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.kindi-app-header {
  background: var(--gradient-primary);
  padding: 26px 18px 22px;
  color: #fff;
}

.kindi-app-header .greet {
  font-size: 19px;
  font-weight: 800;
}

.kindi-app-header .sub {
  font-size: 12.5px;
  opacity: 0.92;
  font-weight: 600;
}

.kindi-app-body {
  padding: 14px;
}

.kindi-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kindi-stat {
  background: #fff;
  border-radius: 16px;
  padding: 12px 6px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.1);
}

.kindi-stat .n {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.kindi-stat .l {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.kindi-card {
  background: #fff;
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.1);
  display: flex;
  align-items: center;
  gap: 11px;
}

.kindi-card .ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  background: var(--bg-soft-alt);
}

.kindi-card .t {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.kindi-card .s {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.kindi-card .done {
  margin-left: auto;
  color: var(--color-sky-blue);
  font-weight: 800;
  font-size: 15px;
}

/* --- Honest trust bar (replaces vanity stats) --- */
.landing-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px 32px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--bg-soft);
}

.landing-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-body);
}

.landing-trust-item .ic {
  font-size: 19px;
  line-height: 1;
}

/* --- Paper → digital comparison --- */
.landing-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.landing-compare-card {
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border: 2px solid;
}

.landing-compare-card.is-old {
  background: #fff;
  border-color: #E5E7EB;
}

.landing-compare-card.is-new {
  background: var(--bg-soft);
  border-color: var(--color-coral-orange);
  box-shadow: var(--shadow-card);
}

.landing-compare-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--text-dark);
}

.landing-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 13px;
  line-height: 1.4;
}

.landing-compare-list li .mark {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.4;
}

.landing-compare-card.is-old .mark {
  color: #9CA3AF;
}

.landing-compare-card.is-new .mark {
  color: var(--color-sky-blue);
}

/* --- FAQ (native accordion) --- */
.landing-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.landing-faq-item {
  background: #fff;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-input);
  margin-bottom: 14px;
  overflow: hidden;
}

.landing-faq-item summary {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.landing-faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--color-coral-orange);
  flex-shrink: 0;
  line-height: 1;
}

.landing-faq-item[open] summary::after {
  content: "\2013";
}

.landing-faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  font-weight: 500;
}

.landing-faq-answer a {
  color: var(--color-soft-purple);
  font-weight: 700;
}

@media (max-width: 768px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .landing-hero-grid .landing-hero-actions {
    justify-content: center;
  }
  .landing-hero-eyebrow {
    margin-bottom: 16px;
  }
  .kindi-phone {
    width: 248px;
  }
  .landing-compare-grid {
    grid-template-columns: 1fr;
  }
  .landing-trust {
    gap: 12px 22px;
  }
  .landing-trust-item {
    font-size: 14px;
  }
}

/* ── Report / observation detail views (admin) ─────────────────────────────
   Class-based so the admin progress-report & observation detail pages add
   ZERO inline styles (keeps the inline-style ratchet flat — issue #1). */
.report-detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 16px;
}
.report-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.report-detail-name { font-weight: 800; font-size: 16px; color: var(--text-dark); }
.report-detail-meta { font-size: 13px; color: var(--text-muted); }
.report-detail-recorded { margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.report-section-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin: 0 0 8px; }
.report-summary { font-size: 15px; color: var(--text-dark); line-height: 1.6; }
.report-footer { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.report-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.report-status--published { background: #ECFDF5; color: #059669; border: 1px solid var(--color-sky-blue); }
.report-status--draft { background: #FFF8E1; color: #B45309; border: 1px solid var(--color-sunny-yellow); }
.report-domain-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.report-domain-name { font-size: 15px; font-weight: 800; color: var(--text-dark); margin: 0; }
.report-domain-comment { font-size: 14px; color: var(--text-body); line-height: 1.5; }
.report-rating {
  padding: 6px 14px;
  border-radius: var(--radius-button);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: #F3F4F6;
  color: var(--text-muted);
}
.report-rating--achieved { background: #ECFDF5; color: #059669; }
.report-rating--developing { background: #EFF6FF; color: #2563EB; }
.report-rating--emerging { background: #FFFBEB; color: #D97706; }
.report-rating--not_yet { background: #F3F4F6; color: #6B7280; }
.report-empty {
  text-align: center;
  padding: 40px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.report-domain-pill-row { margin-bottom: 12px; }
.report-domain-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-button);
  background: #EDE9FE;
  color: #6D28D9;
  font-weight: 700;
  font-size: 13px;
}
.report-photos { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.report-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-input);
  border: 2px solid var(--border-card);
}

/* ── Re-enrollment campaigns: index rollup + at-a-glance chips (§C) ─────────
   Class-based so the campaigns index adds ZERO inline styles (ratchet #1). */
.reenroll-panel {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.reenroll-panel-title { font-size: 15px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.reenroll-panel-sub { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.reenroll-panel-note { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.reenroll-table-wrap { overflow-x: auto; }
.reenroll-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.reenroll-table th {
  text-align: left; font-weight: 700; color: var(--text-muted);
  padding: 8px 10px; border-bottom: 2px solid var(--border-card); white-space: nowrap;
}
.reenroll-table td { padding: 8px 10px; border-bottom: 1px solid var(--border-card); color: var(--text-body); }
.reenroll-year { font-weight: 800; color: var(--text-dark); }
.reenroll-rate { font-weight: 800; color: var(--text-dark); }
.reenroll-num--confirmed { font-weight: 700; color: #059669; }
.reenroll-num--declined { font-weight: 700; color: #DC2626; }
.reenroll-num--pending { font-weight: 700; color: #B45309; }
.reenroll-reasons { list-style: none; margin: 0; padding: 0; }
.reenroll-reason {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border-card);
}
.reenroll-reason:last-child { border-bottom: 0; }
.reenroll-reason-cat { font-weight: 700; color: var(--text-dark); font-size: 13px; }
.reenroll-reason-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.reenroll-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.reenroll-chip {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  background: var(--bg-soft); color: var(--text-body); white-space: nowrap;
}
.reenroll-chip--confirmed { background: #ECFDF5; color: #059669; }
.reenroll-chip--declined { background: #FEF2F2; color: #DC2626; }
.reenroll-chip--pending { background: #FFF8E1; color: #B45309; }

/* ── Refunds (FIN-006 V1, ledger-only) ─────────────────────────────────────── */
.refund-row { border-color: #FCA5A5 !important; background: #FEF2F2 !important; }
.refund-amount { color: #DC2626 !important; }
.refund-form-box {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border: 2px dashed var(--border-default);
  border-radius: 16px;
}
.refund-form-title { font-weight: 800; font-size: 14px; color: var(--text-dark); margin-bottom: 4px; }
.refund-form-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.refund-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.refund-field { display: flex; flex-direction: column; gap: 4px; }
.refund-field--grow { flex: 1 1 220px; }
.refund-field span { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.refund-field input {
  padding: 10px 12px;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-small);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-card);
}
.refund-field input:focus { outline: none; border-color: var(--color-coral-orange); }
.refund-submit {
  padding: 11px 20px;
  border: 0;
  border-radius: var(--radius-button);
  background: #DC2626;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.refund-submit:hover { background: #B91C1C; }
.refund-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: #FEF2F2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
}
/* inline refund form (table cells) — same input treatment without the field wrapper */
.refund-form input[type="text"], .refund-form input[type="number"] {
  padding: 8px 10px;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-small);
  font-size: 13px;
  font-family: inherit;
  background: var(--bg-card);
  min-width: 180px;
}

/* ── Arrears + Subsidy report shared vocabulary ───────────────────────────────
   Extracted 1:1 from the inline styles that previously lived in
   app/views/admin/arrears/{index,show}.html.erb and
   app/views/admin/subsidy_reports/show.html.erb. Both features share the exact
   same visual language (coral-cream cards, pill buttons, tables), so the classes
   are namespaced `.arrears-*` and reused across all three views. Values are
   replicated exactly — do not restyle here; adjust the source design tokens if a
   visual change is intended. */

/* Cards: base has NO margin (index cards sit in a grid/flex-gap);
   `--mb` adds the 20px bottom margin used by show + subsidy cards. */
.arrears-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.12);
  border: 2px solid #FFE4E1;
}
.arrears-card--mb { margin-bottom: 20px; }

/* Header action link (secondary pill in the page header). */
.arrears-header-btn {
  padding: 10px 20px;
  border-radius: 50px;
  background: #fff;
  color: #1F2937;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* Buttons — secondary (outline) and primary (coral). */
.arrears-btn {
  padding: 10px 18px;
  border-radius: 50px;
  border: 2px solid #FFE4E1;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  display: inline-block;
}
.arrears-btn--danger { color: #DC2626; border-color: #FECACA; }
.arrears-btn-primary {
  padding: 10px 18px;
  border-radius: 50px;
  border: none;
  background: #FF6B6B;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  display: inline-block;
}

/* Summary grid + stat blocks. */
.arrears-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.arrears-stat-label { font-size: 13px; font-weight: 700; color: #6B7280; }
.arrears-stat-value { font-size: 28px; font-weight: 800; margin-top: 4px; }
.arrears-stat-value--red { color: #DC2626; }
.arrears-stat-value--dark { color: #1F2937; }
.arrears-stat-value--green { color: #059669; }
.arrears-outstanding { font-size: 32px; font-weight: 800; color: #DC2626; }

/* Empty states. `.arrears-empty` combines with `.arrears-card` and overrides the
   card padding (must stay declared after `.arrears-card`); `.arrears-empty-inner`
   is the nested empty container used inside a card (subsidy). */
.arrears-empty { text-align: center; padding: 40px; }
.arrears-empty-inner { text-align: center; padding: 20px; }
.arrears-empty-emoji { font-size: 48px; margin-bottom: 12px; }
.arrears-empty-text { font-size: 16px; color: #6B7280; font-weight: 700; }

/* Account list rows (index) + shared summary row (show). */
.arrears-list { display: flex; flex-direction: column; gap: 12px; }
.arrears-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.arrears-row-actions { display: flex; align-items: center; gap: 16px; }
.arrears-name { font-weight: 800; font-size: 16px; color: #1F2937; }
.arrears-child-line { font-size: 13px; color: #6B7280; margin-top: 4px; }
.arrears-meta-line { font-size: 12px; color: #6B7280; margin-top: 2px; }
.arrears-subtext { font-size: 13px; color: #6B7280; }
.arrears-amount { font-size: 20px; font-weight: 800; color: #DC2626; }

/* Pills — green status chip; `--ml` adds the 8px left margin used inline (index). */
.arrears-pill {
  padding: 3px 10px;
  background: #ECFDF5;
  color: #059669;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
}
.arrears-pill--ml { margin-left: 8px; }
/* Installment status text — colour keyed off inst.status, weight always 800. */
.arrears-pill-text { font-weight: 800; }
.arrears-pill-text--paid { color: #059669; }
.arrears-pill-text--overdue { color: #DC2626; }
.arrears-pill-text--pending { color: #6B7280; }

/* Headings + text helpers. */
.arrears-h2 { font-size: 16px; font-weight: 800; color: #1F2937; margin: 0 0 12px; }
.arrears-note { font-size: 12px; color: #6B7280; margin-top: 10px; }
.arrears-muted { color: #6B7280; }
.arrears-muted-bold { color: #6B7280; font-weight: 700; }
.arrears-link { color: #FF6B6B; font-weight: 700; text-decoration: none; }

/* Tables. */
.arrears-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.arrears-thead-row { text-align: left; color: #6B7280; font-size: 12px; }
.arrears-tr { border-top: 1px solid #FFE4E1; }
.arrears-tr--total { border-top: 2px solid #FFE4E1; }
.arrears-cell { padding: 8px; }
.arrears-cell--right { text-align: right; }
.arrears-cell--b7 { font-weight: 700; }
.arrears-cell--b8 { font-weight: 800; }
.arrears-cell--red { color: #DC2626; }
.arrears-cell--green { color: #059669; }
.arrears-cell--muted { color: #6B7280; }

/* Inputs (text/number/date/month/select) + width modifiers (replaces inline widths). */
.arrears-input {
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid #FFE4E1;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  box-sizing: border-box;
}
.arrears-input--w140 { width: 140px; }
.arrears-input--w120 { width: 120px; }
.arrears-input--w100 { width: 100px; }
.arrears-input--wfull { width: 100%; }

/* Forms + field wrappers. */
.arrears-label {
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  display: block;
  margin-bottom: 4px;
}
.arrears-form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.arrears-inline-form { display: flex; gap: 10px; align-items: end; }
.arrears-aod-form { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.arrears-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
}
.arrears-field-grow { flex: 1; min-width: 180px; }
.arrears-field-grow--wide { min-width: 220px; }
.arrears-btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
.arrears-btn-row { display: flex; gap: 8px; }

/* Payment-plan section. */
.arrears-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.arrears-plan-total { font-weight: 800; margin-left: 8px; }
.arrears-plan-remaining { color: #6B7280; margin-left: 8px; }
.arrears-aod-signed { font-size: 12px; color: #059669; font-weight: 700; margin-top: 4px; }
.arrears-plan-empty { color: #6B7280; font-size: 14px; margin-bottom: 12px; }
.arrears-past-plans { margin-top: 14px; font-size: 12px; color: #6B7280; }
.arrears-past-plan { margin-right: 10px; }

/* Escalation history. */
.arrears-history { display: flex; flex-direction: column; gap: 10px; }
.arrears-history-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid #FFE4E1;
  padding-top: 10px;
}
.arrears-history-time { font-size: 12px; color: #6B7280; white-space: nowrap; }
.arrears-history-label { font-weight: 800; color: #1F2937; }
.arrears-history-notes { font-size: 13px; color: #6B7280; }

/* ===== Admin moderation queue (reworked 2026-07-10 — was inline-styled with a
   broken action row: form_with dropped its top-level style:, so the reject
   form lost its flex layout and the Reject button wrapped under the input) === */
.mod-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #FFE4E1; }
/* Specificity + !important deliberately out-rank dashboard.css's legacy
   ".main-body > div a[href]" blanket rule (gradient pill + !important color),
   which otherwise repaints every inactive tab as active. */
.mod-tabs a.mod-tab[href] { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; margin-bottom: 0; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 13px; font-family: 'Nunito', sans-serif; border: 2px solid #FFE4E1; background: #fff; color: #6B7280 !important; }
.mod-tabs a.mod-tab--active[href] { background: linear-gradient(135deg, #FFD93D, #FF6B6B); color: #1F2937 !important; border-color: transparent; }
.mod-tab-count { background: #DC2626; color: #fff; border-radius: 50px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
.mod-empty { padding: 32px 24px; background: #FFFDF7; border: 2px solid #FFE4E1; border-radius: 20px; text-align: center; color: #6B7280; font-family: 'Nunito', sans-serif; }
.mod-empty h2 { margin: 0 0 6px; color: #1F2937; font-size: 18px; }
.mod-empty p { margin: 0; }
.mod-card { background: #fff; border: 2px solid #FFE4E1; border-radius: 20px; padding: 16px 20px; margin-bottom: 12px; box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08); }
.mod-meta { font-size: 13px; color: #6B7280; line-height: 1.6; }
.mod-meta strong { color: #1F2937; }
.mod-badge { background: #FEF3C7; color: #B45309; border-radius: 50px; padding: 2px 8px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.mod-body { margin-top: 8px; font-size: 14px; color: #1F2937; line-height: 1.5; }
.mod-body p { margin: 0 0 6px; }
.mod-body p:last-child { margin-bottom: 0; }
.mod-field-label { color: #6B7280; font-size: 12px; }
.mod-thumbs { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.mod-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid #FFE4E1; }
.mod-photo { max-width: 240px; max-height: 240px; object-fit: cover; border-radius: 12px; border: 2px solid #FFE4E1; }
/* Single aligned action row: [Approve] [reason input ->grows] [Reject] */
.mod-actions { display: flex; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #FFE4E1; align-items: center; flex-wrap: wrap; }
.mod-approve-form { display: contents; }
.mod-approve { padding: 10px 22px; background: linear-gradient(135deg, #FFD93D, #FF6B6B); color: #1F2937; border: none; border-radius: 50px; font-weight: 800; cursor: pointer; font-size: 14px; font-family: 'Nunito', sans-serif; }
.mod-reject-form { display: flex; gap: 8px; flex: 1; min-width: 240px; align-items: center; }
.mod-reject-input { flex: 1; min-width: 0; padding: 10px 14px; border: 2px solid #FFE4E1; border-radius: 50px; font-size: 14px; font-family: 'Nunito', sans-serif; }
.mod-reject-btn { padding: 10px 20px; background: #fff; color: #DC2626; border: 2px solid #FECACA; border-radius: 50px; font-weight: 800; cursor: pointer; font-size: 14px; font-family: 'Nunito', sans-serif; white-space: nowrap; }
.mod-reject-btn:hover { border-color: #DC2626; }
@media (max-width: 520px) {
  .mod-actions { align-items: stretch; }
  .mod-approve { width: 100%; }
}
