/* === CONTENEDOR Y ELEMENTOS GENERALES === */
#fbuilder {

  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
}

#fbuilder label,
#fbuilder span,
#fbuilder legend {
  color: #ffffff;
  font-size: 18px;
}

#fbuilder input[type="text"],
#fbuilder input[type="email"],
#fbuilder textarea,
#fbuilder select {

  color: #ffffff !important;
  border: 1px solid #84d600 !important;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

#fbuilder input::placeholder {
  color: #cccccc;
}

#fbuilder input[type="submit"],
.pbSubmit {
  background-color: #84d600 !important;
  color: #000000 !important;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

#fbuilder input[type="submit"]:hover {
  background-color: #a3ff00 !important;
}

.ahbfield_service {
  display: none;
}

/* === CALENDARIO GENERAL === */
#fbuilder .ui-datepicker-inline {
  max-width: none !important;
}

.ui-datepicker {
  background-color: #0b1b3c !important;
  border: none !important;
  padding: 10px;
  border-radius: 10px;
  width: 100% !important;
  max-width: 400px;
  margin: 0 auto;
}

.ui-datepicker-header {
  background-color: #7ac00a !important;
  color: #000000 !important;
  border: none !important;
  font-weight: bold;
  border-radius: 4px;
  padding: 8px;
}

.ui-datepicker th {
  background-color: #1f2e56 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
  border-radius: 4px;
  text-align: center;
}

/* === DÍAS GENERALES === */
.ui-datepicker td a,
.ui-datepicker td span,
.ui-state-default {
  font-size: 18px !important;
  font-weight: 500;
  padding: 8px;
  height: 36px;
  line-height: 20px;
  display: inline-block;
  text-align: center;
  border-radius: 6px;
  background-color: #1f1f1f !important;
  border: 1px solid #555 !important;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

.ui-datepicker td a:hover {
  background-color: #7ac00a !important;
  color: #000000 !important;
}

/* Día actual (HOY) */
.ui-datepicker td.ui-datepicker-today a,
.ui-datepicker td.ui-datepicker-today span {
  background-color: #84d600 !important;
  color: #000000 !important;
  border: 2px solid #84d600 !important;
  font-weight: bold;
}

/* Día seleccionado (clic) */
.ui-datepicker td a.ui-state-active {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: bold;
  border: 4px solid #84d600 !important;
}

/* === DÍAS DESHABILITADOS === */
.ui-datepicker td.ui-datepicker-unselectable span,
.ui-datepicker td.ui-datepicker-unselectable a,
.ui-datepicker td.ui-state-disabled span,
.ui-datepicker td.ui-state-disabled a {
  background-color: #2e2e2e !important;
  color: #999999 !important;
  border: 1px solid #444 !important;
  opacity: 1 !important;
  font-size: 18px !important;
  pointer-events: none;
  border-radius: 4px;
  padding: 6px;
  display: inline-block;
}

/* === BOTONES DE HORA === */
.slots div a {
  background-color: #1f1f1f !important;
  border: 1px solid #84d600 !important;
  color: #ffffff !important;
  padding: 8px 14px;
  margin: 4px;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease;
}

.slots div a:hover {
  background-color: #84d600 !important;
  color: #000 !important;
  font-weight: bold;
}

.slots div a.disabled {
  background-color: #444 !important;
  border: 1px solid #666 !important;
  color: #999 !important;
  cursor: not-allowed;
}

#fbuilder .ui-state-default, #fbuilder .ui-widget-content .ui-state-default, #fbuilder .ui-widget-header .ui-state-default, #fbuilder .ui-button, #fbuilder html .ui-button.ui-state-disabled:hover, #fbuilder html .ui-button.ui-state-disabled:active {
    border: inherit;
    font-weight: bold;
    height: 36px;
}
.elementor-popup-modal .dialog-close-button svg {
    fill: white;
    height: 1em;
    width: 1em;
}