/* Zusatz-Styles fuer die Anmeldeseiten (sta.woolaround.com), oben auf dem
   1:1 uebernommenen style.css der Hauptseite (woolaround.com) aufgesetzt -
   nutzt dieselben Farbvariablen, damit es nicht wie ein Fremdkoerper wirkt. */

.btn-anmelden {
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.btn-anmelden:hover {
  background: var(--green);
}

.termin-action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Eigener Tooltip fuer die "Zusatzinfo nur fuer Mails" (statt des nativen
   title-Attributs, das sich nicht stylen laesst - fixe Breite + Marken-Blau
   statt breitem schwarzem Browser-Standard-Tooltip). */
.termin-theme[data-tooltip] {
  position: relative;
}

.termin-theme[data-tooltip]:hover::after,
.termin-theme[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 220px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.termin-theme[data-tooltip]:hover::before,
.termin-theme[data-tooltip]:focus::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brand-blue);
  margin-bottom: -2px;
  z-index: 20;
}

@media (max-width: 380px) {
  .termin-theme[data-tooltip]:hover::after {
    max-width: 160px;
  }
}

.termin-card.cancelled {
  opacity: 0.6;
}

.termin-card.cancelled .termin-date {
  border-color: #ccc;
}

/* Formulare (Anmeldung, Rueckfrage, Abmeldung) */

.booking-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid);
  margin: 0 0 1rem;
}

.booking-form input[type="text"],
.booking-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.8rem;
  font-size: 16px;
  font-family: inherit;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.booking-form input:focus {
  outline: none;
  border-color: var(--orange);
}

.btn-primary,
.booking-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  margin-right: 0.6rem;
}

.btn-primary:hover,
.booking-form button:hover {
  background: var(--green);
}

.btn-secondary,
.booking-form button.btn-secondary {
  background: #fff;
  color: var(--mid);
  border: 1.5px solid #ccc;
}

.btn-secondary:hover,
.booking-form button.btn-secondary:hover {
  background: #fff;
  border-color: var(--mid);
}

.hinweis {
  background: var(--light);
  border-left: 4px solid var(--orange);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--mid);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.4rem;
}

.rueckfrage-text {
  /* Leerzeilen in der texts.yaml sollen wie bei Mailtexten als sichtbarer
     Absatzwechsel erscheinen - ohne pre-line wuerde HTML sie einfach
     verschlucken und alles zu einem Fliesstext zusammenziehen. */
  white-space: pre-line;
}

.zurueck-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--mid);
}
