/* ── Sanifair feedback form shared styles ─────────────────────────────── */

/* DE / EN only: location type cascade container */
.locationSelectTypeContainer {
  display: none !important;
}

.locationSelectTypeContainer.show-for-germany {
  display: block !important;
}

/* Message textarea height */
#message {
  min-height: calc(4 * 1.2em + 2rem);
  max-height: calc(4 * 1.2em + 2rem);
  resize: vertical;
}

/* Date / time fields: make entire cell clickable */
.form-default__field input[type="date"],
.form-default__field input[type="time"] {
  cursor: pointer;
}

.form-default__field {
  position: relative;
}

.form-default__field input[type="date"]::-webkit-calendar-picker-indicator,
.form-default__field input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

/* Field error state */
.form-default__field.error input,
.form-default__field.error select,
.form-default__field.error textarea {
  border-color: #ff0000 !important;
}

.error-message {
  color: #ff0000;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

/* Privacy link */
.privacy-link {
  color: #ffffff;
  text-decoration: underline;
}

/* Kontaktart inactive fields */
.form-default__field.field-inactive input,
.form-default__field.field-inactive select,
.form-default__field.field-inactive textarea {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.05);
}

.form-default__field.field-inactive label {
  opacity: 0.4;
}

/* DE / EN only: location type radio error label */
#location-type-selection.error .location-type-label {
  color: #ff0000;
}
