/*
 * Anmeldung form fixes.
 *
 * Hand-written on purpose: assets/css/style.min.css is currently AHEAD of
 * src/css/style.css, so running the Tailwind build would drop live rules
 * (.prose-bright, .prose-dark, the .wp-block editor spacing). Until the
 * source is reconciled, form styling lives here. Lives in assets/custom/
 * because the build empties assets/css/.
 */

/* The Anmeldung block wrapper applies [&_input]:w-full / px-4 / py-3 / border
   to EVERY input, which stretches consent checkboxes into a full-width bar. */
.anmeldung .wpcf7-acceptance input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem !important;
  flex: 0 0 auto;
  margin: 0.2rem 0 0 !important;
  padding: 0 !important;
  border: 1px solid #9ca3af !important;
  border-radius: 0.25rem !important;
  accent-color: #d97706;
}

.anmeldung .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.anmeldung .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}

.anmeldung .wpcf7-acceptance .wpcf7-list-item-label {
  margin-left: 0 !important;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Selects must fill their grid cell. The old template pinned the country
   field to w-[300px] / w-40 — classes that were never compiled — so it
   collapsed to a sliver inside the 12-column grid. */
.anmeldung .wpcf7-form-control-wrap select {
  width: 100% !important;
  min-width: 0 !important;
}

/* Labels: the block wrapper makes every label text-base + semibold, which is
   what makes a 20-field form read as noisy. */
.anmeldung .anmeldung-form label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

/* Section headings inside the form */
.anmeldung .anmeldung-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}
