/**
 * styles.css – NBHA v2
 *
 * Western / Barrel-Racing themed design.
 * Adaptiert von: turnier-anmeldung.html (Referenz-Design)
 *
 * Farbpalette: Sand / Leather / Dirt / Sky / Grass
 * Schriften: Bebas Neue (Headings) + DM Sans (Body)
 * State-Management: CSS :has() + data-Attribute (keine JS-Klassen)
 */

/* ── Google Fonts ─────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── Custom Properties ────────────────────────────────────────── */

:root {
  /* Farben – Western-Palette */
  --sand: #F5EFE0;
  --sand-dark: #E8DEC8;
  --leather: #8B5E3C;
  --leather-dark: #6B4528;
  --dirt: #3D2B1A;
  --sky: #2C6E8A;
  --sky-light: #E8F4F9;
  --grass: #3A6B3A;
  --grass-light: #EAF3EA;
  --danger: #A83232;
  --danger-bg: #FAECEC;

  --text-main: #1E1209;
  --text-muted: #7A6550;

  --border: rgba(139, 94, 60, 0.2);
  --border-strong: rgba(139, 94, 60, 0.4);

  /* Radien */
  --radius: 4px;
  --radius-lg: 8px;

  /* Uebergange */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
}

/* ── Reset ────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Body ─────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: #1E1209;
  min-height: 100vh;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── App Shell ────────────────────────────────────────────────── */

.app-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

/* ── Header (Sticky) ──────────────────────────────────────────── */

.app-header {
  background: var(--dirt);
  border-bottom: 3px solid var(--leather);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0;
  margin: 0 -1.5rem 0;
  box-shadow: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--sand);
  font-size: 26px;
  letter-spacing: 2px;
  line-height: 1;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  color: var(--sand);
  background: rgba(245, 239, 224, 0.12);
  border: 1px solid rgba(245, 239, 224, 0.2);
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition-fast);
}

.admin-link:hover {
  background: rgba(245, 239, 224, 0.22);
}

/* ── Form Hero ────────────────────────────────────────────────── */

.form-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.form-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--sand);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.form-hero p {
  color: var(--leather);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ── Wizard Progress ──────────────────────────────────────────── */

.wizard-progress {
  display: flex;
  align-items: center;
  margin: 0 0 2rem;
  background: var(--dirt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  gap: 0;
  overflow-x: auto;
}

.wp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 58px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.wp-step:hover .wp-circle {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.15);
}

.wp-step:hover .wp-label {
  color: var(--sand);
}

.wp-step:focus-visible {
  outline: none;
}

.wp-step:focus-visible .wp-circle {
  box-shadow: 0 0 0 3px var(--sky);
}

.wp-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 94, 60, 0.3);
  background: rgba(139, 94, 60, 0.1);
  color: var(--leather);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition-normal);
  margin-bottom: 5px;
}

.wp-circle.active {
  background: var(--leather);
  border-color: var(--leather);
  color: var(--sand);
  box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.25);
}

.wp-circle.done {
  background: var(--grass);
  border-color: var(--grass);
  color: white;
}

.wp-label {
  font-size: 9px;
  color: rgba(245, 239, 224, 0.4);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.wp-label.active {
  color: var(--sand);
  font-weight: 500;
}

.wp-label.done {
  color: var(--grass);
}

.wp-connector {
  flex: 1;
  height: 1px;
  background: rgba(139, 94, 60, 0.2);
  margin-bottom: 20px;
  min-width: 8px;
}

.wp-connector.done {
  background: var(--grass);
}

/* ── Global Notice ────────────────────────────────────────────── */

.global-notice {
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 1rem;
  font-size: 13px;
  font-weight: 500;
}

.global-notice[data-notice-state="hidden"] {
  display: none;
}

.global-notice[data-notice-state="visible"] {
  display: block;
}

.global-notice[data-notice-tone="info"] {
  background: var(--sky-light);
  color: var(--sky);
  border: 1px solid var(--sky);
}

.global-notice[data-notice-tone="warn"] {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #E65100;
}

.global-notice[data-notice-tone="error"] {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.global-notice[data-notice-tone="ok"] {
  background: var(--grass-light);
  color: var(--grass);
  border: 1px solid var(--grass);
}

.notice-detail-list {
  margin: 8px 0 0 20px;
  padding: 0;
}

.notice-detail-list li + li {
  margin-top: 4px;
}

/* ── Validation Feedback (Error Banner) ───────────────────────── */

.validation-feedback {
  background: var(--danger-bg);
  border: 1px solid #E8BABA;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--danger);
  margin-top: 12px;
}

.validation-feedback[data-state="hidden"] {
  display: none;
}

.validation-feedback ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

/* ── Progress Bar (simple fallback) ───────────────────────────── */

.progress-bar-container {
  display: none;
}

.progress-text {
  display: none;
}

/* ── Form Section (Card) ──────────────────────────────────────── */

.form-section {
  background: var(--sand);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-dark);
  padding: 1.75rem;
  margin-bottom: 1rem;
  animation: cardIn 0.25s ease;
  overflow: visible;
  box-shadow: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Smooth scroll to open section on step change */
.form-section[data-accordion-state="open"] {
  scroll-margin-top: 80px;
}

/* Accordion-Zustaende */
.form-section[data-accordion-state="closed"] [data-role="content"] {
  display: none;
}

.form-section[data-accordion-state="open"] [data-role="content"] {
  display: block;
}

.form-section[data-accordion-state="completed"] [data-role="content"] {
  display: none;
}

.form-section[data-accordion-state="completed"] .section-header {
  opacity: 0.7;
}

.section-header {
  padding: 0 0 0.6rem;
  border-bottom: 1.5px solid var(--sand-dark);
  margin-bottom: 1.25rem;
  border-top: none;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.section-header:hover {
  opacity: 0.75;
}

.section-header:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sky);
}

.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--dirt);
  margin: 0;
  font-weight: 400;
}

.section-description {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Field Grid ───────────────────────────────────────────────── */

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid-full {
  grid-column: 1 / -1;
}

@media (max-width: 580px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Field Group ──────────────────────────────────────────────── */

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--leather-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.field-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  font-style: italic;
}

/* ── Inputs ───────────────────────────────────────────────────── */

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"],
input[type="file"],
select,
textarea {
  padding: 9px 12px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(44, 110, 138, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #C4AD96;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* ── Invalid State ────────────────────────────────────────────── */

[data-field-state="invalid"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(168, 50, 50, 0.15) !important;
  animation: fieldShake 0.3s ease;
}

.field-error-msg {
  display: block;
  font-size: 11px;
  color: var(--danger);
  margin-top: 3px;
  font-weight: 500;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

/* ── Phone Row (Ländervorwahl + Nummer) ─────────────────────────── */

.phone-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.phone-row select {
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
  font-size: 14px;
  padding: 9px 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: white;
  color: var(--text-main);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.phone-row select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(44, 110, 138, 0.12);
}

.phone-row input {
  flex: 1;
  min-width: 0;
}

@media (max-width: 580px) {
  .phone-row {
    flex-direction: column;
  }
  .phone-row select {
    min-width: 100%;
  }
}

/* ── Chip Grid (Checkbox-Gruppen / Disziplinen) ───────────────── */

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: all 0.12s;
  user-select: none;
  font-weight: 400;
}

.chip-item:hover {
  border-color: var(--leather);
  background: #FDF5EB;
}

/* CSS :has() – deklarative State-Steuerung */
.chip-item:has(input:checked) {
  border-color: var(--leather);
  background: #FDF5EB;
  font-weight: 600;
}

.chip-item:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--sand-dark);
}

.chip-item input {
  width: 15px;
  height: 15px;
  accent-color: var(--leather);
  cursor: pointer;
  pointer-events: none;
  flex-shrink: 0;
}

/* ── Consent List ──────────────────────────────────────────────── */

.consent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  user-select: none;
  font-weight: 400;
  line-height: 1.5;
}

.consent-item:hover {
  border-color: var(--leather);
}

/* :has() for checked consent items */
.consent-item:has(input:checked) {
  border-color: var(--grass);
  background: #F4FAF4;
}

.consent-item input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--grass);
  cursor: pointer;
  pointer-events: none;
}

/* Pflicht-Badge fuer Consent-Items */
.pflicht-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--danger-bg);
  color: var(--danger);
  margin-left: 6px;
  font-weight: 500;
  vertical-align: middle;
}

/* ── Event Card (Turnier-Banner) ──────────────────────────────── */

.event-card {
  background: linear-gradient(135deg, var(--dirt) 0%, #5A3A20 100%);
  border: 1px solid var(--leather);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  animation: cardIn 0.25s ease;
}

.event-card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-card-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--leather);
  font-weight: 500;
}

.event-card-row span:last-child {
  font-size: 14px;
  color: var(--sand);
  font-weight: 500;
}

/* ── Chip Radio (Geschlecht) ─────────────────────────────────────── */

.chip-radio {
  /* Gleiche Basis wie .chip-item, aber Radio-styling */
}

.chip-radio:has(input:checked) {
  border-color: var(--sky);
  background: var(--sky-light);
  font-weight: 600;
}

.chip-radio input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: var(--sky);
  cursor: pointer;
  pointer-events: none;
  flex-shrink: 0;
}

/* ── Sub-Section (Impfungen, Uploads) ──────────────────────────── */

.sub-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--sand-dark);
}

.sub-section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--dirt);
  margin-bottom: 4px;
  font-weight: 400;
}

.sub-section-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Drop Zone (Moderner Datei-Upload) ─────────────────────────── */

.drop-zone {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: white;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.drop-zone:hover {
  border-color: var(--leather);
  background: #FDF8F0;
}

.drop-zone-over {
  border-color: var(--sky) !important;
  background: var(--sky-light) !important;
  box-shadow: 0 0 0 3px rgba(44, 110, 138, 0.12);
}

.drop-zone-has-file {
  border-color: var(--grass);
  border-style: solid;
  background: #F4FAF4;
}

.drop-zone-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.drop-zone-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.drop-zone-hint {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.drop-zone-filename {
  font-size: 12px;
  font-weight: 500;
  color: var(--grass);
  margin-top: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Drop-Zone Invalid State */
.drop-zone[data-state="invalid"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}

/* ── Upload Status ────────────────────────────────────────────── */

.upload-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
}

.upload-status[data-upload-state="uploading"] {
  color: var(--sky);
}

.upload-status[data-upload-state="uploaded"] {
  color: var(--grass);
}

.upload-status[data-upload-state="error"] {
  color: var(--danger);
}

[data-role="upload-box"][data-state="invalid"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}

/* ── Review Summary (Turnier & Startklasse) ────────────────────── */

.review-summary {
  margin-bottom: 1.25rem;
}

.review-event-card {
  background: linear-gradient(135deg, var(--dirt) 0%, #5A3A20 100%);
  border: 1px solid var(--leather);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.review-event-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--sand);
  margin-bottom: 6px;
}

.review-event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.review-event-detail {
  font-size: 12px;
  color: var(--leather);
}

.review-event-detail strong {
  color: var(--sand);
}

.review-class-row,
.review-disc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--sand-dark);
  font-size: 13px;
}

.review-class-label {
  color: var(--text-muted);
  font-weight: 500;
}

.review-class-value {
  color: var(--text-main);
  font-weight: 600;
}

/* ── Fee Panel ────────────────────────────────────────────────── */

.fee-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.fee-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-main);
}

.fee-total {
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 12px 16px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--leather) 0%, var(--leather-dark) 100%);
  border-radius: var(--radius-lg);
  letter-spacing: 0.5px;
}

/* ── Review Payload ───────────────────────────────────────────── */

.review-payload {
  font-size: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 300px;
  overflow-y: auto;
  color: var(--text-muted);
}

/* ── Form Actions ─────────────────────────────────────────────── */

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border: 0;
  border-radius: 30px;
  background: var(--leather);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-primary:hover {
  background: var(--leather-dark);
}

.btn-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary[data-loading="true"] {
  opacity: 0.85;
  cursor: wait;
}

.btn-primary[data-loading="true"] .spinner {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background: white;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--sand-dark);
}

.submit-status {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Navigation ───────────────────────────────────────────────── */

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-nav {
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-nav:first-child {
  background: rgba(245, 239, 224, 0.12);
  color: var(--sand);
  border: 1px solid rgba(245, 239, 224, 0.2);
}

.btn-nav:first-child:hover {
  background: rgba(245, 239, 224, 0.22);
}

.btn-nav:last-child {
  background: var(--leather);
  color: white;
}

.btn-nav:last-child:hover {
  background: var(--leather-dark);
}

.btn-nav[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── Section Divider ──────────────────────────────────────────── */

.section-divider {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 1.25rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-dark);
}

/* ── Footer ───────────────────────────────────────────────────── */

.app-footer {
  text-align: center;
  font-size: 12px;
  color: rgba(245, 239, 224, 0.4);
  padding: 2rem 0;
}

/* ── Spinner ──────────────────────────────────────────────────── */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Reduced Motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 580px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .chip-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .review-event-details {
    flex-direction: column;
  }

  .wp-label {
    font-size: 7px;
    letter-spacing: 0;
    white-space: normal;
    max-width: 42px;
    line-height: 1.2;
  }

  .wp-circle {
    width: 28px;
    height: 28px;
    font-size: 11px;
    margin-bottom: 3px;
  }

  .wp-step {
    min-width: 46px;
  }

  .form-section {
    padding: 1.25rem;
  }

  .app-header {
    padding: 0.75rem 1rem;
  }

  .drop-zone {
    padding: 1.25rem 1rem;
  }

  .drop-zone-icon {
    font-size: 1.5rem;
  }

  .chip-item {
    padding: 10px 12px;
    font-size: 14px;
    gap: 10px;
  }

  .chip-item input {
    width: 18px;
    height: 18px;
  }

  .consent-item {
    padding: 14px 16px;
    gap: 14px;
  }

  .consent-item input {
    width: 20px;
    height: 20px;
  }

  .btn-nav {
    padding: 12px 20px;
    font-size: 15px;
  }
}
