/* Podium's interactive blocks also work in themes without Podium's page layouts. */
.podium-form-card, .podium-picker-dialog, .podium-consent, .podium-cookie-open, .podium-login-form {
  --form-ink: var(--wp--preset--color--marine, #003150);
  --form-blue: var(--wp--preset--color--blauw, #3288be);
  --form-orange: var(--wp--preset--color--oranje, #ed6e13);
  --form-muted: #607482;
  --form-surface: #eff8fd;
  font-family: capitana, Arial, sans-serif;
  color: var(--form-ink);
}
.podium-form-card, .podium-form-card *, .podium-picker-dialog, .podium-picker-dialog *,
.podium-consent, .podium-consent *, .podium-cookie-open, .podium-login-form * { box-sizing: border-box; }
:is(.podium-form-card, .podium-picker-dialog, .podium-consent, .podium-login-form) [hidden],
.podium-consent[hidden] { display: none; }
.podium-form-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 2rem;
  background: white;
  box-shadow: 0 28px 70px -28px rgb(0 49 80 / .3);
}
.podium-form-card > header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  padding: 1.25rem;
  border-bottom: 1px solid rgb(50 136 190 / .15);
  background: var(--form-surface);
}
.podium-form-card > header h2, .podium-form-card .podium-thanks h2 {
  margin: 0;
  color: var(--form-ink);
  font: 900 1.5rem/1.25 filson-pro, "Arial Rounded MT Bold", sans-serif;
  letter-spacing: -.035em;
}
.podium-form-card > header strong {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  align-self: flex-start;
  padding: .5rem .875rem;
  border-radius: 999px;
  background: white;
  color: var(--form-ink);
  font: 800 .75rem/1rem capitana, Arial, sans-serif;
  box-shadow: 0 0 0 1px rgb(50 136 190 / .1), 0 1px 2px rgb(0 0 0 / .05);
}
.podium-form-card > header strong > span {
  flex: 0 0 14px;
  height: 14px;
  font-size: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed6e13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.podium-form-card .podium-signup { margin: 0; padding: 1.25rem; }
.podium-field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.podium-field { min-width: 0; }
.podium-field > label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem .75rem;
  margin-bottom: .5rem;
  color: var(--form-ink);
  font: 700 .875rem/1.25rem capitana, Arial, sans-serif;
}
.podium-field > label b { color: var(--form-orange); }
.podium-field > label small { color: var(--form-muted); font-size: .75rem; line-height: 1rem; font-weight: 400; }
.podium-field > div { position: relative; }
.podium-field input:not([type=hidden]), .podium-field .podium-pick {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  margin: 0;
  padding: .75rem 1.0625rem;
  border: 1px solid rgb(0 49 80 / .1);
  border-radius: .8125rem;
  outline: 0;
  background: white;
  color: #132f41;
  box-shadow: 0 5px 16px rgb(0 49 80 / .035);
  font: 500 .9375rem/1.5 capitana, Arial, sans-serif;
}
.podium-field input::placeholder { color: #78909e; opacity: .78; }
.podium-field input:focus, .podium-field .podium-pick:focus-visible, .podium-field .podium-pick[aria-expanded=true] {
  border-color: var(--form-blue);
  box-shadow: 0 0 0 4px rgb(50 136 190 / .12);
}
.podium-field .podium-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  cursor: pointer;
}
.podium-pick > span:first-child { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.podium-pick > span:first-child svg { flex-shrink: 0; }
.podium-pick > span:first-child > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium-pick > span:last-child {
  height: 16px;
  flex: 0 0 16px;
  font-size: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23607482' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5-5 5 5m-10 4 5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.podium-pick > span:first-child { color: rgb(96 116 130 / .7); }
.podium-picker:has(.podium-selected > button) .podium-pick > span:first-child,
.podium-pick[data-selected=true] > span:first-child { color: var(--form-ink); }
.podium-field input:has(+ .podium-eye) { padding-right: 3.5rem; }
.podium-eye {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  top: 50%;
  right: .625rem;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--form-muted);
  cursor: pointer;
}
.podium-eye:hover { background: var(--form-surface); color: var(--form-ink); }
.podium-eye[aria-pressed=true]::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 1px white;
  transform: rotate(45deg);
}
.podium-selected { display: flex; flex-wrap: wrap; gap: .5rem; }
.podium-selected:has(> :not([type=hidden])) { margin-top: .5rem; }
.podium-selected > :is(span, button) {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: .25rem;
  padding: .25rem .625rem;
  border: none;
  border-radius: 999px;
  background: rgb(237 110 19 / .1);
  color: var(--form-ink);
  font: 500 .75rem/1rem capitana, Arial, sans-serif;
}
.podium-selected > span button { display: grid; place-items: center; border: 0; border-radius: 50%; padding: .25rem; color: var(--form-muted); background: transparent; cursor: pointer; }
.podium-selected button:hover { color: var(--form-ink); background: rgb(237 110 19 / .16); }
.podium-form-card .podium-error, .podium-login-form [role=alert] { margin: 1rem 0 0; color: #b42318; font: 600 .875rem/1.5 capitana, Arial, sans-serif; }
.podium-signup .podium-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: .75rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--form-orange);
  color: #fff;
  font: 800 .875rem/1.25rem capitana, Arial, sans-serif;
  box-shadow: 0 12px 28px -10px rgb(237 110 19 / .65);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.podium-submit:hover:not(:disabled) { transform: translateY(-2px); background: #ff7c1e; }
.podium-submit:disabled { opacity: .7; cursor: not-allowed; }
.podium-form-card .podium-fineprint { margin: 1rem 0 0; text-align: center; color: var(--form-muted); font: 300 .6875rem/1.625 capitana, Arial, sans-serif; }
.podium-fineprint a { color: var(--form-blue); font-weight: 700; text-decoration: none; }
.podium-fineprint a:hover { text-decoration: underline; }
.podium-form-card .podium-thanks { padding: 3rem 1.5rem; text-align: center; }
.podium-thanks > span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-inline: auto;
  border-radius: 50%;
  background: #ecf8ff;
  color: var(--form-blue);
  font: 700 2.25rem/1 sans-serif;
}
.podium-form-card .podium-thanks > p:first-of-type { margin: 1.5rem 0 .75rem; color: var(--form-orange); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.podium-form-card .podium-thanks h2 { font-size: 1.875rem; }
.podium-form-card .podium-thanks > p:last-of-type { max-width: 32rem; margin: 1rem auto 0; color: var(--form-muted); font: 300 .875rem/1.625 capitana, Arial, sans-serif; }
.podium-thanks > strong { display: block; max-width: 28rem; margin: 1.75rem auto 0; padding: 1rem 1.25rem; border-radius: 1rem; background: #ecf8ff; color: #24485e; font: 600 .875rem/1.625 capitana, Arial, sans-serif; }

/* Both pickers use the same search and options layout. */
.podium-picker-dialog {
  width: min(28rem, calc(100% - 2rem));
  max-height: min(32rem, 85dvh);
  margin: auto;
  padding: 1rem;
  border: 1px solid rgb(0 49 80 / .12);
  border-radius: .875rem;
  background: white;
  box-shadow: 0 18px 52px rgb(0 49 80 / .18);
}
.podium-picker-dialog[open] { position: fixed; display: flex; flex-direction: column; gap: .75rem; overflow: hidden; }
.podium-picker-dialog::backdrop { background: rgb(0 30 48 / .2); }
.podium-picker-dialog :is(h2,h3) { margin: 0; color: var(--form-ink); font: 800 1.125rem/1.4 capitana, Arial, sans-serif; }
.podium-picker-dialog > h2 { display: flex; align-items: center; min-height: 40px; padding-right: 3.25rem; }
.podium-picker-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.podium-picker-dialog p { margin: 0; color: var(--form-muted); font-size: .875rem; line-height: 1.625; }
.podium-picker-dialog input[type=search] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid #ddecf6;
  border-radius: 0;
  background: white;
  padding: .5rem;
  color: var(--form-ink);
  font: 400 .875rem/1.5 capitana, Arial, sans-serif;
}
.podium-picker-dialog .podium-options { overflow-y: auto; overscroll-behavior-y: contain; min-height: 0; scroll-padding-block: .5rem; }
.podium-options button { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .5rem; border: none; border-radius: .375rem; background: white; color: var(--form-ink); text-align: left; font: 400 .875rem/1.5 capitana, Arial, sans-serif; cursor: pointer; }
.podium-options button::before { content: ""; flex: 0 0 14px; }
.podium-options button[aria-pressed=true]::before { content: "✓"; color: var(--form-orange); font-weight: 700; }
.podium-options button:is(:hover, :focus-visible) { background: var(--form-surface); }
.podium-options button:disabled { opacity: .5; cursor: not-allowed; }
.podium-options :is(h3,h4,strong) { display: block; margin: .5rem 0 .25rem; padding-inline: .5rem; color: var(--form-muted); font: 600 .75rem/1.5 capitana, Arial, sans-serif; }
.podium-picker-dialog :is(.podium-close,.podium-done) { flex-shrink: 0; min-height: 40px; border: none; border-radius: .5rem; padding: .5rem 1rem; background: var(--form-ink); color: white; font: 700 .875rem/1.5 capitana, Arial, sans-serif; cursor: pointer; }
.podium-picker-dialog > .podium-close { position: absolute; right: 1rem; top: 1rem; width: 40px; padding: .25rem; background: var(--form-surface); color: var(--form-ink); font-size: 1.375rem; }
.podium-picker-dialog .podium-done { align-self: flex-end; }

/* Consent lives outside the page content on every public route. */
.podium-cookie-open, .podium-consent {
  position: fixed;
  bottom: .75rem;
  background: white;
}
.podium-cookie-open {
  z-index: 40;
  left: .75rem;
  padding: .5rem .75rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(0 0 0 / .08);
  cursor: pointer;
}
.podium-consent {
  z-index: 50;
  left: .75rem;
  right: .75rem;
  max-height: 85dvh;
  max-width: 36rem;
  margin-inline: auto;
  padding: 1.25rem;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
}
.podium-consent h2 { margin: 0; color: var(--form-ink); font: 700 1.125rem/1.75rem capitana, Arial, sans-serif; letter-spacing: normal; }
.podium-consent p { margin: .5rem 0 0; color: var(--form-ink); font-size: .875rem; font-weight: 300; line-height: 1.625; }
.podium-consent a { color: var(--form-ink); font-weight: 600; text-decoration: underline; }
.podium-consent > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.podium-consent button { border: 2px solid var(--form-ink); border-radius: .75rem; background: white; color: var(--form-ink); padding: .75rem; font: 700 .875rem/1.25rem capitana, Arial, sans-serif; cursor: pointer; }
.podium-consent button:is(:hover,:focus-visible) { background: var(--form-surface); }
.podium-login-form label { display: block; margin-top: 1rem; font-size: .875rem; }
.podium-login-form input:not([type=hidden]) { width: 100%; margin-top: .25rem; padding: .5rem .75rem; border: 1px solid rgb(0 49 80 / .1); border-radius: .5rem; background: white; font: inherit; }
.podium-login-form button { width: 100%; margin-top: 1.5rem; padding: .75rem 1.25rem; border: none; border-radius: .5rem; background: var(--form-ink); color: white; font: 700 1rem/1.5 capitana, Arial, sans-serif; cursor: pointer; }
@media (min-width: 640px) {
  .podium-form-card > header { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; }
  .podium-form-card > header strong { align-self: center; }
  .podium-form-card > header h2 { font-size: 1.875rem; }
  .podium-field input:not([type=hidden]), .podium-field .podium-pick { line-height: 1.428571; }
  .podium-form-card .podium-signup { padding: 2rem; }
  .podium-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .podium-field-grid > .podium-field:has(.podium-eye) { grid-column: 1/-1; }
  .podium-form-card .podium-thanks { padding: 4rem 3rem; }
  .podium-form-card .podium-thanks h2 { font-size: 2.25rem; }
  .podium-form-card .podium-thanks > p:last-of-type { font-size: 1rem; }
  .podium-consent { left: auto; right: 1.25rem; padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .podium-form-card .podium-signup { padding: 2.25rem; }
}
@media (max-width: 767px) {
  .podium-picker-dialog[open] {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));
    border: none;
    border-radius: 0;
  }
  .podium-picker-dialog input[type=search] { min-height: 52px; font-size: 1rem; }
  .podium-picker-dialog > .podium-close { top: max(1rem,env(safe-area-inset-top)); right: max(1rem,env(safe-area-inset-right)); }
  .podium-options { flex: 1; }
  .podium-options button { min-height: 48px; padding: .75rem .5rem; font-size: 1rem; }
  .podium-picker-dialog :is(.podium-close,.podium-done) { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .podium-submit { transition: none; } }
