/* Widerruf Formular */

.widerruf-form {
  margin: 2rem 0;
}

.widerruf-form > * + * {
  margin-top: 1.5rem;
}

.widerruf-form__field {
  display: flex;
  flex-direction: column;
}

.widerruf-form__label {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.widerruf-form__input,
.widerruf-form__textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  box-sizing: border-box;
}

.widerruf-form__input:focus,
.widerruf-form__textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.widerruf-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.widerruf-form__helptext {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
}

.widerruf-form__button-container {
  margin-top: 2rem;
}

.widerruf-form__button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #000;
  color: white;
  border: none;
  font-weight: 300;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.widerruf-form__button:hover {
  background-color: #333;
}

.widerruf-form__button:active {
  background-color: #000;
}

.widerruf-form__info {
  font-size: 0.875rem;
  color: #666;
  margin-top: 1rem;
}

.widerruf-form__error {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #ffcccc;
  border: 1px solid #ff9999;
  color: #660000;
  border-radius: 0;
}

.widerruf-form__error p {
  margin: 0.5rem 0;
  color: #660000;
}

.widerruf-form__error p:first-child {
  margin-top: 0;
}

.widerruf-form__error p:last-child {
  margin-bottom: 0;
}

.widerruf-form__success {
  padding: 1rem;
  background-color: #ccffcc;
  border: 1px solid #99ff99;
  color: #006600;
  border-radius: 0;
}

/* Honeypot-Feld (kirby-uniform): fuer Menschen unsichtbar, Falle fuer Bots */
.uniform__potty {
  position: absolute;
  left: -9999px;
}
