/*
Theme Name: Event Portal
Theme URI: https://jfdesigns.nl/event-portal
Author: JF Designs / ChatGPT
Description: Festivalwaardige WordPress portal-theme voor Event Portal aanmeldingen. v0.5.10 met Event Portal rebranding zonder oude publieke merkverwijzingen.
Version: 0.5.10
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ff-event-portal
*/

:root {
  --ffep-bg: #070b09;
  --ffep-bg-2: #10130f;
  --ffep-ink: #191714;
  --ffep-muted: #615a4d;
  --ffep-cream: #fffaf0;
  --ffep-cream-2: #f7efdf;
  --ffep-orange: #f26522;
  --ffep-orange-2: #ff7d32;
  --ffep-gold: #f6be4a;
  --ffep-line: rgba(255, 250, 240, 0.16);
  --ffep-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ffep-radius: 28px;
  --ffep-max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(242, 101, 34, 0.23), transparent 30rem),
    radial-gradient(circle at 83% 22%, rgba(246, 190, 74, 0.16), transparent 24rem),
    linear-gradient(135deg, #050806 0%, #0d120e 42%, #17130a 100%);
  color: var(--ffep-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 101, 34, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(246, 190, 74, 0.045) 0 1px, transparent 1px 100%);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 65%);
}

a { color: var(--ffep-gold); }
a:hover { color: var(--ffep-orange-2); }

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

.ffep-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ffep-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 250, 240, 0.13);
  background: rgba(7, 11, 9, 0.86);
  backdrop-filter: blur(18px);
}

.admin-bar .ffep-header-wrap { top: 32px; }

.ffep-header {
  width: min(var(--ffep-max), calc(100% - 36px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.ffep-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ffep-cream);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
  min-width: 0;
}

.ffep-brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 250, 240, 0.85), transparent 0.42rem),
    radial-gradient(circle at 34% 28%, var(--ffep-gold), var(--ffep-orange) 57%, #15110c 59%);
  color: var(--ffep-cream);
  border: 2px solid rgba(255, 250, 240, 0.88);
  box-shadow: 0 0 0 5px rgba(242, 101, 34, 0.16), 0 0 36px rgba(242, 101, 34, 0.35);
  line-height: 1;
  overflow: hidden;
}

.ffep-brand-mark-inner {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 9, 0.82);
  border: 1px solid rgba(255, 250, 240, 0.28);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.ffep-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 0.98;
}

.ffep-brand-title {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ffep-brand-sub {
  color: var(--ffep-gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.ffep-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.ffep-nav a {
  color: rgba(255, 250, 240, 0.92);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.ffep-nav a:hover,
.ffep-nav a.is-active {
  color: var(--ffep-ink);
  background: var(--ffep-gold);
  border-color: rgba(255, 250, 240, 0.25);
}

.ffep-nav a.ffep-nav-cta {
  color: var(--ffep-cream);
  background: linear-gradient(135deg, var(--ffep-orange), #d94c11);
  box-shadow: 0 12px 30px rgba(242, 101, 34, 0.25);
}

.ffep-nav a.ffep-nav-cta:hover { color: var(--ffep-cream); transform: translateY(-1px); }

.ffep-main {
  flex: 1;
  width: min(var(--ffep-max), calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.ffep-page-shell {
  width: 100%;
  max-width: var(--ffep-max);
  margin: 0 auto;
}

.ffep-page-header {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
}

.ffep-kicker,
.wp-block-heading.ffep-kicker {
  color: var(--ffep-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 12px;
}

.ffep-page-title,
.ffep-content h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin: 0 0 18px;
  color: var(--ffep-cream);
  text-wrap: balance;
}

.ffep-page-intro,
.ffep-content > p:first-child {
  color: rgba(255, 250, 240, 0.88);
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.ffep-content h2 {
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
  color: var(--ffep-cream);
}

.ffep-content h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ffep-cream);
}

.ffep-content p { margin-top: 0; }

.ffep-content .wp-block-group,
.ffep-content .wp-block-columns,
.ffep-content .wp-block-query {
  margin-top: 28px;
  margin-bottom: 28px;
}

.ffep-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 38px;
  padding: clamp(34px, 5vw, 70px);
  border-radius: 38px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background:
    radial-gradient(circle at 78% 18%, rgba(246, 190, 74, 0.28), transparent 23rem),
    radial-gradient(circle at 15% 80%, rgba(242, 101, 34, 0.24), transparent 22rem),
    linear-gradient(135deg, rgba(20, 20, 14, 0.98), rgba(6, 10, 8, 0.98));
  box-shadow: var(--ffep-shadow);
}

.ffep-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -210px;
  width: 560px;
  height: 560px;
  border: 64px solid rgba(242, 101, 34, 0.88);
  border-radius: 50%;
  opacity: 0.9;
}

.ffep-hero::before {
  content: "✦";
  position: absolute;
  right: 135px;
  top: 82px;
  color: var(--ffep-gold);
  font-size: 76px;
  text-shadow: 0 0 34px rgba(246, 190, 74, 0.45);
  transform: rotate(-10deg);
}

.ffep-hero > * { position: relative; z-index: 2; }

.ffep-hero-title,
.ffep-hero h1 {
  font-size: clamp(3.6rem, 9vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
  margin: 0 0 24px;
  color: var(--ffep-cream);
}

.ffep-hero-lead,
.ffep-hero p {
  max-width: 650px;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.ffep-hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.09);
  border: 1px solid rgba(255, 250, 240, 0.16);
}

.ffep-mini-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 11, 9, 0.55);
  border: 1px solid rgba(255, 250, 240, 0.13);
}

.ffep-mini-stat strong { color: var(--ffep-gold); display: block; font-size: 1.1rem; }
.ffep-mini-stat span { color: rgba(255, 250, 240, 0.76); font-size: 0.95rem; }

.ffep-button-row,
.wp-block-buttons.ffep-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.ffep-btn,
.wp-block-button__link,
.ffep-content .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--ffep-orange), #cf4c12);
  color: var(--ffep-cream) !important;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 15px 34px rgba(242, 101, 34, 0.26);
}

.ffep-btn:hover,
.wp-block-button__link:hover { transform: translateY(-1px); }

.ffep-btn.secondary,
.is-style-outline .wp-block-button__link {
  color: var(--ffep-cream) !important;
  background: rgba(255, 250, 240, 0.08) !important;
  border: 1px solid rgba(255, 250, 240, 0.22) !important;
  box-shadow: none;
}

.ffep-grid,
.ffep-content .wp-block-columns.ffep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ffep-card,
.ffep-content .ffep-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border-radius: var(--ffep-radius);
  background: var(--ffep-cream);
  color: var(--ffep-ink);
  box-shadow: var(--ffep-shadow);
  border: 1px solid rgba(255, 250, 240, 0.22);
}

.ffep-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(to bottom, var(--ffep-orange), var(--ffep-gold));
}

.ffep-card * { color: inherit; }
.ffep-card h2,
.ffep-card h3 { color: var(--ffep-ink); margin-top: 0; }
.ffep-card p { color: #514a3f; }
.ffep-card a { color: #b84209; font-weight: 900; }

.ffep-card.dark {
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 101, 34, 0.18), transparent 14rem),
    linear-gradient(135deg, #11150f, #090c08);
  color: var(--ffep-cream);
  border-color: rgba(255, 250, 240, 0.15);
}
.ffep-card.dark h2,
.ffep-card.dark h3,
.ffep-card.dark p { color: var(--ffep-cream); }
.ffep-card.dark p { opacity: 0.84; }
.ffep-card.dark a { color: var(--ffep-gold); }

.ffep-section {
  margin: 42px 0;
}

.ffep-section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ffep-section-title-row h2 { margin: 0; }
.ffep-section-title-row p { max-width: 520px; color: rgba(255, 250, 240, 0.78); margin: 0; }

.ffep-plugin-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--ffep-radius);
  background: var(--ffep-cream);
  color: var(--ffep-ink);
  box-shadow: var(--ffep-shadow);
  border: 1px solid rgba(255, 250, 240, 0.16);
}

.ffep-plugin-shell *:not(a):not(button):not(.button):not(input):not(select):not(textarea):not(option):not(svg):not(path) {
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell a { color: #b84209 !important; font-weight: 800; }
.ffep-plugin-shell button,
.ffep-plugin-shell .button,
.ffep-plugin-shell input[type="submit"] {
  background: #0d120e !important;
  color: var(--ffep-cream) !important;
  border-radius: 999px !important;
  border: 0 !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
}

.ffep-plugin-shell input,
.ffep-plugin-shell select,
.ffep-plugin-shell textarea {
  width: 100%;
  max-width: 100%;
  color: var(--ffep-ink) !important;
  background: #fff !important;
  border: 1px solid #ded3bd !important;
  border-radius: 14px !important;
  padding: 11px 13px !important;
}

.ffep-plugin-shell table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: var(--ffep-ink);
  overflow: hidden;
  border-radius: 18px;
}
.ffep-plugin-shell th,
.ffep-plugin-shell td {
  border-bottom: 1px solid #eadfca;
  padding: 12px;
  text-align: left;
}
.ffep-plugin-shell th { background: #f1e4cd; }

.ffep-updates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ffep-update-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.09);
  border: 1px solid rgba(255, 250, 240, 0.15);
  color: var(--ffep-cream);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.ffep-update-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 250, 240, 0.13);
}

.ffep-update-card time {
  color: var(--ffep-gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ffep-update-card h3 {
  margin: 12px 0 9px;
  color: var(--ffep-cream);
}
.ffep-update-card p { color: rgba(255, 250, 240, 0.72); font-size: 0.96rem; }

.ffep-footer {
  border-top: 1px solid rgba(255, 250, 240, 0.13);
  background: rgba(4, 7, 5, 0.68);
}

.ffep-footer-inner {
  width: min(var(--ffep-max), calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.95rem;
}

.ffep-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ffep-footer a { color: var(--ffep-gold); font-weight: 800; text-decoration: none; }

.ffep-notice {
  border-left: 7px solid var(--ffep-orange);
  padding: 18px 20px;
  background: rgba(246, 190, 74, 0.12);
  border-radius: 18px;
}

.ffep-content ul,
.ffep-content ol { padding-left: 1.25em; }
.ffep-content li { margin: 0.35rem 0; }

.wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  margin: 32px 0;
}



/* v0.4.0 - Plugin layout stabilisatie */
.ffep-plugin-shell,
.ffep-plugin-shell * {
  box-sizing: border-box;
}

.ffep-plugin-shell > * {
  max-width: 100%;
}

.ffep-plugin-shell form,
.ffep-plugin-shell fieldset,
.ffep-plugin-shell .ff-card,
.ffep-plugin-shell .ff-panel,
.ffep-plugin-shell .ff-section,
.ffep-plugin-shell [class*="card"],
.ffep-plugin-shell [class*="panel"],
.ffep-plugin-shell [class*="section"] {
  min-width: 0;
  max-width: 100%;
}

.ffep-plugin-shell [class*="grid"],
.ffep-plugin-shell [class*="row"],
.ffep-plugin-shell [class*="columns"],
.ffep-plugin-shell [class*="cols"] {
  min-width: 0;
}

.ffep-plugin-shell form [class*="grid"],
.ffep-plugin-shell form [class*="row"],
.ffep-plugin-shell form [class*="columns"],
.ffep-plugin-shell form [class*="cols"] {
  gap: 22px !important;
}

.ffep-plugin-shell label,
.ffep-plugin-shell input,
.ffep-plugin-shell select,
.ffep-plugin-shell textarea {
  min-width: 0;
}

.ffep-plugin-shell input + button,
.ffep-plugin-shell input + .button,
.ffep-plugin-shell input + input[type="submit"],
.ffep-plugin-shell textarea + button,
.ffep-plugin-shell textarea + .button,
.ffep-plugin-shell textarea + input[type="submit"] {
  margin-top: 16px !important;
}

.ffep-plugin-shell .delete,
.ffep-plugin-shell .danger,
.ffep-plugin-shell [class*="delete"],
.ffep-plugin-shell [class*="danger"] {
  margin-top: 18px;
}

.ffep-plugin-shell table {
  table-layout: auto;
}

.ffep-plugin-shell th,
.ffep-plugin-shell td {
  vertical-align: top;
}

.ffep-page-mijn-ff .ffep-plugin-shell table th:nth-child(4),
.ffep-page-mijn-ff .ffep-plugin-shell table td:nth-child(4),
.ffep-page-mijn-ff .ffep-plugin-shell table th:nth-child(5),
.ffep-page-mijn-ff .ffep-plugin-shell table td:nth-child(5),
.ffep-page-mijn-ff .ffep-plugin-shell table th:nth-child(6),
.ffep-page-mijn-ff .ffep-plugin-shell table td:nth-child(6) {
  display: none !important;
}

.ffep-locked-card {
  margin-top: 42px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--ffep-radius);
  color: var(--ffep-ink);
  background: linear-gradient(135deg, var(--ffep-cream), #fff3dc);
  border: 1px solid rgba(255, 250, 240, 0.24);
  box-shadow: var(--ffep-shadow);
}

.ffep-locked-card h2 {
  margin-top: 0;
  color: var(--ffep-ink);
}

.ffep-locked-card p {
  color: #514a3f;
  max-width: 760px;
}

@media (max-width: 860px) {
  .ffep-plugin-shell form [class*="grid"],
  .ffep-plugin-shell form [class*="columns"],
  .ffep-plugin-shell form [class*="cols"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  .ffep-header { align-items: flex-start; flex-direction: column; padding: 15px 0; }
  .ffep-nav { justify-content: flex-start; }
  .ffep-hero { grid-template-columns: 1fr; min-height: auto; }
  .ffep-grid,
  .ffep-content .wp-block-columns.ffep-grid,
  .ffep-updates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .admin-bar .ffep-header-wrap { top: 0; }
  .ffep-header,
  .ffep-main,
  .ffep-footer-inner { width: min(100% - 24px, var(--ffep-max)); }
  .ffep-main { padding-top: 32px; }
  .ffep-brand-title { font-size: 0.95rem; }
  .ffep-brand-sub { font-size: 0.65rem; }
  .ffep-nav { width: 100%; gap: 6px; }
  .ffep-nav a { font-size: 0.84rem; padding: 8px 10px; }
  .ffep-hero { padding: 28px; border-radius: 28px; }
  .ffep-hero::after { width: 320px; height: 320px; border-width: 38px; right: -130px; bottom: -120px; }
  .ffep-hero::before { right: 44px; top: 40px; font-size: 44px; }
  .ffep-grid,
  .ffep-content .wp-block-columns.ffep-grid,
  .ffep-updates { grid-template-columns: 1fr; }
  .ffep-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* v0.4.0 - extra fallback wanneer shortcodes niet in ffep-plugin-shell staan */
.ffep-page-mijn-ff table th:nth-child(4),
.ffep-page-mijn-ff table td:nth-child(4),
.ffep-page-mijn-ff table th:nth-child(5),
.ffep-page-mijn-ff table td:nth-child(5),
.ffep-page-mijn-ff table th:nth-child(6),
.ffep-page-mijn-ff table td:nth-child(6) {
  display: none !important;
}

.ffep-page-mijn-ff input + button,
.ffep-page-mijn-ff input + .button,
.ffep-page-mijn-ff input + input[type="submit"],
.ffep-page-mijn-ff textarea + button,
.ffep-page-mijn-ff textarea + .button,
.ffep-page-mijn-ff textarea + input[type="submit"] {
  margin-top: 16px !important;
}

.ffep-page-mijn-ff input,
.ffep-page-mijn-ff select,
.ffep-page-mijn-ff textarea {
  max-width: 100%;
  box-sizing: border-box;
}


/* v0.5.0 - Centrale integratie Event Portal Manager + Ticketmarkt */
/* v0.5.2 bouwt voort met dropdownnavigatie, leesbaarheidspolish en aanmeldpagina UX. */
.ffep-plugin-shell {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--ffep-radius);
  background: linear-gradient(135deg, var(--ffep-cream), #fff3dc);
  color: var(--ffep-ink);
  box-shadow: var(--ffep-shadow);
  border: 1px solid rgba(255, 250, 240, 0.18);
}

.ffep-plugin-shell,
.ffep-plugin-shell * {
  box-sizing: border-box;
}

.ffep-plugin-shell .ffem-wrap,
.ffep-plugin-shell .fftm-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ffep-ink);
  font-family: inherit;
}

.ffep-plugin-shell h2,
.ffep-plugin-shell h3,
.ffep-plugin-shell h4 {
  color: var(--ffep-ink) !important;
  margin-top: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.ffep-plugin-shell p,
.ffep-plugin-shell li,
.ffep-plugin-shell label,
.ffep-plugin-shell small,
.ffep-plugin-shell th,
.ffep-plugin-shell td {
  color: #514a3f !important;
}

.ffep-plugin-shell .ffem-muted,
.ffep-plugin-shell .fftm-meta,
.ffep-plugin-shell .description {
  color: var(--ffep-muted) !important;
}

.ffep-plugin-shell .ffem-card,
.ffep-plugin-shell .fftm-card,
.ffep-plugin-shell .fftm-hero,
.ffep-plugin-shell .fftm-empty,
.ffep-plugin-shell .ffem-info-box,
.ffep-plugin-shell .ffem-payment-link-box,
.ffep-plugin-shell .ffem-payment-summary,
.ffep-plugin-shell .ffem-payment-warning,
.ffep-plugin-shell .ffem-cost-preview,
.ffep-plugin-shell .ffem-fieldset {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 24px;
  background: #fffaf0;
  color: var(--ffep-ink);
  border: 1px solid rgba(25, 23, 20, 0.10);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
}

.ffep-plugin-shell .ffem-card::before,
.ffep-plugin-shell .fftm-card::before,
.ffep-plugin-shell .fftm-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(to bottom, var(--ffep-orange), var(--ffep-gold));
}

.ffep-plugin-shell .ffem-card > *,
.ffep-plugin-shell .fftm-card > *,
.ffep-plugin-shell .fftm-hero > * {
  position: relative;
}

.ffep-plugin-shell .ffem-hero-card,
.ffep-plugin-shell .fftm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fffaf0, #fff2dc);
}

.ffep-plugin-shell .fftm-page-head,
.ffep-plugin-shell .fftm-actionbar-top {
  margin-top: 0;
}

.ffep-plugin-shell .fftm-page-head h2,
.ffep-plugin-shell .fftm-hero h2,
.ffep-plugin-shell .ffem-hero-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.ffep-plugin-shell .fftm-eyebrow,
.ffep-plugin-shell .ffem-pill,
.ffep-plugin-shell .fftm-pill,
.ffep-plugin-shell .fftm-status,
.ffep-plugin-shell .fftm-admin-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff2dc;
  color: #8f3507 !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ffep-plugin-shell .fftm-eyebrow {
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ffep-plugin-shell .ffem-event-grid,
.ffep-plugin-shell .ffem-portal-grid,
.ffep-plugin-shell .ffem-form-grid,
.ffep-plugin-shell .fftm-grid,
.ffep-plugin-shell .fftm-columns,
.ffep-plugin-shell .fftm-row,
.ffep-plugin-shell .fftm-listings {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.ffep-plugin-shell .ffem-event-grid,
.ffep-plugin-shell .fftm-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ffep-plugin-shell .ffem-portal-grid,
.ffep-plugin-shell .fftm-columns,
.ffep-plugin-shell .ffem-form-grid,
.ffep-plugin-shell .fftm-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffep-plugin-shell form,
.ffep-plugin-shell .ffem-form,
.ffep-plugin-shell .fftm-form,
.ffep-plugin-shell fieldset {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.ffep-plugin-shell label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ffep-plugin-shell input,
.ffep-plugin-shell select,
.ffep-plugin-shell textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--ffep-ink) !important;
  background: #fff !important;
  border: 1px solid #ded3bd !important;
  border-radius: 14px !important;
  padding: 12px 13px !important;
  font: inherit;
}

.ffep-plugin-shell input[type="checkbox"],
.ffep-plugin-shell input[type="radio"] {
  width: auto;
  min-width: 18px;
  margin-top: 4px;
}

.ffep-plugin-shell .ffem-checkbox,
.ffep-plugin-shell .fftm-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ffep-plugin-shell .ffem-button,
.ffep-plugin-shell .fftm-button,
.ffep-plugin-shell button,
.ffep-plugin-shell .button,
.ffep-plugin-shell input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ffep-orange), #cf4c12) !important;
  color: var(--ffep-cream) !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.22);
}

.ffep-plugin-shell .ffem-button-secondary,
.ffep-plugin-shell .fftm-button-secondary,
.ffep-plugin-shell .button-secondary {
  background: #0d120e !important;
  color: var(--ffep-cream) !important;
  box-shadow: none;
}

.ffep-plugin-shell .ffem-button-danger,
.ffep-plugin-shell .ffem-person-remove,
.ffep-plugin-shell .ffem-danger-card .ffem-button,
.ffep-plugin-shell [class*="danger"] button {
  background: #8a1f1f !important;
}

.ffep-plugin-shell .ffem-button-small,
.ffep-plugin-shell .fftm-button-small {
  min-height: 36px;
  padding: 8px 12px !important;
  font-size: 0.82rem;
}

.ffep-plugin-shell .ffem-event-actions,
.ffep-plugin-shell .fftm-actionbar,
.ffep-plugin-shell .fftm-hero-actions,
.ffep-plugin-shell .fftm-admin-actions,
.ffep-plugin-shell .ffem-people-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ffep-plugin-shell .fftm-hero-actions,
.ffep-plugin-shell .ffem-people-head {
  justify-content: space-between;
}

.ffep-plugin-shell .ffem-table-scroll,
.ffep-plugin-shell .fftm-table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
}

.ffep-plugin-shell table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  color: var(--ffep-ink);
  overflow: hidden;
  border-radius: 18px;
}

.ffep-plugin-shell th,
.ffep-plugin-shell td {
  border-bottom: 1px solid #eadfca;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.ffep-plugin-shell th {
  background: #f1e4cd;
  color: var(--ffep-ink) !important;
  font-weight: 900;
}

.ffep-plugin-shell .ffem-alert,
.ffep-plugin-shell .fftm-notice {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 0 0 18px;
  font-weight: 800;
}

.ffep-plugin-shell .ffem-alert-success,
.ffep-plugin-shell .fftm-ok {
  background: #e8f8ed;
  color: #155d25 !important;
}

.ffep-plugin-shell .ffem-alert-warning {
  background: #fff2dc;
  color: #8f3507 !important;
}

.ffep-plugin-shell .ffem-alert-error,
.ffep-plugin-shell .fftm-error {
  background: #ffecec;
  color: #8a1f1f !important;
}

.ffep-plugin-shell .fftm-policy {
  margin-top: 24px;
  background: #0d120e;
  border: 1px solid rgba(255, 250, 240, 0.16);
  color: var(--ffep-cream) !important;
}

.ffep-plugin-shell .fftm-policy,
.ffep-plugin-shell .fftm-policy * {
  color: var(--ffep-cream) !important;
}

.ffep-plugin-shell .ffem-attendance-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.ffep-plugin-shell .ffem-attendance-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff2dc;
}

.ffep-plugin-shell .ffem-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .ffep-plugin-shell .ffem-portal-grid,
  .ffep-plugin-shell .fftm-columns,
  .ffep-plugin-shell .ffem-form-grid,
  .ffep-plugin-shell .fftm-row,
  .ffep-plugin-shell .ffem-hero-card,
  .ffep-plugin-shell .fftm-hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ffep-plugin-shell .fftm-hero-actions,
  .ffep-plugin-shell .ffem-people-head {
    justify-content: flex-start;
  }
}

/* v0.5.1 - Navigatie dropdowns + rustige plugin-polish */
/* v0.5.2 behoudt deze navigatie en voegt aanmeldpagina UX-polish toe. */
.ffep-nav {
  gap: 10px;
  overflow: visible;
}

.ffep-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ffep-nav-link,
.ffep-nav a.ffep-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.ffep-nav-parent span {
  font-size: 0.78em;
  opacity: 0.8;
  transform: translateY(1px);
}

.ffep-nav-group.is-active > .ffep-nav-parent {
  color: var(--ffep-ink);
  background: var(--ffep-gold);
  border-color: rgba(255, 250, 240, 0.25);
}

.ffep-nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 250px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.98);
  border: 1px solid rgba(25, 23, 20, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.ffep-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.ffep-nav-group:hover .ffep-nav-dropdown,
.ffep-nav-group:focus-within .ffep-nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.ffep-nav-dropdown a.ffep-nav-dropdown-item,
.ffep-nav-dropdown-item {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--ffep-ink) !important;
  text-decoration: none;
  font-weight: 900;
  background: transparent;
  border: 0;
  white-space: nowrap;
}

.ffep-nav-dropdown-item small {
  color: var(--ffep-muted) !important;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: normal;
}

.ffep-nav-dropdown-item:hover,
.ffep-nav-dropdown-item:focus {
  background: #fff2dc !important;
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 0%, rgba(246, 190, 74, 0.20), transparent 18rem),
    linear-gradient(135deg, #fffaf0, #f6ecd8);
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell .ffem-wrap,
.ffep-plugin-shell .fftm-wrap {
  display: grid;
  gap: 24px;
}

.ffep-plugin-shell .ffem-card,
.ffep-plugin-shell .fftm-card,
.ffep-plugin-shell .fftm-hero,
.ffep-plugin-shell .fftm-empty,
.ffep-plugin-shell .ffem-info-box,
.ffep-plugin-shell .ffem-payment-link-box,
.ffep-plugin-shell .ffem-payment-summary,
.ffep-plugin-shell .ffem-payment-warning,
.ffep-plugin-shell .ffem-cost-preview,
.ffep-plugin-shell .ffem-fieldset,
.ffep-plugin-shell .fftm-policy {
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.88) !important;
  color: var(--ffep-ink) !important;
  border: 1px solid rgba(25, 23, 20, 0.11);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.10);
}

.ffep-plugin-shell .ffem-card::before,
.ffep-plugin-shell .fftm-card::before,
.ffep-plugin-shell .fftm-hero::before,
.ffep-plugin-shell .fftm-policy::before {
  width: 6px;
}

.ffep-plugin-shell .ffem-hero-card,
.ffep-plugin-shell .fftm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-bottom: 0;
}

.ffep-plugin-shell .ffem-hero-card h2,
.ffep-plugin-shell .fftm-hero h2 {
  flex: 1 1 320px;
  margin-bottom: 0;
}

.ffep-plugin-shell .ffem-hero-card p,
.ffep-plugin-shell .fftm-hero p {
  margin-bottom: 0;
}

.ffep-plugin-shell .fftm-hero > div:first-child {
  flex: 1 1 520px;
}

.ffep-plugin-shell .fftm-hero-actions,
.ffep-plugin-shell .ffem-event-actions,
.ffep-plugin-shell .fftm-actionbar {
  gap: 12px;
}

.ffep-plugin-shell .ffem-form,
.ffep-plugin-shell .fftm-form,
.ffep-plugin-shell form {
  gap: 20px;
}

.ffep-plugin-shell .ffem-form-grid,
.ffep-plugin-shell .fftm-row {
  gap: 18px 22px;
}

.ffep-plugin-shell label {
  gap: 8px;
  color: var(--ffep-ink) !important;
  line-height: 1.25;
}

.ffep-plugin-shell input,
.ffep-plugin-shell select,
.ffep-plugin-shell textarea {
  min-height: 48px;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025);
}

.ffep-plugin-shell textarea {
  min-height: 120px;
}

.ffep-plugin-shell input[type="checkbox"],
.ffep-plugin-shell input[type="radio"] {
  min-height: 0;
  accent-color: var(--ffep-orange);
}

.ffep-plugin-shell .ffem-info-box,
.ffep-plugin-shell .fftm-help,
.ffep-plugin-shell .fftm-empty {
  background: #fff7e7 !important;
}

.ffep-plugin-shell .ffem-payment-summary,
.ffep-plugin-shell .ffem-cost-preview {
  background: #fffdf7 !important;
}

.ffep-plugin-shell .fftm-policy,
.ffep-plugin-shell .fftm-policy *,
.fftm-policy,
.fftm-policy * {
  background-color: transparent;
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell .fftm-policy,
.fftm-policy {
  background: #fff7e7 !important;
  border-color: #efd2a1 !important;
}

.ffep-plugin-shell .fftm-policy h3,
.fftm-policy h3 {
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell .fftm-policy p,
.fftm-policy p {
  color: #514a3f !important;
}

.ffep-plugin-shell .ffem-button,
.ffep-plugin-shell .fftm-button,
.ffep-plugin-shell button,
.ffep-plugin-shell .button,
.ffep-plugin-shell input[type="submit"] {
  min-height: 48px;
  padding: 13px 20px !important;
  white-space: nowrap;
}

.ffep-plugin-shell .ffem-button-secondary,
.ffep-plugin-shell .fftm-button-secondary,
.ffep-plugin-shell .button-secondary {
  background: #111713 !important;
}

.ffep-plugin-shell .ffem-person-remove {
  min-width: 34px;
  min-height: 34px;
  padding: 0 !important;
}

.ffep-plugin-shell .ffem-event-card,
.ffep-plugin-shell .fftm-event-card {
  display: grid;
  gap: 12px;
}

.ffep-plugin-shell .ffem-alert,
.ffep-plugin-shell .fftm-notice {
  line-height: 1.45;
}

.ffep-plugin-shell .ffem-danger-card form {
  display: grid;
  gap: 18px;
}

@media (max-width: 980px) {
  .ffep-header {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .ffep-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .ffep-nav-dropdown {
    left: 0;
    transform: translate(0, 8px);
  }

  .ffep-nav-group:hover .ffep-nav-dropdown,
  .ffep-nav-group:focus-within .ffep-nav-dropdown {
    transform: translate(0, 0);
  }
}

@media (max-width: 760px) {
  .ffep-plugin-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .ffep-plugin-shell .ffem-form-grid,
  .ffep-plugin-shell .fftm-row,
  .ffep-plugin-shell .ffem-portal-grid,
  .ffep-plugin-shell .fftm-columns {
    grid-template-columns: 1fr !important;
  }

  .ffep-nav-dropdown {
    position: static;
    min-width: 100%;
    display: none;
    margin-top: 8px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .ffep-nav-group {
    display: grid;
  }

  .ffep-nav-group:hover .ffep-nav-dropdown,
  .ffep-nav-group:focus-within .ffep-nav-dropdown {
    display: grid;
    transform: none;
  }
}


/* v0.5.2 - Aanmeldpagina UX polish */
.ffep-plugin-shell .ffem-form {
  gap: clamp(24px, 3vw, 34px);
}

.ffep-plugin-shell .ffem-form-grid {
  align-items: start;
}

.ffep-plugin-shell .ffem-configured-field.is-wide,
.ffep-plugin-shell .ffem-power-note {
  grid-column: 1 / -1;
}

.ffep-plugin-shell .ffem-power-note {
  margin-top: -2px;
}

.ffep-plugin-shell .ffem-people-block {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(25, 23, 20, 0.10);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.ffep-plugin-shell .ffem-section-title-row,
.ffep-plugin-shell .ffem-person-card-head,
.ffep-plugin-shell .ffem-introducees-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ffep-plugin-shell .ffem-section-title-row h3,
.ffep-plugin-shell .ffem-person-card-head h4,
.ffep-plugin-shell .ffem-introducees-head h4 {
  margin: 0;
}

.ffep-plugin-shell .ffem-section-kicker {
  margin: 0 0 5px;
  color: #b84209 !important;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ffep-plugin-shell .ffem-people-info-card,
.ffep-plugin-shell .ffem-person-card {
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 22px;
  background: #fffdf7;
  border: 1px solid rgba(25, 23, 20, 0.10);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ffep-plugin-shell .ffem-people-info-card {
  background: #fff7e7;
}

.ffep-plugin-shell .ffem-people-info-card p,
.ffep-plugin-shell .ffem-person-card p {
  margin: 0;
}

.ffep-plugin-shell .ffem-people-info-card p + p {
  margin-top: 9px;
}

.ffep-plugin-shell .ffem-main-booker-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: end;
  gap: 18px 24px;
}

.ffep-plugin-shell .ffem-person-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2dc;
  color: #8f3507;
  font-weight: 900;
  font-size: 0.78rem;
}

.ffep-plugin-shell .ffem-introducees-card {
  display: grid;
  gap: 16px;
}

.ffep-plugin-shell .ffem-people-list {
  display: grid;
  gap: 12px;
}

.ffep-plugin-shell .ffem-person-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr) minmax(190px, 1.25fr) minmax(150px, auto) 38px;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fffaf0;
  border: 1px solid rgba(25, 23, 20, 0.09);
}

.ffep-plugin-shell .ffem-person-row label {
  margin: 0;
}

.ffep-plugin-shell .ffem-person-row input,
.ffep-plugin-shell .ffem-person-row select {
  min-height: 44px;
}

.ffep-plugin-shell .ffem-person-row .ffem-person-public {
  align-self: center;
  padding: 10px 0 7px;
  line-height: 1.2;
}

.ffep-plugin-shell .ffem-person-row .ffem-person-remove {
  align-self: center;
  justify-self: end;
}

.ffep-plugin-shell .ffem-cost-preview {
  display: grid;
  gap: 18px;
}

.ffep-plugin-shell .ffem-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

.ffep-plugin-shell .ffem-payment-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
  border-radius: 20px;
  background: #fffaf0;
  border: 1px solid rgba(25, 23, 20, 0.10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ffep-plugin-shell .ffem-payment-card span {
  color: var(--ffep-muted) !important;
  font-weight: 850;
}

.ffep-plugin-shell .ffem-payment-card strong {
  color: var(--ffep-ink) !important;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1;
}

.ffep-plugin-shell .ffem-payment-summary-open {
  background: #fff2dc;
  border-color: #efd2a1;
}

.ffep-plugin-shell .ffem-cost-preview table {
  margin-top: 0;
}

@media (max-width: 980px) {
  .ffep-plugin-shell .ffem-main-booker-card,
  .ffep-plugin-shell .ffem-person-row,
  .ffep-plugin-shell .ffem-payment-summary {
    grid-template-columns: 1fr;
  }

  .ffep-plugin-shell .ffem-person-row .ffem-person-remove {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .ffep-plugin-shell .ffem-section-title-row,
  .ffep-plugin-shell .ffem-person-card-head,
  .ffep-plugin-shell .ffem-introducees-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v0.5.4 - WordPress beheerbaar hoofdmenu + dropdowns + menu-item zichtbaarheid */
.ffep-nav-wp {
  overflow: visible;
}

.ffep-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ffep-nav-menu li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ffep-nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.ffep-nav-menu > li.current-menu-item > a,
.ffep-nav-menu > li.current-menu-ancestor > a,
.ffep-nav-menu > li.current_page_item > a,
.ffep-nav-menu > li.current_page_ancestor > a {
  color: var(--ffep-ink);
  background: var(--ffep-gold);
  border-color: rgba(255, 250, 240, 0.25);
}

.ffep-nav-menu > li.menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.78em;
  opacity: 0.8;
  transform: translateY(1px);
}

.ffep-nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.98);
  border: 1px solid rgba(25, 23, 20, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.ffep-nav-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.ffep-nav-menu li:hover > .sub-menu,
.ffep-nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.ffep-nav-menu .sub-menu a {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--ffep-ink) !important;
  text-decoration: none;
  font-weight: 900;
  background: transparent;
  border: 0;
  white-space: nowrap;
}

.ffep-nav-menu .sub-menu a:hover,
.ffep-nav-menu .sub-menu a:focus,
.ffep-nav-menu .sub-menu .current-menu-item > a {
  background: #fff2dc !important;
  color: var(--ffep-ink) !important;
}

.ffep-nav-menu > li:last-child > a,
.ffep-nav-menu > li.ffep-nav-cta > a {
  color: var(--ffep-cream);
  background: linear-gradient(135deg, var(--ffep-orange), #d94c11);
  box-shadow: 0 12px 30px rgba(242, 101, 34, 0.25);
}

@media (max-width: 980px) {
  .ffep-nav-menu {
    width: 100%;
    justify-content: flex-start;
  }

  .ffep-nav-menu .sub-menu {
    left: 0;
    transform: translate(0, 8px);
  }

  .ffep-nav-menu li:hover > .sub-menu,
  .ffep-nav-menu li:focus-within > .sub-menu {
    transform: translate(0, 0);
  }
}

@media (max-width: 760px) {
  .ffep-nav-menu {
    align-items: stretch;
  }

  .ffep-nav-menu > li.menu-item-has-children {
    display: grid;
  }

  .ffep-nav-menu .sub-menu {
    position: static;
    min-width: 100%;
    display: none;
    margin-top: 8px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .ffep-nav-menu li:hover > .sub-menu,
  .ffep-nav-menu li:focus-within > .sub-menu {
    display: grid;
    transform: none;
  }
}


/* v0.5.5 - Strakker registratieformulier + oogiconen + duidelijkere alerts */
.ffep-plugin-shell .ffem-auth-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px);
}

.ffep-plugin-shell .ffem-auth-head {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.ffep-plugin-shell .ffem-auth-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ffep-plugin-shell .ffem-auth-head .ffem-help,
.ffep-plugin-shell .ffem-field .ffem-help,
.ffep-plugin-shell .ffem-human-field .ffem-help {
  color: var(--ffep-muted) !important;
  font-weight: 600;
  line-height: 1.45;
}

.ffep-plugin-shell .ffem-auth-form {
  gap: 22px;
}

.ffep-plugin-shell .ffem-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.ffep-plugin-shell .ffem-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ffep-plugin-shell .ffem-field-wide {
  grid-column: 1 / -1;
}

.ffep-plugin-shell .ffem-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ffep-plugin-shell .ffem-password-field {
  position: relative;
  display: block;
}

.ffep-plugin-shell .ffem-password-field input {
  padding-right: 56px !important;
}

.ffep-plugin-shell .ffem-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e2d5bd !important;
  background: #fff7e7 !important;
  color: #6a3418 !important;
  box-shadow: none !important;
}

.ffep-plugin-shell .ffem-password-toggle:hover,
.ffep-plugin-shell .ffem-password-toggle:focus {
  background: #fff2dc !important;
  color: #b84209 !important;
}

.ffep-plugin-shell .ffem-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.ffep-plugin-shell .ffem-password-toggle[data-visible="true"] {
  background: #ffe9d2 !important;
  color: #b84209 !important;
}

.ffep-plugin-shell .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ffep-plugin-shell .ffem-password-meter {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff8ec;
  border: 1px solid #eddcc0;
}

.ffep-plugin-shell .ffem-password-meter-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #eee4d3;
  overflow: hidden;
}

.ffep-plugin-shell .ffem-password-meter-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #d07b3d;
  transition: width 160ms ease, background-color 160ms ease;
}

.ffep-plugin-shell .ffem-password-meter.is-red .ffem-password-meter-track span { background: #c43b2b; }
.ffep-plugin-shell .ffem-password-meter.is-amber .ffem-password-meter-track span { background: #d88a0f; }
.ffep-plugin-shell .ffem-password-meter.is-green .ffem-password-meter-track span { background: #2f8b57; }

.ffep-plugin-shell .ffem-password-meter-label {
  font-weight: 900;
  color: var(--ffep-ink) !important;
}

.ffep-plugin-shell .ffem-password-meter.is-red .ffem-password-meter-label { color: #8a1f1f !important; }
.ffep-plugin-shell .ffem-password-meter.is-amber .ffem-password-meter-label { color: #8f5a07 !important; }
.ffep-plugin-shell .ffem-password-meter.is-green .ffem-password-meter-label { color: #1d6a42 !important; }

.ffep-plugin-shell .ffem-password-rules {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.ffep-plugin-shell .ffem-password-rules li {
  color: var(--ffep-muted) !important;
  font-weight: 700;
}

.ffep-plugin-shell .ffem-password-rules li.is-valid { color: #1d6a42 !important; }
.ffep-plugin-shell .ffem-password-rules li.is-invalid { color: #8a1f1f !important; }

.ffep-plugin-shell .ffem-alert-prominent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ffep-plugin-shell .ffem-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
  background: rgba(255,255,255,0.72);
}

.ffep-plugin-shell .ffem-alert-body {
  display: grid;
  gap: 4px;
}

.ffep-plugin-shell .ffem-alert-body strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.ffep-plugin-shell .ffem-alert-body span {
  display: block;
  font-weight: 700;
  line-height: 1.45;
}

.ffep-plugin-shell .ffem-human-field input {
  max-width: 240px;
}

@media (max-width: 760px) {
  .ffep-plugin-shell .ffem-auth-grid {
    grid-template-columns: 1fr;
  }

  .ffep-plugin-shell .ffem-human-field input {
    max-width: 100%;
  }
}

/* v0.5.7 - Portal UX polish: automatische shortcode-shell, rustiger formulieren, betere meldingen */
.ffep-content .ffep-plugin-shell {
  margin-top: clamp(6px, 1.2vw, 16px);
}

.ffep-plugin-shell {
  isolation: isolate;
  overflow: hidden;
}

.ffep-plugin-shell .ffem-wrap,
.ffep-plugin-shell .fftm-wrap {
  gap: clamp(18px, 2.8vw, 30px);
}

.ffep-plugin-shell .ffem-wrap > p:first-child a,
.ffep-plugin-shell .fftm-wrap > p:first-child a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(25, 23, 20, 0.10);
  color: #8f3507 !important;
  text-decoration: none;
}

.ffep-plugin-shell .ffem-hero-card,
.ffep-plugin-shell .ffem-auth-card,
.ffep-plugin-shell .ffem-card,
.ffep-plugin-shell .fftm-card,
.ffep-plugin-shell .fftm-hero,
.ffep-plugin-shell .fftm-empty {
  border-color: rgba(25, 23, 20, 0.09) !important;
}

.ffep-plugin-shell .ffem-form {
  position: relative;
  background: rgba(255, 253, 247, 0.92) !important;
}

.ffep-plugin-shell .ffem-form > .ffem-form-grid,
.ffep-plugin-shell .ffem-people-block,
.ffep-plugin-shell .ffem-cost-preview,
.ffep-plugin-shell .ffem-cancel-card,
.ffep-plugin-shell .ffem-payment-warning {
  position: relative;
  padding: clamp(18px, 2.3vw, 30px);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.86) !important;
  border: 1px solid rgba(25, 23, 20, 0.09);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.065);
}

.ffep-plugin-shell .ffem-form > .ffem-form-grid::before,
.ffep-plugin-shell .ffem-people-block::before,
.ffep-plugin-shell .ffem-cost-preview::before {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff2dc;
  color: #8f3507 !important;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ffep-plugin-shell .ffem-form > .ffem-form-grid::before { content: "Gegevens"; }
.ffep-plugin-shell .ffem-people-block::before { content: "Personen"; }
.ffep-plugin-shell .ffem-cost-preview::before { content: "Kosten"; }

.ffep-plugin-shell .ffem-configured-field {
  padding: 0;
}

.ffep-plugin-shell .ffem-checkbox-inline {
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff7e7;
  border: 1px solid #efdcc0;
}

.ffep-plugin-shell .ffem-checkbox-inline input,
.ffep-plugin-shell .ffem-person-public input,
.ffep-plugin-shell .ffem-checkbox input {
  transform: translateY(1px);
}

.ffep-plugin-shell input:focus,
.ffep-plugin-shell select:focus,
.ffep-plugin-shell textarea:focus,
.ffep-plugin-shell button:focus,
.ffep-plugin-shell a:focus {
  outline: 3px solid rgba(242, 101, 34, 0.25) !important;
  outline-offset: 2px;
  border-color: rgba(242, 101, 34, 0.65) !important;
}

.ffep-plugin-shell .ffem-alert-prominent {
  border: 1px solid transparent;
  animation: ffep-alert-pop 220ms ease-out both;
}

.ffep-plugin-shell .ffem-alert-prominent.ffem-alert-success {
  border-color: rgba(29, 106, 66, 0.18);
}

.ffep-plugin-shell .ffem-alert-prominent.ffem-alert-error,
.ffep-plugin-shell .ffem-alert-prominent.ffem-alert-warning {
  border-color: rgba(138, 31, 31, 0.16);
}

@keyframes ffep-alert-pop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ffep-plugin-shell .ffem-person-row {
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(210px, 1.15fr) minmax(145px, auto) 40px;
  background: #fffdf7;
}

.ffep-plugin-shell .ffem-person-remove {
  border-radius: 999px !important;
  background: #8a1f1f !important;
  color: #fffaf0 !important;
  font-size: 1.25rem;
  line-height: 1;
}

.ffep-plugin-shell .ffem-payment-summary {
  align-items: stretch;
}

.ffep-plugin-shell .ffem-payment-card {
  background: linear-gradient(135deg, #fffaf0, #fff3dc);
}

.ffep-plugin-shell .ffem-payment-summary-open {
  background: linear-gradient(135deg, #fff2dc, #ffe6bd) !important;
}

.ffep-plugin-shell .ffem-payment-callout {
  margin: 16px 0 !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #fff7ed, #ffe7cb) !important;
  border: 1px solid rgba(242, 101, 34, 0.32) !important;
  box-shadow: 0 12px 28px rgba(242, 101, 34, 0.10);
}

.ffep-plugin-shell .ffem-payment-callout-label {
  color: #7c2d12 !important;
}

.ffep-plugin-shell .ffem-payment-callout-amount {
  color: #b84209 !important;
  font-size: clamp(1.55rem, 4vw, 2.25rem) !important;
}

.ffep-plugin-shell .ffem-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.ffep-plugin-shell .ffem-form-actions .ffem-button {
  min-width: min(100%, 240px);
}

.ffep-plugin-shell .ffem-auth-card {
  background: linear-gradient(135deg, #fffaf0, #fff3dc) !important;
}

.ffep-plugin-shell .ffem-human-field {
  padding: 16px;
  border-radius: 18px;
  background: #fff7e7;
  border: 1px solid #efdcc0;
}

.ffep-plugin-shell .ffem-table-scroll {
  background: #fff;
}

.ffep-plugin-shell .ffem-table-scroll table {
  margin: 0;
}

@media (max-width: 980px) {
  .ffep-plugin-shell .ffem-form > .ffem-form-grid,
  .ffep-plugin-shell .ffem-people-block,
  .ffep-plugin-shell .ffem-cost-preview,
  .ffep-plugin-shell .ffem-cancel-card,
  .ffep-plugin-shell .ffem-payment-warning {
    padding: 18px;
    border-radius: 20px;
  }

  .ffep-plugin-shell .ffem-person-row {
    grid-template-columns: 1fr;
  }

  .ffep-plugin-shell .ffem-person-row .ffem-person-remove {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .ffep-main {
    width: min(100% - 18px, var(--ffep-max));
  }

  .ffep-plugin-shell {
    padding: 14px;
    border-radius: 20px;
  }

  .ffep-plugin-shell .ffem-card,
  .ffep-plugin-shell .fftm-card,
  .ffep-plugin-shell .fftm-hero,
  .ffep-plugin-shell .fftm-empty,
  .ffep-plugin-shell .ffem-info-box,
  .ffep-plugin-shell .ffem-payment-link-box,
  .ffep-plugin-shell .ffem-payment-summary,
  .ffep-plugin-shell .ffem-payment-warning,
  .ffep-plugin-shell .ffem-cost-preview,
  .ffep-plugin-shell .ffem-fieldset,
  .ffep-plugin-shell .ffem-people-block,
  .ffep-plugin-shell .fftm-policy {
    padding: 16px;
    border-radius: 18px;
  }

  .ffep-plugin-shell .ffem-button,
  .ffep-plugin-shell .fftm-button,
  .ffep-plugin-shell button,
  .ffep-plugin-shell .button,
  .ffep-plugin-shell input[type="submit"] {
    width: 100%;
    white-space: normal;
  }

  .ffep-plugin-shell .ffem-password-toggle,
  .ffep-plugin-shell .ffem-person-remove {
    width: 40px;
    min-width: 40px;
  }
}


/* v0.5.7.1 - Section labels netjes over volledige breedte */
.ffep-plugin-shell .ffem-form > .ffem-form-grid::before,
.ffep-plugin-shell .ffem-people-block::before,
.ffep-plugin-shell .ffem-cost-preview::before {
  grid-column: 1 / -1;
}


/* v0.5.7 - Brede UX-polish: leesbare berichten, compactere eventkaarten, rustigere formulieren */
:root {
  --ffep-card-ink: #211d18;
  --ffep-card-muted: #5f574b;
  --ffep-card-soft: #fff8ea;
  --ffep-border-soft: rgba(25, 23, 20, 0.11);
}

.ffep-main {
  padding-top: clamp(36px, 5vw, 58px);
}

.ffep-page-header {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.ffep-page-title,
.ffep-content h1 {
  max-width: 1120px;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
}

.ffep-page-intro,
.ffep-content > p:first-child {
  line-height: 1.55;
}

.ffep-content > p:empty,
.ffep-content > .ffep-card:empty,
.ffep-content > .wp-block-group:empty,
.ffep-content > .wp-block-spacer:empty {
  display: none !important;
}

.ffep-content .wp-block-group.has-background,
.ffep-content .wp-block-columns.has-background,
.ffep-content .wp-block-media-text.has-background,
.ffep-content .wp-block-cover.is-light,
.ffep-content .wp-block-table,
.ffep-content .wp-block-quote {
  border-radius: 26px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.ffep-content .wp-block-group.has-background,
.ffep-content .wp-block-columns.has-background,
.ffep-content .wp-block-media-text.has-background {
  padding: clamp(20px, 3vw, 34px);
}

.ffep-content .has-background:not(.has-text-color),
.ffep-content .wp-block-group.has-background:not(.has-text-color),
.ffep-content .wp-block-columns.has-background:not(.has-text-color) {
  color: var(--ffep-card-ink) !important;
}

.ffep-content .has-background:not(.has-text-color) p,
.ffep-content .has-background:not(.has-text-color) li,
.ffep-content .has-background:not(.has-text-color) h1,
.ffep-content .has-background:not(.has-text-color) h2,
.ffep-content .has-background:not(.has-text-color) h3,
.ffep-content .has-background:not(.has-text-color) h4,
.ffep-content .has-background:not(.has-text-color) strong {
  color: inherit !important;
}

.single-post .ffep-page-shell {
  max-width: 1040px;
}

.single-post .ffep-page-header {
  max-width: 980px;
  margin-inline: auto;
}

.single-post .ffep-page-title {
  font-size: clamp(2.25rem, 5.6vw, 4.6rem);
}

.single-post .ffep-content.ffep-card,
.ffep-readable-card {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 46px);
  background: linear-gradient(135deg, #fffaf0, #fff3dc) !important;
  color: var(--ffep-card-ink) !important;
}

.single-post .ffep-content.ffep-card::before,
.ffep-readable-card::before {
  width: 7px;
}

.single-post .ffep-content.ffep-card *,
.ffep-readable-card * {
  color: inherit !important;
}

.single-post .ffep-content.ffep-card p,
.single-post .ffep-content.ffep-card li,
.single-post .ffep-content.ffep-card figcaption,
.ffep-readable-card p,
.ffep-readable-card li,
.ffep-readable-card figcaption {
  color: var(--ffep-card-muted) !important;
}

.single-post .ffep-content.ffep-card h2,
.single-post .ffep-content.ffep-card h3,
.single-post .ffep-content.ffep-card h4,
.ffep-readable-card h2,
.ffep-readable-card h3,
.ffep-readable-card h4 {
  color: var(--ffep-card-ink) !important;
  margin-top: 1.35em;
}

.single-post .ffep-content.ffep-card a,
.ffep-readable-card a {
  color: #ad3b08 !important;
  font-weight: 900;
}

.single-post .ffep-content.ffep-card .wp-block-cover,
.ffep-readable-card .wp-block-cover {
  color: #fffaf0 !important;
  border-radius: 22px;
  overflow: hidden;
}

.single-post .ffep-content.ffep-card .wp-block-cover *,
.ffep-readable-card .wp-block-cover * {
  color: inherit !important;
}

.ffep-plugin-shell {
  max-width: 100%;
}

.ffep-plugin-shell .ffem-hero-card,
.ffep-plugin-shell .fftm-hero {
  align-items: center;
}

.ffep-plugin-shell .ffem-hero-card h2,
.ffep-plugin-shell .fftm-hero h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  letter-spacing: -0.06em;
}

.ffep-plugin-shell .ffem-hero-card .ffem-muted,
.ffep-plugin-shell .fftm-hero .fftm-meta,
.ffep-plugin-shell .fftm-hero p {
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
}

.ffep-plugin-shell .ffem-event-grid {
  grid-template-columns: 1fr !important;
}

.ffep-plugin-shell .ffem-event-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
}

.ffep-plugin-shell .ffem-event-card .ffem-pill {
  align-self: start;
}

.ffep-plugin-shell .ffem-event-card h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
  margin-bottom: 6px;
}

.ffep-plugin-shell .ffem-event-card p {
  margin: 0;
}

.ffep-plugin-shell .ffem-event-actions {
  justify-content: flex-end;
}

.ffep-plugin-shell .ffem-attendance-card .ffem-attendance-list {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.ffep-plugin-shell .ffem-attendance-card .ffem-attendance-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  background: #fff4df;
  border: 1px solid rgba(25, 23, 20, 0.07);
}

.ffep-plugin-shell .ffem-form > .ffem-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffep-plugin-shell .ffem-configured-field.is-wide,
.ffep-plugin-shell .ffem-power-note,
.ffep-plugin-shell .ffem-form > .ffem-form-grid::before {
  grid-column: 1 / -1;
}

.ffep-plugin-shell .ffem-configured-field label,
.ffep-plugin-shell .ffem-field label,
.ffep-plugin-shell label {
  font-weight: 900;
}

.ffep-plugin-shell .ffem-checkbox-inline,
.ffep-plugin-shell .ffem-checkbox,
.ffep-plugin-shell .ffem-person-public {
  width: fit-content;
  max-width: 100%;
}

.ffep-plugin-shell .ffem-checkbox-inline {
  min-width: 82px;
  justify-content: center;
}

.ffep-plugin-shell .ffem-checkbox-inline input,
.ffep-plugin-shell .ffem-person-public input,
.ffep-plugin-shell .ffem-checkbox input {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
}

.ffep-plugin-shell .ffem-people-info-card {
  display: grid;
  gap: 10px;
}

.ffep-plugin-shell .ffem-main-booker-card {
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 0.9fr);
  align-items: center;
}

.ffep-plugin-shell .ffem-person-row {
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(220px, 1.2fr) minmax(165px, auto) 42px;
  align-items: end;
}

.ffep-plugin-shell .ffem-person-row .ffem-person-public {
  min-height: 44px;
  align-items: center;
}

.ffep-plugin-shell .ffem-cost-preview table {
  min-width: 620px;
  font-size: 0.96rem;
}

.ffep-plugin-shell .ffem-cost-preview tfoot th {
  background: #eadfc8 !important;
  color: var(--ffep-card-ink) !important;
}

.ffep-plugin-shell .ffem-payment-summary {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.ffep-plugin-shell .ffem-payment-card strong,
.ffep-plugin-shell .ffem-payment-callout-amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ffep-plugin-shell .ffem-payment-link-box {
  display: grid;
  gap: 14px;
}

.ffep-plugin-shell .ffem-form-actions {
  margin-top: 4px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(25, 23, 20, 0.08);
}

.ffep-plugin-shell .ffem-form-actions .ffem-help,
.ffep-plugin-shell .ffem-form-actions p,
.ffep-plugin-shell .ffem-form-actions span {
  color: var(--ffep-card-muted) !important;
}

.ffep-plugin-shell .ffem-bookings-card .ffem-table-scroll table,
.ffep-plugin-shell .ffem-table {
  font-size: 0.95rem;
}

.ffep-plugin-shell .ffem-bookings-card td:last-child,
.ffep-plugin-shell .ffem-bookings-card th:last-child {
  white-space: nowrap;
}

.ffep-plugin-shell input::placeholder,
.ffep-plugin-shell textarea::placeholder {
  color: #8b8170 !important;
  opacity: 1;
}

.ffep-plugin-shell .ffem-alert,
.ffep-plugin-shell .fftm-notice {
  border: 1px solid rgba(25, 23, 20, 0.09);
}

.ffep-plugin-shell .ffem-alert-info {
  background: #eef6ff !important;
  color: #17466d !important;
}

.ffep-plugin-shell .ffem-alert-info * {
  color: inherit !important;
}

@media (max-width: 1100px) {
  .ffep-plugin-shell .ffem-event-card {
    grid-template-columns: 1fr;
  }

  .ffep-plugin-shell .ffem-event-actions {
    justify-content: flex-start;
  }

  .ffep-plugin-shell .ffem-payment-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .ffep-page-title,
  .ffep-content h1 {
    font-size: clamp(2.25rem, 12vw, 4.4rem);
  }

  .ffep-plugin-shell .ffem-form > .ffem-form-grid,
  .ffep-plugin-shell .ffem-main-booker-card,
  .ffep-plugin-shell .ffem-person-row {
    grid-template-columns: 1fr !important;
  }

  .ffep-plugin-shell .ffem-person-row .ffem-person-remove {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .ffep-header {
    width: min(100% - 22px, var(--ffep-max));
  }

  .ffep-brand-title {
    font-size: 0.98rem;
  }

  .ffep-brand-sub {
    font-size: 0.66rem;
  }

  .ffep-main {
    padding-bottom: 46px;
  }

  .ffep-plugin-shell .ffem-hero-card h2,
  .ffep-plugin-shell .fftm-hero h2 {
    font-size: clamp(2rem, 13vw, 3.5rem);
  }

  .ffep-plugin-shell .ffem-event-actions,
  .ffep-plugin-shell .fftm-actionbar,
  .ffep-plugin-shell .fftm-hero-actions {
    align-items: stretch;
  }

  .ffep-plugin-shell .ffem-event-actions .ffem-button,
  .ffep-plugin-shell .fftm-actionbar .fftm-button,
  .ffep-plugin-shell .fftm-hero-actions .fftm-button {
    width: 100%;
  }

  .ffep-plugin-shell .ffem-attendance-card .ffem-attendance-list {
    grid-template-columns: 1fr;
  }
}

/* v0.5.8 - Ticketmarkt v0.2.0 flow-polish */
.ffep-plugin-shell .fftm-event-hero {
  align-items: stretch;
}

.ffep-plugin-shell .fftm-button-ghost {
  background: #fffaf0 !important;
  color: #8f3507 !important;
  border: 1px solid rgba(143, 53, 7, 0.24) !important;
  box-shadow: none !important;
}

.ffep-plugin-shell .fftm-context-card,
.ffep-plugin-shell .fftm-choice-lock {
  display: grid;
  gap: 5px;
  background: #fff2dc;
  border: 1px solid #f3d7a7;
  border-radius: 22px;
  padding: 18px 20px;
  margin: 0 0 18px;
  color: var(--ffep-card-ink);
}

.ffep-plugin-shell .fftm-context-card span,
.ffep-plugin-shell .fftm-choice-lock span {
  color: #8f3507 !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ffep-plugin-shell .fftm-context-card strong,
.ffep-plugin-shell .fftm-choice-lock strong {
  color: var(--ffep-card-ink) !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.ffep-plugin-shell .fftm-context-card em {
  color: var(--ffep-card-muted) !important;
  font-style: normal;
}

.ffep-plugin-shell .fftm-price-row {
  align-items: end;
}

.ffep-plugin-shell .fftm-single-form > h3 {
  margin-bottom: 18px;
}

.ffep-plugin-shell .fftm-report summary {
  color: #8f3507 !important;
  font-weight: 900;
}

@media (max-width: 640px) {
  .ffep-plugin-shell .fftm-context-card,
  .ffep-plugin-shell .fftm-choice-lock {
    padding: 15px 16px;
  }
}


/* v0.5.10 - Header-branding en aanwezigheidslijst eventkeuze */
.ffep-plugin-shell .ffem-attendance-picker {
  display: grid;
  gap: 1rem;
}

.ffep-plugin-shell .ffem-attendance-event-list {
  display: grid;
  gap: 0.85rem;
}

.ffep-plugin-shell .ffem-attendance-event-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(25, 23, 20, 0.1);
  background: rgba(255, 250, 240, 0.78);
  color: var(--ffep-ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(25, 23, 20, 0.08);
}

.ffep-plugin-shell .ffem-attendance-event-card:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 101, 34, 0.42);
  box-shadow: 0 18px 42px rgba(242, 101, 34, 0.13);
}

.ffep-plugin-shell .ffem-attendance-event-card span {
  color: var(--ffep-muted);
  font-size: 0.95rem;
}

@media (max-width: 680px) {
  .ffep-brand {
    gap: 10px;
  }

  .ffep-brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .ffep-brand-mark-inner {
    width: 32px;
    height: 32px;
    font-size: 0.68rem;
  }

  .ffep-brand-title {
    max-width: 9.5rem;
  }
}
