/* SchwabenmÃ¼hle Buchung â Overrides v2.0.22 */

.smb-form input,
.smb-form select,
.smb-form textarea{
  border: 1px solid #000 !important;
  color: #000 !important;
}

.smb-form label{
  color: #000 !important;
}

.smb-form input::placeholder,
.smb-form textarea::placeholder{
  color: #555 !important;
}

.smb-form input:focus,
.smb-form select:focus,
.smb-form textarea:focus{
  outline: none !important;
  box-shadow: none !important;
  border-color: #000 !important;
}

.smb-minstay-warning{
  color: #b00000 !important;
  border-color: #b00000 !important;
}


/* v2.0.27: WeiÃbereich unter dem Formular, damit der Footer nicht "hochgezogen" wirkt */
.smb-bottom-spacer{
  height: 28vh;
  min-height: 180px;
  max-height: 420px;
  background: #fff;
}
@media (max-width: 800px){
  .smb-bottom-spacer{
    height: 20vh;
    min-height: 120px;
    max-height: 300px;
  }
}


/* v2.0.29: Footer/GrÃ¼nbereich darf nicht direkt ans Formular "kleben".
   Wir erzwingen WeiÃraum und weiÃen Hintergrund im Plugin-Bereich. */
.smb-wrap{
  background: #fff !important;
  padding-bottom: 35vh !important; /* zusÃ¤tzlicher WeiÃbereich innerhalb des Inhalts */
}

.smb-bottom-spacer{
  display: block !important;
  height: 35vh !important;
  min-height: 220px !important;
  max-height: 520px !important;
  background: #fff !important;
}

@media (max-width: 800px){
  .smb-wrap{ padding-bottom: 25vh !important; }
  .smb-bottom-spacer{
    height: 25vh !important;
    min-height: 160px !important;
    max-height: 380px !important;
  }
}


/* v2.0.30: Mehr WeiÃraum, damit der Footer beim Scrollen nicht sofort im Sichtbereich ist */
.smb-wrap{ padding-bottom: 55vh !important; }
.smb-bottom-spacer{
  height: 55vh !important;
  min-height: 360px !important;
  max-height: 760px !important;
}
@media (max-width: 800px){
  .smb-wrap{ padding-bottom: 40vh !important; }
  .smb-bottom-spacer{
    height: 40vh !important;
    min-height: 220px !important;
    max-height: 520px !important;
  }
}


/* v2.0.42 â PreisÃ¼bersicht (rechter Kasten) eingefÃ¤rbt */
.smb-preisbox,
.smb-preisbox-wrapper {
  background-color: #f4f8f6;
  border: 2px solid #5a7f6b;
}
.smb-preisbox h3,
.smb-preisbox h4 {
  color: #2f5f49;
}


/* v2.0.43 â Preisbox neutral wie Formular (keine SchwabenmÃ¼hle-Farben) */
.smb-preisbox,
.smb-preisbox-wrapper {
  background-color: #ffffff;
  border: 2px solid #000000;
  color: #000000;
}
.smb-preisbox h3,
.smb-preisbox h4,
.smb-preisbox strong {
  color: #000000;
}


/* v2.0.44 â Preisbox rechts: exakt wie Formular (Ã¼ber data-smb-price) */
[data-smb-price]{
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  color: #000000 !important;
}
[data-smb-price] .smb-price-title,
[data-smb-price] .smb-price-group,
[data-smb-price] .smb-price-group strong,
[data-smb-price] .smb-price-row,
[data-smb-price] .smb-price-row span,
[data-smb-price] .smb-price-total{
  color: #000000 !important;
}


/* v2.0.45 â Preisbox: exakt wie Formularfelder (RahmenstÃ¤rke + Hintergrund) */
[data-smb-price]{
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 6px !important;
  color: #000000 !important;
}
[data-smb-price] .smb-price-title,
[data-smb-price] .smb-price-group,
[data-smb-price] .smb-price-group strong,
[data-smb-price] .smb-price-row,
[data-smb-price] .smb-price-row span,
[data-smb-price] .smb-price-total{
  color: #000000 !important;
}


/* v2.0.47 â Preisbox Hintergrund wie Input-Felder (leicht grau) */
[data-smb-price]{
  background:#f5f5f5 !important; /* entspricht typischer Input-Optik im Theme */
  border:1px solid #000000 !important;
  color:#000000 !important;
}


/* v2.0.48 â Preisbox: 1:1 wie Eingabefelder (Computed Style) */
[data-smb-price]{
  background-color: rgb(244, 244, 244) !important;
  border: 0.8px solid rgb(0, 0, 0) !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

/* v2.0.53: Fehlerkasten (Validierung) rot darstellen */
.smb-price-box[role="alert"]{
  min-height: 0 !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 10px 0 12px !important;
  border-radius: 10px !important;
}

.smb-price-box[role="alert"] strong,
.smb-price-box[role="alert"] ul,
.smb-price-box[role="alert"] li{
  color: #d63638 !important;
}


/* v2.0.81: Formidable Fehlerfelder sichtbar markieren */
.frm_forms .frm_form_field.frm_error input,
.frm_forms .frm_form_field.frm_error select,
.frm_forms .frm_form_field.frm_error textarea,
.frm_forms .frm_form_field.frm_blank_field input,
.frm_forms .frm_form_field.frm_blank_field select,
.frm_forms .frm_form_field.frm_blank_field textarea,
.frm_forms .frm_form_field .frm_error input,
.frm_forms .frm_form_field .frm_error select,
.frm_forms .frm_form_field .frm_error textarea{
  border: 2px solid #d63638 !important;
  box-shadow: 0 0 0 1px rgba(214,54,56,0.15) !important;
}

/* Checkbox/Radio: Rahmen um Container */
.frm_forms .frm_form_field.frm_error .frm_opt_container,
.frm_forms .frm_form_field.frm_blank_field .frm_opt_container{
  outline: 2px solid #d63638 !important;
  outline-offset: 2px !important;
}


/* v2.0.82: robuste Fehler-Markierung (per JS gesetzt) */
.frm_forms .smb-mark-error input,
.frm_forms .smb-mark-error select,
.frm_forms .smb-mark-error textarea,
.frm_forms input.smb-mark-error,
.frm_forms select.smb-mark-error,
.frm_forms textarea.smb-mark-error{
  border: 2px solid #d63638 !important;
  box-shadow: 0 0 0 1px rgba(214,54,56,0.20) !important;
}

.frm_forms .frm_opt_container.smb-mark-error{
  outline: 2px solid #d63638 !important;
  outline-offset: 2px !important;
}


/* v2.0.83: Fehlermeldung kompakter + Pflichtfelder sichtbar markieren */
.smb-price-box[role="alert"]{
  min-height: 0 !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 10px 0 12px !important;
  border-radius: 10px !important;
}

.smb-price-box[role="alert"] p{
  margin: 0 !important;
}
.smb-form input.smb-invalid,
.smb-form select.smb-invalid,
.smb-form textarea.smb-invalid{
  border: 2px solid #d63638 !important;
  background: #fff5f5 !important;
}
.smb-form .smb-field.smb-invalid{
  /* falls Wrapper genutzt wird */
}


/* v2.0.89: Bettwäsche-Checkbox (nur diese) vertikal zentrieren */
.smb-form .smb-bettwaesche-row{
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
}

.smb-form .smb-bettwaesche-row input[type="checkbox"]{
  margin: 0;
}


/* v2.0.91: SAT-Empfang (Komfortstellplatz) – gleiche Breite wie An-/Abreise zusammen */
.smb-wrap .smb-booking-split .smb-satonly{
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
}

.smb-wrap .smb-booking-split .smb-satonly select{
  width: 100% !important;
  max-width: none !important;
}



/* v2.0.92: SAT-Empfang (Komfortstellplatz) – volle Breite wie An-/Abreise (robust gegen alte max-width Regeln) */
.smb-wrap .smb-satonly{
  width: 100% !important;
  max-width: none !important; /* überschreibt .smb-wrap .smb-satonly{max-width:420px} */
}
.smb-wrap .smb-satonly select{
  width: 100% !important;     /* überschreibt width:86px */
  max-width: none !important; /* überschreibt max-width:320px */
  display: block !important;
}

/* Utility: JS-gesteuertes Ausblenden */
.smb-hidden{display:none !important;}
