/* ===== Container (responsive Breite, Theme-konform) ===== */
.antuju-wizard {
  width: 100%;
  margin: var(--wp--preset--spacing--40, 2rem) auto;
}
.antuju-wizard.alignwide {
  max-width: var(--wp--style--global--content-size, 800px);
}
.antuju-wizard.alignfull {
  max-width: none;
}

/* Optional etwas mehr Luft bei großen Screens */
@media (min-width: 782px) {
  .antuju-wizard.alignwide { max-width: min(900px, 100%); }
}

/* ===== Felder & Abstände ===== */
.antuju-wizard .field {
  margin: 0 0 var(--wp--preset--spacing--30, 1.25rem);
}
.antuju-wizard label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: .4rem;
}

/* ===== Inputs: moderner, runde Ecken, Theme-Farben ===== */
.antuju-wizard .antuju-input,
.antuju-wizard input[type="text"],
.antuju-wizard input[type="email"],
.antuju-wizard input[type="date"],
.antuju-wizard input[type="number"],
.antuju-wizard select,
.antuju-wizard textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  line-height: 1.4;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--wp--preset--color--contrast-3, #444);
  background: var(--wp--preset--color--base, #111);
  color: var(--wp--preset--color--contrast, inherit);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.antuju-wizard .is-pill {
  border-radius: 99px;
}
.antuju-wizard ::placeholder {
  color: color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 60%, transparent);
  opacity: .8;
}

/* Fokus – sichtbarer, aber dezent */
.antuju-wizard .antuju-input:focus,
.antuju-wizard input:focus,
.antuju-wizard select:focus,
.antuju-wizard textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--contrast-2, #777);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent, #3b82f6) 28%, transparent);
}

/* Select-Dropdown-Pfeil wird auf manchen Browsern sichtbar runder */
.antuju-wizard select.antuju-input {
  padding-right: 2.25rem;
}

/* ===== Fieldset (für Teilnehmer-Karten in Step 2) ===== */
.antuju-wizard fieldset {
  border: 1px solid var(--wp--preset--color--contrast-3, #444);
  border-radius: 12px;
  padding: var(--wp--preset--spacing--30, 1.25rem);
}
.antuju-wizard__form {
  margin: 0;
}
.antuju-wizard__frame {
  border: 1px solid var(--wp--preset--color--contrast-3, #444);
  border-radius: 12px;
  padding: var(--wp--preset--spacing--30, 1.25rem);
  margin-bottom: var(--wp--preset--spacing--30, 1.25rem);
}
.antuju-wizard legend { font-weight: 600; padding: 0 .4rem; }
.antuju-participant { margin-bottom: var(--wp--preset--spacing--30, 1.25rem); }
.antuju-participant__legend {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0;
}
.antuju-participant__legend-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: .5rem .9rem;
  cursor: pointer;
  line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
.antuju-participant__legend-button:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast, #fff);
  outline-offset: 2px;
}
.antuju-participant__toggle {
  justify-content: space-between;
  flex: 1 1 auto;
  background: #1e3a8a;
  color: #f8fafc;
  box-shadow: 0 2px 6px color-mix(in srgb, #1e3a8a 35%, transparent);
}
.antuju-participant__toggle:hover {
  background: #1e40af;
  box-shadow: 0 4px 12px color-mix(in srgb, #1e40af 40%, transparent);
}
.antuju-participant__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.antuju-participant__label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
}
.antuju-participant__judogi-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.antuju-participant__indicator {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: #0f172a;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}
.antuju-participant__remove {
  flex: 0 0 auto;
  background: #b91c1c;
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, #b91c1c 30%, transparent);
}
.antuju-participant__remove:hover {
  background: #991b1b;
  box-shadow: 0 4px 12px color-mix(in srgb, #991b1b 35%, transparent);
}
.antuju-participant__remove-icon {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}
.antuju-participant[data-index="0"] .antuju-participant__remove {
  display: none !important;
}
.antuju-participant__add {
  background: #15803d;
  color: #f7fee7;
  box-shadow: 0 2px 6px color-mix(in srgb, #15803d 30%, transparent);
}
.antuju-participant__add:hover {
  background: #166534;
  box-shadow: 0 4px 12px color-mix(in srgb, #166534 35%, transparent);
}
.antuju-participant__body { margin-top: var(--wp--preset--spacing--30, 1.25rem); }
.antuju-participant.is-collapsed .antuju-participant__body { display: none; }
.antuju-participant.is-collapsed .antuju-participant__toggle {
  background: #1e293b;
  color: #e2e8f0;
}
.antuju-participant.is-collapsed .antuju-participant__indicator {
  background: rgba(255, 255, 255, .8);
  color: #0f172a;
}

/* ===== Button-Reihe – nutzt WP-Button-Styles ===== */
.antuju-wizard .actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.antuju-wizard .wp-element-button { padding: .85rem 1.15rem; border-radius: 999px; }
.antuju-wizard .wp-element-button.is-secondary {
  background: transparent; box-shadow: inset 0 0 0 1px currentColor;
}
.antuju-wizard__nav {
  justify-content: space-between;
  align-items: center;
}
.antuju-wizard__nav-spacer {
  flex: 1 1 auto;
  min-width: 0;
}
.antuju-wizard__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: .6rem 1.1rem;
  min-width: 120px;
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.antuju-wizard__nav-button:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast, #fff);
  outline-offset: 2px;
}
.antuju-wizard__nav-button--back {
  background: #475569;
  color: #f8fafc;
  box-shadow: 0 2px 6px color-mix(in srgb, #475569 28%, transparent);
}
.antuju-wizard__nav-button--back:hover {
  background: #334155;
  box-shadow: 0 4px 12px color-mix(in srgb, #334155 34%, transparent);
}
.antuju-wizard__nav-button--next {
  background: #2563eb;
  color: #f8fafc;
  box-shadow: 0 2px 6px color-mix(in srgb, #2563eb 30%, transparent);
}
.antuju-wizard__nav-button--next:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px color-mix(in srgb, #1d4ed8 35%, transparent);
}
.antuju-wizard__nav-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
}
.antuju-wizard__nav-icon svg {
  width: 100%;
  height: 100%;
}
.antuju-wizard__nav-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
@media (max-width: 600px) {
  .antuju-wizard__nav {
    flex-direction: column;
    align-items: stretch;
  }
  .antuju-wizard__nav-spacer { display: none; }
  .antuju-wizard__nav-button {
    width: 100%;
    min-width: 0;
  }
  .antuju-wizard__nav {
    gap: .6rem;
  }
}
/* ===== Notices nur im Wizard ===== */
.antuju-wizard .notice {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin: 0 0 var(--wp--preset--spacing--30, 1.25rem);
  border-radius: 14px;
  border: 1px solid var(--wp--preset--color--contrast-3, #444);
  background: var(--wp--preset--color--base, #111);
  box-shadow: 0 6px 24px color-mix(in srgb, #000 25%, transparent);
}

/* Icon-Badge links */
.antuju-wizard .notice::before {
  content: "!";
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 3px 10px color-mix(in srgb, #000 35%, transparent);
}

/* Varianten */
.antuju-wizard .notice.notice-error {
  border-color: color-mix(in srgb, var(--wp--preset--color--vivid-red, #ef4444) 65%, #000);
  background: color-mix(in srgb, var(--wp--preset--color--vivid-red, #ef4444) 12%, var(--wp--preset--color--base, #111));
  color: var(--wp--preset--color--contrast, #fff);
}
.antuju-wizard .notice.notice-error::before {
  background: var(--wp--preset--color--vivid-red, #ef4444);
}

.antuju-wizard .notice.notice-success {
  border-color: color-mix(in srgb, var(--wp--preset--color--vivid-green, #22c55e) 60%, #000);
  background: color-mix(in srgb, var(--wp--preset--color--vivid-green, #22c55e) 12%, var(--wp--preset--color--base, #111));
}
.antuju-wizard .notice.notice-success::before { content: "✓"; background: var(--wp--preset--color--vivid-green, #22c55e); }

.antuju-wizard .notice.notice-info {
  border-color: color-mix(in srgb, var(--wp--preset--color--vivid-cyan-blue, #3b82f6) 60%, #000);
  background: color-mix(in srgb, var(--wp--preset--color--vivid-cyan-blue, #3b82f6) 12%, var(--wp--preset--color--base, #111));
}
.antuju-wizard .notice.notice-info::before { content: "i"; background: var(--wp--preset--color--vivid-cyan-blue, #3b82f6); }

/* Listendarstellung hübsch & kompakt */
.antuju-wizard .notice ul {
  margin: .1rem 0 0;
  padding-left: 0;
  list-style: none;
}
.antuju-wizard .notice li { margin: .15rem 0; }

.antuju-wrap .antuju-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--aj-card, transparent);
  color: var(--aj-text, inherit);
  border: 1px solid var(--aj-border, currentColor);
}
.antuju-wrap .antuju-table th,
.antuju-wrap .antuju-table td {
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--aj-border, currentColor);
  vertical-align: top;
}
.antuju-wrap .antuju-table th {
  background: var(--aj-head-bg, transparent);
  color: var(--aj-text, inherit);
  font-weight: 600;
  width: 32%;
  text-align: left;
}
.antuju-wrap .antuju-table tr:last-child th,
.antuju-wrap .antuju-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 640px) {
  .antuju-wrap .antuju-table,
  .antuju-wrap .antuju-table tbody,
  .antuju-wrap .antuju-table tr,
  .antuju-wrap .antuju-table th,
  .antuju-wrap .antuju-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .antuju-wrap .antuju-table tr {
    margin: 0 0 1rem;
    border: 1px solid var(--aj-border, currentColor);
    border-radius: .75rem;
    padding: .75rem .85rem;
    background: var(--aj-card, transparent);
  }
  .antuju-wrap .antuju-table th {
    border-bottom: 1px solid var(--aj-border, currentColor);
    border-radius: .75rem .75rem 0 0;
  }
  .antuju-wrap .antuju-table td {
    border: 0;
    padding: .45rem 0;
  }
}

/* === Toggle Buttons (Schritt 3 & 4) === */
.antuju-wizard .referee-toggle {
  display: flex;
  gap: 0;
  margin-top: .4rem;
}
.antuju-wizard .referee-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.antuju-wizard .referee-option {
  flex: 1;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid var(--wp--preset--color--contrast, #d1d5db);
  padding: .7rem 1rem;
  background: var(--wp--preset--color--base, #f8fafc);
  color: var(--wp--preset--color--contrast, #1f2937);
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.antuju-wizard .referee-option:first-of-type {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.antuju-wizard .referee-option:last-of-type {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-left: none;
}
.antuju-wizard .referee-toggle input[type="radio"]:checked + .referee-option--no {
  background: #dc2626;
  border-color: #b91c1c;
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, #dc2626 35%, transparent);
}
.antuju-wizard .referee-toggle input[type="radio"]:checked + .referee-option--yes {
  background: #15803d;
  border-color: #166534;
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, #15803d 35%, transparent);
}
.antuju-wizard .referee-option:hover {
  background: color-mix(in srgb, var(--wp--preset--color--base, #f8fafc) 80%, #e2e8f0);
}
.antuju-wizard .referee-hint {
  margin-top: .85rem;
  font-size: .92rem;
  color: var(--wp--preset--color--contrast-2, #4b5563);
}
.antuju-wizard .referee-details {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--contrast-3, #e2e8f0);
  border-radius: 12px;
  background: color-mix(in srgb, var(--wp--preset--color--base, #f9fafb) 92%, transparent);
}
.antuju-wizard .referee-details.is-open {
  display: block;
}
@media (prefers-color-scheme: dark) {
  .antuju-wizard .referee-option {
    border-color: color-mix(in srgb, #fff 15%, transparent);
    background: color-mix(in srgb, #fff 5%, transparent);
    color: var(--wp--preset--color--contrast, #f9fafb);
  }
  .antuju-wizard .referee-option:hover {
    background: color-mix(in srgb, #fff 12%, transparent);
  }
  .antuju-wizard .referee-details {
    border-color: color-mix(in srgb, #fff 12%, transparent);
    background: color-mix(in srgb, #fff 6%, transparent);
  }
}

/* Optional: native Radios etwas größer + Akzentfarbe */
.antuju-wizard input[type="radio"] {
  accent-color: var(--wp--preset--color--primary, #7c3aed);
  inline-size: 1.05rem;
  block-size: 1.05rem;
}

/* === Step 4: Review, Costs & Submit === */
.antuju-wizard.step-4 {
  --card-bg: color-mix(in oklab, var(--wp--preset--color--contrast, #fff) 6%, transparent);
  --card-border: color-mix(in oklab, var(--wp--preset--color--contrast, #fff) 16%, transparent);
  --muted: var(--wp--preset--color--contrast-6, rgba(255,255,255,.7));
  --accent: var(--wp--preset--color--primary, #7c3aed);
  max-width: var(--wp--style--global--content-size, 720px);
}

.antuju-wizard.step-4 .review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.25rem;
  margin-block: 1.25rem 2rem;
}

.antuju-wizard.step-4 h2 {
  margin-block: 0 1rem;
}

.antuju-wizard.step-4 h3 {
  margin-block: 1.25rem .5rem;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
}

.antuju-wizard.step-4 .summary {
  display: grid;
  gap: .75rem;
}

/* Verein/Block */
.antuju-wizard.step-4 .summary-block {
  padding: .75rem 1rem;
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.antuju-wizard.step-4 .summary-block + .summary-block {
  margin-top: .75rem;
}
.antuju-wizard.step-4 .summary-block code {
  white-space: pre-wrap;
  word-break: break-all;
  font-size: .9em;
}

/* Teilnehmerliste */
.antuju-wizard.step-4 .participants {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: .25rem 0 0;
}
.antuju-wizard.step-4 .participants li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--card-border);
}
.antuju-wizard.step-4 .participants li:last-child {
  border-bottom: 0;
}
.antuju-wizard.step-4 .summary-participant-meta {
  list-style: disc;
  margin: .35rem 0 0 1.25rem;
  padding: 0;
  font-size: .86em;
}
.antuju-wizard.step-4 .summary-participant-meta li {
  margin: 0 0 .35rem;
}
.antuju-wizard.step-4 .summary-participant-meta li:last-child {
  margin-bottom: 0;
}
.antuju-wizard.step-4 .summary-participant-meta__label {
  font-weight: 500;
  margin-right: .35rem;
}

/* Kosten-Tabelle */
.antuju-wizard.step-4 .cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: .75rem 0 1.25rem;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: inherit;
}
.antuju-wizard.step-4 .cost-table th,
.antuju-wizard.step-4 .cost-table td,
.antuju-wizard.step-4 .cost-table tfoot th,
.antuju-wizard.step-4 .cost-table tfoot td {
  padding: .7rem .9rem;
  vertical-align: top;
  border-bottom: 1px solid var(--card-border);
  border-radius: 0;
  overflow-wrap: anywhere;
}
.antuju-wizard.step-4 .cost-table th {
  width: 32%;
  background: color-mix(in oklab, var(--card-bg) 70%, var(--muted) 30%);
  color: inherit;
  font-weight: 600;
  text-align: left;
}
.antuju-wizard.step-4 .cost-table td:last-child,
.antuju-wizard.step-4 .cost-table th:last-child {
  text-align: right;
}
.antuju-wizard.step-4 .cost-table tfoot tr {
  background: color-mix(in oklab, var(--card-bg) 60%, var(--muted) 40%);
}
.antuju-wizard.step-4 .cost-table tfoot th,
.antuju-wizard.step-4 .cost-table tfoot td {
  font-weight: 700;
}

.antuju-wizard.step-4 .cost-table .costs-total {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left !important;
  border-bottom: 0;
}
.antuju-wizard.step-4 .costs-total__label {
  font-weight: 600;
  color: inherit;
}
.antuju-wizard.step-4 .costs-total__amount {
  margin-left: auto;
  font-weight: 700;
}

@media (max-width: 640px) {
  .antuju-wizard.step-4 .cost-table,
  .antuju-wizard.step-4 .cost-table tbody,
  .antuju-wizard.step-4 .cost-table tr,
  .antuju-wizard.step-4 .cost-table th,
  .antuju-wizard.step-4 .cost-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .antuju-wizard.step-4 .cost-table thead {
    display: none;
  }
  .antuju-wizard.step-4 .cost-table {
    border: 0;
    background: transparent;
  }
  .antuju-wizard.step-4 .cost-table tbody tr,
  .antuju-wizard.step-4 .cost-table tfoot tr {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: .75rem;
    overflow: clip;
    margin: 0 0 1rem;
  }
  .antuju-wizard.step-4 .cost-table th,
  .antuju-wizard.step-4 .cost-table tfoot th {
    border-bottom: 1px solid var(--card-border);
    border-radius: .75rem .75rem 0 0;
    padding: .75rem .9rem;
  }
  .antuju-wizard.step-4 .cost-table td,
  .antuju-wizard.step-4 .cost-table tfoot td {
    border: 0;
    text-align: left;
    padding: .65rem .9rem .85rem;
  }
  .antuju-wizard.step-4 .cost-table .costs-total {
    flex-wrap: wrap;
  }
  .antuju-wizard.step-4 .costs-total__amount {
    margin-left: 0;
  }
}

.antuju-wizard.step-4 .confirm-box {
  display: flex;
  align-items: start;
  gap: .6rem;
  padding: .85rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: color-mix(in oklab, var(--wp--preset--color--primary, #7c3aed) 6%, transparent);
  max-width: 560px;
}
.antuju-wizard.step-4 .confirm-box input[type="checkbox"] {
  accent-color: var(--accent);
  transform: translateY(.15rem);
}

/* Button-Zeile */
.antuju-wizard.step-4 .actions {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

/* === Step 5: Zusammenfassung === */
.antuju-wizard.step-5 .review-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin: var(--wp--preset--spacing--30, 1.25rem) 0 .75rem;
}
.antuju-wizard.step-5 .review-sections {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30, 1.25rem);
}
.antuju-wizard.step-5 .review-section h3 {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
}
.antuju-wizard.step-5 .review-section .review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.antuju-wizard.step-5 .review-list__label {
  display: block;
  font-weight: 600;
  color: var(--wp--preset--color--contrast-2, #475569);
  margin-bottom: .15rem;
}
.antuju-wizard.step-5 .review-list__value {
  display: block;
  word-break: break-word;
}
.antuju-wizard.step-5 .review-list__notice {
  border-radius: 10px;
  padding: .85rem 1rem;
  background: color-mix(in srgb, var(--wp--preset--color--accent, #2563eb) 12%, transparent);
  color: var(--wp--preset--color--contrast, #0f172a);
  margin-top: .25rem;
}
.antuju-wizard.step-5 .review-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.5rem;
  margin-top: .75rem;
}
.antuju-wizard.step-5 .review-list--inline li {
  min-width: min(220px, 100%);
}
.antuju-wizard.step-5 .review-participants {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 1rem;
}
.antuju-wizard.step-5 .review-participant__heading {
  font-weight: 600;
  margin-bottom: .25rem;
}
.antuju-wizard.step-5 .review-participant-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
  color: var(--wp--preset--color--contrast-2, #64748b);
  font-size: .95rem;
}
.antuju-wizard.step-5 .review-note {
  margin: .75rem 0 0;
  color: var(--wp--preset--color--contrast-2, #64748b);
  font-size: .95rem;
}
.antuju-wizard.step-5 .review-note--inline {
  display: block;
  margin-top: .35rem;
  font-size: .9rem;
}
.antuju-wizard.step-5 .cost-table td {
  text-align: left;
}
.antuju-wizard.step-5 .cost-table__amount {
  text-align: right;
  white-space: nowrap;
}
.antuju-wizard.step-5 .review-section--costs .cost-table {
  width: 100%;
}
.antuju-wizard.step-5 .review-section--costs .cost-table tfoot td {
  padding-top: .85rem;
  border-top: 2px solid color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 35%, transparent);
}
.antuju-wizard.step-5 .review-section--confirm .confirm-box {
  margin: 0;
}
.antuju-wizard.step-5 .review-section--confirm label {
  font-weight: 600;
}
@media (min-width: 960px) {
  .antuju-wizard.step-5 .review-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--30, 1.25rem);
  }
  .antuju-wizard.step-5 .review-section--participants,
  .antuju-wizard.step-5 .review-section--costs {
    grid-column: span 2;
  }
}

/* Notices (Fallback, wenn WP nicht styl’t) */
.antuju-wizard .notice.notice-success,
.antuju-wizard .notice.notice-error {
  border-radius: 12px;
  padding: .9rem 1rem;
}

/* === Antuju Secondary Button (wie Primary, andere Füllfarbe) === */
/* eigene (optionale) Variable zuerst – falls du eine andere Farbe willst, einfach hier ändern */
.antuju-wizard {
  --antuju-secondary: var(--wp--preset--color--accent-2, #ff7a5c);
  --antuju-secondary-text: var(--wp--preset--color--base, #111);
}

/* Frontend-Buttons (Block + klassischer Button) */
.antuju-wizard .wp-element-button.is-secondary,
.antuju-wizard .wp-block-button__link.is-secondary,
.antuju-wizard .button.is-secondary {
  background: var(--antuju-secondary);
  color: var(--antuju-secondary-text);
  border: 0;
  border-radius: 9999px;            /* an Primary angelehnt */
  padding: .6rem 1.6rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hover */
.antuju-wizard .wp-element-button.is-secondary:hover,
.antuju-wizard .wp-block-button__link.is-secondary:hover,
.antuju-wizard .button.is-secondary:hover {
  background: color-mix(in oklab, var(--antuju-secondary) 85%, black);
  color: var(--antuju-secondary-text);
}

/* Focus sichtbar (A11y) */
.antuju-wizard .wp-element-button.is-secondary:focus-visible,
.antuju-wizard .wp-block-button__link.is-secondary:focus-visible,
.antuju-wizard .button.is-secondary:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast, #fff);
  outline-offset: 2px;
}

/* Disabled */
.antuju-wizard .wp-element-button.is-secondary:disabled,
.antuju-wizard .wp-block-button__link.is-secondary:disabled,
.antuju-wizard .button.is-secondary:disabled {
  opacity: .6;
  filter: saturate(.8);
  cursor: not-allowed;
}

/* Hell/Dunkel passt sich via Tokens an – optional etwas mehr Kontrast im Dark Mode */
@media (prefers-color-scheme: dark) {
  .antuju-wizard .wp-element-button.is-secondary,
  .antuju-wizard .wp-block-button__link.is-secondary,
  .antuju-wizard .button.is-secondary {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--antuju-secondary) 30%, transparent) inset;
  }
}

/* === Antuju Tertiary Button (3. Farbe) === */
.antuju-wizard {
  /* zentrale Farbe – hier anpassen, wenn du willst */
  --antuju-tertiary: var(--wp--preset--color--accent-1, #4B52FF);
  --antuju-tertiary-text: var(--wp--preset--color--base, #111);
}

/* Alias-Unterstützung: .is-tertiary und .is_tertiar */
.antuju-wizard .wp-element-button.is-tertiary,
.antuju-wizard .wp-block-button__link.is-tertiary,
.antuju-wizard .button.is-tertiary,
.antuju-wizard .wp-element-button.is_tertiar,
.antuju-wizard .wp-block-button__link.is_tertiar,
.antuju-wizard .button.is_tertiar {
  background: var(--antuju-tertiary);
  color: var(--antuju-tertiary-text);
  border: 0;
  border-radius: 9999px;
  padding: .6rem 1.6rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hover */
.antuju-wizard .wp-element-button.is-tertiary:hover,
.antuju-wizard .wp-block-button__link.is-tertiary:hover,
.antuju-wizard .button.is-tertiary:hover,
.antuju-wizard .wp-element-button.is_tertiar:hover,
.antuju-wizard .wp-block-button__link.is_tertiar:hover,
.antuju-wizard .button.is_tertiar:hover {
  background: color-mix(in oklab, var(--antuju-tertiary) 85%, black);
  color: var(--antuju-tertiary-text);
}

/* Focus sichtbar (A11y) */
.antuju-wizard .wp-element-button.is-tertiary:focus-visible,
.antuju-wizard .wp-block-button__link.is-tertiary:focus-visible,
.antuju-wizard .button.is-tertiary:focus-visible,
.antuju-wizard .wp-element-button.is_tertiar:focus-visible,
.antuju-wizard .wp-block-button__link.is_tertiar:focus-visible,
.antuju-wizard .button.is_tertiar:focus-visible {
  outline: 2px solid var(--wp--preset--color--contrast, #fff);
  outline-offset: 2px;
}

/* Disabled */
.antuju-wizard .wp-element-button.is-tertiary:disabled,
.antuju-wizard .wp-block-button__link.is-tertiary:disabled,
.antuju-wizard .button.is-tertiary:disabled,
.antuju-wizard .wp-element-button.is_tertiar:disabled,
.antuju-wizard .wp-block-button__link.is_tertiar:disabled,
.antuju-wizard .button.is_tertiar:disabled {
  opacity: .6;
  filter: saturate(.85);
  cursor: not-allowed;
}

/* Dark-Mode kleiner Kontrast-Boost */
@media (prefers-color-scheme: dark) {
  .antuju-wizard .wp-element-button.is-tertiary,
  .antuju-wizard .wp-block-button__link.is-tertiary,
  .antuju-wizard .button.is-tertiary,
  .antuju-wizard .wp-element-button.is_tertiar,
  .antuju-wizard .wp-block-button__link.is_tertiar,
  .antuju-wizard .button.is_tertiar {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--antuju-tertiary) 30%, transparent) inset;
  }
}

/* ===== Teilnehmer-Portal ===== */
.antuju-participant-portal__panel {
  margin: var(--wp--preset--spacing--30, 1.5rem) auto;
  max-width: var(--wp--style--global--content-size, 760px);
}
.antuju-participant-portal__panel h1,
.antuju-participant-portal__panel h2 {
  margin-top: 0;
}
.antuju-participant-portal__card {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
}
.antuju-participant-portal__status {
  margin: 1.25rem 0;
  padding: 1rem 1.125rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(241, 245, 249, 0.65);
}
.antuju-participant-portal__status strong {
  display: block;
  margin-bottom: 0.35rem;
}
.antuju-participant-portal__status .muted {
  display: block;
  margin-top: 0.25rem;
}
.antuju-status-confirmed {
  border-left: 4px solid #1d9d4c;
  background: rgba(29, 157, 76, 0.1);
}
.antuju-status-waitlist {
  border-left: 4px solid #d67f00;
  background: rgba(214, 127, 0, 0.12);
}
.antuju-status-reserved {
  border-left: 4px solid #0a7cc5;
  background: rgba(10, 124, 197, 0.1);
}
.antuju-status-registered {
  border-left: 4px solid #5b4fd8;
  background: rgba(91, 79, 216, 0.1);
}
.antuju-status-withdrawn {
  border-left: 4px solid #c2410c;
  background: rgba(194, 65, 12, 0.08);
}
.antuju-participant-portal__details {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.antuju-participant-portal__details strong {
  font-weight: 600;
}
.antuju-participant-portal__form .field {
  margin-bottom: 1.5rem;
}
.antuju-participant-portal__hint {
  margin-bottom: 1.25rem;
}
.antuju-alert {
  margin: 1.25rem 0;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  line-height: 1.5;
}
.antuju-alert > p {
  margin: 0;
}
.antuju-alert--error {
  background: #fee2e2;
  border-color: #b91c1c;
  color: #7f1d1d;
}
.antuju-alert--success {
  background: #dcfce7;
  border-color: #15803d;
  color: #166534;
}
.antuju-alert--info {
  background: #e2e8f0;
  border-color: #475569;
  color: #1e293b;
}
.antuju-participant-portal__heading {
  margin-bottom: var(--wp--preset--spacing--30, 1.25rem);
}
.antuju-wizard.step-4 .summary-tournament-costs {
  list-style: disc;
  margin: .35rem 0 0 1.25rem;
  padding: 0;
  font-size: .86em;
}
.antuju-wizard.step-4 .summary-tournament-costs li {
  margin: 0 0 .25rem;
}
.antuju-wizard.step-4 .summary-tournament-costs li:last-child {
  margin-bottom: 0;
}
.antuju-wizard.step-4 .summary-tournament-costs__label {
  font-weight: 500;
  margin-right: .25rem;
}
.antuju-wizard.step-4 .summary-tournament-note {
  margin-top: .35rem !important;
  font-size: .75em !important;
}
