@charset "UTF-8";
.octobook-widget-custom {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  width: 100%;
  min-height: 110px;
  padding: 5px 20px;
  background-color: #395B64;
  border-radius: 10px;
}

.octo-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 10px;
}
.octo-form input, .octo-form select, .octo-form label {
  cursor: pointer !important;
}
.octo-form input:hover, .octo-form select:hover, .octo-form label:hover {
  cursor: pointer !important;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  max-height: 40px;
  padding: 10px 20px;
  gap: 10px;
  background-color: #fff;
  border-radius: 8px;
}
.form-container input, .form-container select {
  font-size: 16px;
  background: none;
  font-weight: 500;
  border: none;
  color: rgba(57, 91, 100, 0.5294117647);
  padding: 0;
  margin: 0;
}
.form-container .separator {
  width: 10px;
  height: 1px;
  background-color: #395B64;
}

.date-selectors-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.date-selectors-container .date-selectors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}
.date-selectors-container .label-date-selector {
  font-weight: 500;
  font-size: 16px;
  color: rgba(57, 91, 100, 0.5294117647);
}
.date-selectors-container input {
  display: none;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: #CBAD70;
}
.button-container:hover {
  background-color: #a68a52;
  cursor: pointer;
}
.button-container [type=submit] {
  all: unset;
  line-height: normal;
  color: #fff;
  font-size: 16px;
}
.button-container [type=submit]:hover {
  all: unset;
  line-height: normal;
  color: #fff;
  font-size: 16px;
}

.submit-button {
  background: none;
  border: none;
  color: #fff;
  padding: 0;
  margin: 0;
}

.flatpickr-calendar.open {
  top: 175% !important;
}

.selector-icon {
  height: 20px;
}

@media (max-width: 1024px) {
  .octobook-widget-custom {
    height: auto;
    min-height: auto;
    padding: 20px;
  }
  .octo-form {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .form-container {
    flex: 1 1 45%;
    min-width: 200px;
  }
  .date-selectors-container {
    flex: 1 1 45%;
    min-width: 200px;
    /* Añadimos fondo blanco para unificar el estilo en tablet */
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    height: 40px; /* Igualar altura visual */
  }
  .button-container {
    flex: 1 1 100%;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .octobook-widget-custom {
    padding: 15px;
    border-radius: 16px;
  }
  .octo-form {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
  }
  .form-container {
    width: 100%;
    max-height: none;
    padding: 15px 20px;
    justify-content: space-between;
  }
  .form-container input, .form-container select {
    width: 100%;
  }
  .date-selectors-container {
    width: 100%;
    height: auto;
    flex-direction: row; /* Mantener fechas en línea o columna según preferencia, row suele caber */
    justify-content: space-between;
    padding: 15px 20px;
  }
  .date-selectors-container .date-selectors {
    flex: 1;
    justify-content: center;
  }
  .button-container {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
    box-sizing: border-box; /* Asegurar que el padding no sume al ancho */
  }
  .button-container [type=submit] {
    font-weight: 600;
    width: 100%;
    text-align: center;
    white-space: normal; /* Permitir salto de línea si el texto es largo */
  }
  /* Ajuste para el calendario en móvil */
  .flatpickr-calendar {
    /* Forzar ancho máximo para que no se salga */
    max-width: 90vw !important;
    width: 300px !important; /* Ancho seguro para móviles pequeños */
    /* Centrado absoluto en pantalla */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    /* Asegurar visibilidad */
    z-index: 99999 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
  }
  /* Fondo oscuro detrás del calendario para mejorar contraste */
  .flatpickr-calendar.open::before {
    content: "";
    position: fixed;
    top: -100vh;
    left: -100vw;
    width: 300vw;
    height: 300vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none;
  }
}/*# sourceMappingURL=owv-style.css.map */