/* ============================================================
   SURICAT KENNISMAKING — STYLESHEET
   Font: Poppins | Accent: #E8820C | Teal: #2BBFAC
   Groen palet: licht #F0FDF9 · donker #064E3B
   ============================================================ */

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

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

:root {
  --dark:         #111827;
  --dark-800:     #1F2937;
  --amber:        #E8820C;
  --amber-dark:   #C96E08;
  --teal:         #2BBFAC;
  --teal-dark:    #1FA090;

  /* Groen palet (securitysnack.nl-stijl) */
  --green-50:     #F0FDF9;
  --green-100:    #CCFBEF;
  --green-200:    #99F6E0;
  --green-700:    #0E7A6A;
  --green-800:    #0A5C50;
  --green-900:    #064E3B;

  --white:        #ffffff;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-300:     #D1D5DB;
  --gray-400:     #9CA3AF;
  --gray-500:     #6B7280;
  --gray-600:     #4B5563;
  --gray-700:     #374151;
  --gray-800:     #1F2937;
  --text:         #1F2937;
  --text-muted:   #6B7280;
  --font:         'Poppins', sans-serif;
  --radius:       0.5rem;
  --radius-lg:    1rem;
  --shadow:       0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-md:    0 10px 25px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg:    0 20px 40px -5px rgba(0,0,0,.12);
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section-light       { background: var(--white); }
.section-gray        { background: var(--gray-50); }
.section-green-light  { background: var(--green-50); }
.section-orange-light { background: #FDEFD8; }
.section-green-dark  {
  background: var(--green-900);
  color: var(--white);
}
/* Tekst-overrides voor donkere groene secties */
.section-green-dark .step-header h2       { color: var(--white); }
.section-green-dark .step-header p        { color: rgba(255,255,255,.7); }
.section-green-dark .step-badge           { background: rgba(255,255,255,.1); color: var(--green-200); border-color: rgba(255,255,255,.15); }
.section-green-dark .phishing-steps-label { color: rgba(255,255,255,.5); }
.section-green-dark .phishing-step-label  { color: rgba(255,255,255,.7); }
.section-green-dark .phishing-step-num    { background: rgba(255,255,255,.15); color: var(--white); }
.section-green-dark .example-badge        { color: rgba(255,255,255,.4); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
}
.btn-amber:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232,130,12,0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gray-600);
  background: var(--gray-50);
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ── ====================================================== ── */
/*    PUBLIC SALES PAGE                                         */
/* ── ====================================================== ── */

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  color: var(--dark);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--green-100);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(43,191,172,.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(43,191,172,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 4rem;
}
/* Suricat logo linksboven */
.hero-suricat-logo {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  z-index: 10;
}
.hero-suricat-logo img {
  height: 38px;
  width: auto;
  opacity: 0.85;
}

/* Klantlogo gecentreerd */
.hero-client-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.hero-client-logo {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.hero-logo-placeholder {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}

/* Verwijderd: .hero-logos, .hero-logo, .logo-sep */
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #1FA090;
}
.hero h1 .accent {
  color: var(--teal-dark);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.hero-accent-bar {
  height: 5px;
  width: 100%;
  margin-top: 4rem;
  opacity: 0.9;
}

/* ── Stap-headers ──────────────────────────────────────────── */
.step-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,130,12,0.1);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid rgba(232,130,12,0.2);
  margin-bottom: 0.9rem;
}
.step-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.step-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Voordelen grid (stap 1) ───────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.benefit-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(232,130,12,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}
.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── E-learning module (securitysnack stijl, stap 1) ──────── */
.el-scenario {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.el-scenario-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.el-scenario-illo {
  font-size: 3.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.el-scenario-illo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.el-scenario-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.el-quiz-body {
  padding: 1.25rem 1.5rem;
}
.el-quiz-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}
.el-result {
  margin-bottom: 0.5rem;
}
.el-result-correct,
.el-result-wrong {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.el-result-correct { color: #16a34a; }
.el-result-wrong   { color: #dc2626; }
.el-question {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.el-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.el-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: white;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
}
.el-opt:hover:not(:disabled) {
  border-color: var(--kleur, var(--teal));
  background: var(--gray-50);
}
.el-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}
.el-opt:hover:not(:disabled) .el-radio {
  border-color: var(--kleur, var(--teal));
}
.el-opt--correct {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}
.el-opt--correct .el-radio {
  border-color: #16a34a;
  background: #16a34a;
}
.el-opt--correct .el-radio::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
}
.el-opt--wrong {
  border-color: #dc2626;
  background: #fef2f2;
  color: #b91c1c;
}
.el-opt--wrong .el-radio { border-color: #dc2626; }
.el-feedback {
  display: none;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-700);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

/* ── E-learning quiz (stap 1 & 3) ─────────────────────────── */
.elearning-wrapper {
  max-width: 720px;
  margin: 0 auto;
}
.elearning-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.elearning-label::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.quiz-module {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.quiz-module-header {
  background: var(--dark);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quiz-dot { width:10px; height:10px; border-radius:50%; }
.quiz-dot-r { background:#ff5f57; }
.quiz-dot-y { background:#febc2e; }
.quiz-dot-g { background:#28c840; }
.quiz-title-bar {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.quiz-body {
  padding: 1.75rem;
}
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 33%;
  background: var(--kleur, var(--teal));
  border-radius: 99px;
  transition: width 0.4s ease;
}
.quiz-progress-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.quiz-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  width: 100%;
}
.quiz-option:hover:not(:disabled) {
  border-color: var(--kleur, var(--teal));
  background: rgba(0,0,0,0.02);
}
.quiz-option:disabled { cursor: default; }
.quiz-option.selected-correct {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}
.quiz-option.selected-wrong {
  border-color: #dc2626;
  background: #fef2f2;
  color: #b91c1c;
}
.quiz-option.reveal-correct {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}
.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--gray-600);
}
.quiz-option:hover:not(:disabled) .option-letter {
  background: var(--kleur, var(--teal));
  color: var(--white);
}
.quiz-option.selected-correct .option-letter {
  background: #16a34a; color: white;
}
.quiz-option.selected-wrong .option-letter {
  background: #dc2626; color: white;
}
.quiz-option.reveal-correct .option-letter {
  background: #16a34a; color: white;
}
.quiz-feedback {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-top: 0.75rem;
}
.quiz-feedback-correct {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.quiz-feedback-wrong {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* ── Phishing-simulatie (stap 2) ───────────────────────────── */
.phishing-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.phishing-steps-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.phishing-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.phishing-step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.phishing-step-card .mock-screen {
  flex: 1;
}
.phishing-step-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.phishing-step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 2.5rem;
}
.phishing-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mock-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  pointer-events: none;
  user-select: none;
}
.example-badge {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* Teams e-mail mockup */
.mock-teams {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: white;
  font-size: 13px;
}
.teams-email-topbar {
  background: #464775;
  color: white;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.teams-icon-box {
  width: 26px; height: 26px;
  background: white;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #464775;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.teams-email-meta {
  padding: 8px 14px;
  background: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11px;
  color: #555;
  line-height: 1.7;
}
.teams-email-meta span { color: #888; }
.teams-email-body {
  padding: 20px 18px;
  text-align: center;
  color: #252423;
}
.teams-logo-text {
  color: #464775;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.teams-email-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #252423;
}
.teams-email-body p {
  font-size: 12px;
  color: #605e5c;
  margin-bottom: 16px;
  line-height: 1.5;
}
.btn-teams-mock {
  display: inline-block;
  background: #6264A7;
  color: white;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.teams-email-footer {
  font-size: 10px;
  color: #aaa;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  margin-top: 8px;
}

/* Nep-browseradresbalk boven MS login */
.ms-browser-bar {
  background: #f1f3f4;
  border-bottom: 1px solid #ddd;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ms-browser-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.ms-browser-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  display: block;
}
.ms-browser-dots span:nth-child(1) { background: #ff5f57; }
.ms-browser-dots span:nth-child(2) { background: #febc2e; }
.ms-browser-dots span:nth-child(3) { background: #28c840; }
.ms-browser-url {
  flex: 1;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-family: monospace;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}
.ms-url-warning {
  color: #b91c1c;
  font-size: 11px;
  flex-shrink: 0;
}
.ms-url-text {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-url-text strong {
  color: #b91c1c;
  font-weight: 700;
}

/* Microsoft login mockup */
.mock-ms-login {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: white;
  padding: 0;
  overflow: hidden;
}
.ms-login-body {
  padding: 22px 26px 18px;
}
.ms-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.ms-four-squares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.ms-sq { border-radius: 1px; }
.ms-sq-r { background: #F25022; }
.ms-sq-g { background: #7FBA00; }
.ms-sq-b { background: #00A4EF; }
.ms-sq-y { background: #FFB900; }
.ms-logo-text span {
  font-size: 17px;
  color: #737373;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: -0.3px;
}
.ms-login-title {
  font-size: 18px;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 16px;
}
.ms-input-group { margin-bottom: 14px; }
.ms-input-label {
  display: block;
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}
.ms-input-mock {
  width: 100%;
  padding: 7px 8px;
  border: 1px solid #ccc;
  font-size: 13px;
  color: #333;
  background: white;
  border-radius: 2px;
}
.ms-input-mock.prefilled { color: #333; }
.ms-input-mock.empty { color: #aaa; }
.ms-next-btn {
  display: block;
  width: 100%;
  background: #0067b8;
  color: white;
  text-align: center;
  padding: 9px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
  border-radius: 2px;
}
.ms-login-footer {
  margin-top: 14px;
  font-size: 10px;
  color: #999;
}

/* Feedbackpagina mockup */
.mock-feedback {
  font-family: Arial, sans-serif;
  background: white;
}
.feedback-warning {
  background: #dc2626;
  color: white;
  padding: 14px 16px;
  text-align: center;
}
.feedback-warning h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.feedback-warning p { font-size: 11px; opacity: 0.9; }
.feedback-body { padding: 14px 16px; }
.feedback-signals-title {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.feedback-signals {
  list-style: none;
  margin-bottom: 12px;
}
.feedback-signals li {
  font-size: 11px;
  color: #374151;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.4;
}
.feedback-signals li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-size: 10px;
  top: 7px;
}
.feedback-report {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  color: #78350f;
  margin-bottom: 10px;
}
.feedback-success {
  font-size: 11px;
  color: #059669;
  font-weight: 600;
}

/* ── Security Snack e-mail (stap 3) ────────────────────────── */
.snack-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .snack-section-inner { grid-template-columns: 1fr; }
}
.snack-email-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.snack-email-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.snack-email-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 3px solid;
}
.snack-sender-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.snack-sender-logo-placeholder {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}
.snack-email-from {
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}
.snack-email-from span { display: block; font-size: 0.7rem; opacity: 0.75; font-weight: 400; }
.snack-email-body {
  padding: 1.25rem;
  background: white;
  font-family: Arial, sans-serif;
}
.snack-email-subject {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.snack-email-aanhef {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.snack-email-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.snack-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1rem 0;
}
.snack-quiz-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* Mini-quiz inside snack email */
.snack-quiz {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.snack-quiz-question {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.75rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.45;
}
.snack-quiz-options {
  display: flex;
  flex-direction: column;
}
.snack-quiz-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  background: white;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
  width: 100%;
}
.snack-quiz-option:last-child { border-bottom: none; }
.snack-quiz-option:hover:not(:disabled) { background: var(--gray-50); }
.snack-quiz-option:disabled { cursor: default; }
.snack-quiz-option .option-letter {
  width: 22px; height: 22px;
  font-size: 0.68rem;
}
.snack-quiz-option.selected-correct {
  background: #f0fdf4; color: #15803d;
}
.snack-quiz-option.selected-wrong {
  background: #fef2f2; color: #b91c1c;
}
.snack-quiz-option.reveal-correct {
  background: #f0fdf4; color: #15803d;
}
.snack-feedback {
  display: none;
  font-size: 0.8rem;
  padding: 0.65rem 0.75rem;
  line-height: 1.5;
}
.snack-feedback-correct {
  background: #f0fdf4;
  color: #15803d;
}
.snack-feedback-wrong {
  background: #fef2f2;
  color: #b91c1c;
}

/* ── Security Snack kaart (securitysnack.nl stijl) ─────────── */
.snack-card-boven-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.snack-card-mockup {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.11), 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
/* Header */
.snack-card-top {
  padding: 1.25rem 1.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.snack-card-logo {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}
.snack-card-logo-fallback {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--kleur, var(--teal));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  margin: 0 auto 0.5rem;
}
.snack-card-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.snack-card-sub {
  font-size: 0.75rem;
  color: var(--kleur, var(--teal-dark));
  font-weight: 600;
  margin-top: 1px;
}
.snack-card-greeting {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
/* Body */
.snack-card-body { padding: 1.1rem 1.25rem 1rem; }
.snack-card-scenario {
  display: flex;
  gap: 0.85rem;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.snack-card-scenario-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}
.snack-card-scenario-text {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.snack-card-question {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
/* Opties 2×2 grid */
.snack-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.snack-card-opt {
  padding: 0.65rem 0.7rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--gray-700);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.snack-card-opt:hover:not(:disabled) {
  border-color: var(--kleur, var(--teal));
  background: rgba(0,0,0,.03);
}
.snack-card-opt--preselect {
  border-color: var(--kleur, var(--teal));
  background: var(--kleur, var(--teal));
  color: var(--white);
  font-weight: 600;
}
.snack-card-opt--correct {
  border-color: var(--kleur, var(--teal));
  background: var(--kleur, var(--teal));
  color: var(--white);
  font-weight: 600;
}
.snack-card-opt--wrong {
  border-color: #dc2626;
  background: #fef2f2;
  color: #b91c1c;
}
/* Feedback */
.snack-card-feedback {
  display: none;
  font-size: 0.8rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.snack-card-feedback--correct {
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--green-700);
}
.snack-card-feedback--wrong {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
/* Verzendknop */
.snack-card-submit {
  display: block;
  width: 100%;
  background: var(--kleur, var(--teal));
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter var(--transition), opacity var(--transition);
}
.snack-card-submit:hover:not(:disabled) { filter: brightness(0.88); }
.snack-card-submit:disabled { opacity: 0.5; cursor: default; }
/* Footer */
.snack-card-footer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-400);
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ── Mini-dashboard ────────────────────────────────────────── */
.mini-dashboard {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.dashboard-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.dashboard-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-header-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}
.dashboard-header-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.dashboard-streak {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
}
.dashboard-body { padding: 1.25rem; }
.dashboard-greeting {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.dashboard-stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
}
.dashboard-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.dashboard-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.dashboard-ranking {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.ranking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.ranking-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.ranking-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  color: white;
}
.badge-gold { background: linear-gradient(135deg, #d4af37, #f9d71c); color: #78350f; }
.ranking-bar-track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.ranking-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--kleur, var(--teal));
  transition: width 1s ease;
}
.ranking-info {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.dashboard-badges {
  display: flex;
  gap: 0.6rem;
}
.dashboard-badge {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.65rem;
  text-align: center;
}
.badge-icon {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.badge-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
}
.badge-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── CTA-sectie ────────────────────────────────────────────── */
.section-cta {
  background: var(--green-900);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(43,191,172,.1) 0%, transparent 60%);
  pointer-events: none;
}
.section-cta .container { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 1rem;
}
.section-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--green-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 404-pagina ────────────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem;
}
.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-404 p {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
}

/* ── ====================================================== ── */
/*    ADMIN                                                     */
/* ── ====================================================== ── */

.admin-body {
  background: var(--gray-100);
  min-height: 100vh;
  font-family: var(--font);
}

/* Admin nav */
.admin-nav {
  background: var(--dark);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.admin-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-nav-logo {
  height: 28px;
  width: auto;
}
.admin-nav-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.admin-nav-title strong { color: white; }
.admin-nav-spacer { flex: 1; }
.admin-nav-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.admin-nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* Admin main */
.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Admin page header */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-page-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.admin-page-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Flash messages */
.flash-messages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.flash {
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.flash-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Admin card */
.admin-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.admin-card-header {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-card-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

/* Dashboard table */
.admin-table-wrapper {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-active {
  background: #dcfce7;
  color: #166534;
}
.status-inactive {
  background: var(--gray-100);
  color: var(--gray-500);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.status-active .status-dot { background: #16a34a; }
.status-inactive .status-dot { background: var(--gray-400); }

/* URL copy field */
.url-copy-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 320px;
}
.url-copy-input {
  flex: 1;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--gray-50);
  font-family: 'Courier New', monospace;
  min-width: 0;
}
.btn-copy {
  padding: 0.35rem 0.6rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-copy:hover { background: var(--gray-200); }
.btn-copy.copied { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

/* Table action buttons */
.table-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-action {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-action-edit {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.btn-action-edit:hover { background: #dbeafe; }
.btn-action-toggle-on {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.btn-action-toggle-on:hover { background: #dcfce7; }
.btn-action-toggle-off {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-action-toggle-off:hover { background: var(--gray-200); }
.btn-action-delete {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.btn-action-delete:hover { background: #fee2e2; }

/* Admin kleur preview */
.color-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.color-swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}

/* Admin login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 1.5rem;
}
.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.login-logo-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-logo {
  height: 36px;
  width: auto;
  margin: 0 auto;
}
.login-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
  text-align: center;
}
.login-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.1rem;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-label span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}
.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,130,12,.12);
}
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { resize: vertical; min-height: 80px; }

/* Color picker wrapper */
.color-picker-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.color-picker-group input[type="color"] {
  width: 42px;
  height: 38px;
  padding: 2px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
}
.color-hex-input {
  flex: 1;
}

/* Form sections */
.form-section {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.form-section-header {
  padding: 0.85rem 1.25rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-section-body {
  padding: 1.25rem;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Toggle switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.toggle-label { font-size: 0.85rem; color: var(--text); }
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: 99px;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px; bottom: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-switch input:checked + .toggle-slider { background: #16a34a; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

/* Logo upload */
.logo-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.logo-upload-area:hover { border-color: var(--amber); background: rgba(232,130,12,.02); }
.logo-upload-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.logo-upload-text { font-size: 0.82rem; color: var(--text-muted); }
.logo-upload-text strong { color: var(--amber); }
.logo-preview {
  max-height: 60px;
  max-width: 200px;
  margin: 0.75rem auto 0;
  object-fit: contain;
}
input[type="file"].visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Form footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Success URL box */
.url-result-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.url-result-box p {
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 0.5rem;
}

/* Setup pagina */
.setup-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  margin: 2rem auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.setup-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.setup-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.setup-qr {
  margin: 1rem auto;
  max-width: 200px;
}
.setup-secret {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--gray-700);
  word-break: break-all;
  margin: 0.75rem 0;
}
.setup-warning {
  font-size: 0.75rem;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  margin-top: 1rem;
  text-align: left;
  line-height: 1.5;
}

/* Confirm dialog overlay */
.confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.confirm-overlay.active { display: flex; }
.confirm-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0,0,0,.3);
}
.confirm-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.confirm-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.confirm-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.btn-danger {
  background: #dc2626;
  color: white;
  border: none;
}
.btn-danger:hover { background: #b91c1c; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 0; }
  .hero-inner { padding-bottom: 3rem; }
  .hero-stats { gap: 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .phishing-flow { grid-template-columns: 1fr; }
  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3),
  .admin-table th:nth-child(5),
  .admin-table td:nth-child(5) { display: none; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .admin-page-header { flex-direction: column; align-items: flex-start; }
  .login-card { padding: 1.75rem 1.25rem; }
  .el-scenario-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Utility ───────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--gray-600); }
.empty-state p { font-size: 0.85rem; margin-top: 0.35rem; }
