@font-face {
  font-family: "Patria";
  src: url("./fonts/Patria_Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Patria";
  src: url("./fonts/Patria_Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Patria";
  src: url("./fonts/Patria_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "MontserratVar";
  src: url("./fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; /* Intervalo de pesos disponibles */
  font-style: normal;
}

@font-face {
  font-family: "MontserratVar";
  src: url("./fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: "NotoSans";
  src: url("./fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NotoSans";
  src: url("./fonts/NotoSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

body {
  background-color: #391821;
  text-align: justify;
}

#mapMunicipio,
#mapEntrada {
  height: 300px;
  width: 100%;
  margin-top: 10px;
}

.parent_div {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.child_div {
  align-items: center;
  width: 100%;
  max-width: 850px;
  border-radius: 15px;
}

.card {
  border-radius: 15px;
}

@media (max-width: 992px) {
  .img-fluid {
    width: 50%;
  }
}

.card {
  border-left: 4px solid #8c1b3d;
}

/* Eliminar estilos de validación de Bootstrap solo en los checkboxes */
.was-validated .form-check-input[type="checkbox"]:valid,
.was-validated .form-check-input[type="checkbox"].is-valid {
  border-color: initial !important;
  box-shadow: none !important;
}

/* Eliminar los estilos de validación en los labels de los checkboxes */
.was-validated .form-check-input[type="checkbox"]:valid + .form-check-label,
.was-validated .form-check-input[type="checkbox"].is-valid + .form-check-label {
  color: initial !important;
  /* Resetea el color del texto del label */
}

/* Evitar que el texto de los labels cambie cuando el checkbox está inválido */
.was-validated .form-check-input[type="checkbox"]:invalid + .form-check-label {
  color: initial !important;
  /* Resetea el color del texto del label */
}

/* Personaliza los estilos de los checkboxes en estado inválido */
.was-validated .form-check-input[type="checkbox"].is-invalid {
  border-color: #dc3545 !important;
  /* Rojo (error) */
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
  /* Sombra roja */
}

/* Personaliza los estilos de los checkboxes en estado válido */
.was-validated .form-check-input[type="checkbox"].is-valid {
  border-color: #28a745 !important;
  /* Verde (válido) */
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25) !important;
  /* Sombra verde */
}

/* Personaliza los estilos de los labels en estado inválido */
.was-validated
  .form-check-input[type="checkbox"].is-invalid
  + .form-check-label {
  color: #dc3545 !important;
  /* Rojo para el texto del label */
}

/* Personaliza los estilos de los labels en estado válido */
.was-validated .form-check-input[type="checkbox"].is-valid + .form-check-label {
  color: #28a745 !important;
  /* Verde para el texto del label */
}

#dias-container {
  display: flex;
  justify-content: center;
  /* Centra los elementos horizontalmente */
  flex-wrap: wrap;
  /* Permite que los elementos se ajusten si no caben en una sola línea */
  gap: 10px;
  /* Espaciado entre los elementos */
}

#dias-container .form-check-label {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

#dias-container .form-check-input:checked + .form-check-label {
  background-color: #8c1b3d;
  /* Color del círculo seleccionado */
  color: #fff;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
  #dias-container .form-check-label {
    width: 30px;
    /* Reducir el tamaño del círculo */
    height: 30px;
    font-size: 12px;
    /* Reducir el tamaño de la letra */
  }

  #dias-container .form-check {
    padding-left: 0.5rem;
  }
}

@media (max-width: 374px) {
  #dias-container {
    gap: 0rem !important;
    /* Ajusta el gap a 0.5rem (8px) o cualquier valor deseado */
  }
}

@media (max-width: 326px) {
  #dias-container .form-check {
    padding-left: 0.3rem;
  }
}

@media (max-width: 304px) {
  #dias-container .form-check-label {
    width: 25px;
    /* Reducir el tamaño del círculo */
    height: 25px;
    font-size: 10px;
    /* Reducir el tamaño de la letra */
  }
}

#loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
}

/* Estilo predeterminado para pantallas grandes */
.btn_folio {
  margin-left: 10px;
}

/* Cambio para pantallas pequeñas */
@media (max-width: 600px) {
  #div_consulta form div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #div_consulta .btn_folio {
    margin-left: 0;
    margin-top: 10px; /* Espacio entre el campo de texto y el botón */
  }
}

.bg-cdmx {
  background-color: #611232;
  padding: 0px 47px;
}

.bg-header {
  background-image: url("./images/header.png");
  background-repeat: no-repeat;
  background-color: #691a32;
  height: 252px;
}

.bg-header .title {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
}

.bg-header .subtitle {
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 12px;
}

.form-card .title {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-family: "NotoSans", sans-serif;
  font-weight: 600;
  line-height: normal;
  text-align: left;
}

.form-card .input-label {
  overflow: hidden;
  color: #dab9c2;
  text-overflow: ellipsis;
  font-size: 16px;
  font-style: normal;
  font-family: "MontserratVar", sans-serif;
  font-weight: 500;
  line-height: 20px;
}

.form-card .form-control {
  border-radius: 8px;
  border: 1px solid #dab9c2;
  background: #391821;
  display: flex;
  height: 40px;
  min-width: 70px;
  max-width: 700px;
  padding: 10px 16px;
  /* padding: 5px 10px; */
  align-items: center;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  color: #876670;
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.form-control:focus {
  box-shadow: none !important;
  outline: none !important;
}

.input-container {
  position: relative;
  width: 100%;
  max-width: 700px;
}

.input-container .form-control {
  padding-right: 40px;
}

.calendar-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #876670;
  pointer-events: none;
  font-size: 16px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
}

.select-wrapper .custom-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #876670;
  font-size: 14px;
}

.separator {
  height: 1px;
  background: #dab9c2;
}

.form-card .textarea-form {
  border-radius: 8px;
  border: 1px solid #dab9c2;
  background: #391821;
  display: flex;
  min-width: 70px;
  max-width: 700px;
  padding: 10px 16px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  color: #876670;
}

.form-card .input-sublabel {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
  line-height: 24px;
}

.btn-form {
  display: inline-flex;
  padding: 24px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid #cc7a88;
  background: #cc7a88;
  color: #391821;
  font-family: "MontserratVar", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.footer-cdmx {
  background-color: #611232;
  padding-top: 32px;
  text-align: left;
}

.footer-cdmx .title,
.footer-cdmx .subtitle,
.footer-cdmx .link,
.footer-cdmx .follow {
  font-size: 18px;
  font-style: normal;
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
  line-height: normal;
  padding-top: 12px;
  padding-bottom: 24px;
}

.footer-cdmx .subtitle {
  padding: 0px;
}

.footer-cdmx .link {
  padding-top: 0px;
  padding-bottom: 24px;
}

.footer-cdmx ul {
  padding-left: 0px;
}

.footer-cdmx li {
  list-style: none;
  font-size: 16px;
  font-style: normal;
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
  line-height: 24px;
}

.footer-cdmx .footer-link {
  font-size: 18px;
  font-style: normal;
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.footer-cdmx .follow {
  padding-bottom: 16px;
}

.placa {
  background-color: #fff;
  height: 48px;
  display: flex;
  align-items: center;
}

.placa .border-placa {
  width: 100%;
  height: 42px;
  background-image: url("./images/placa_fondo.svg");
  display: flex;
  align-items: center;
}

.placa .content-placa {
  width: 100%;
  height: 36px;
  background-image: url("./images/placa_centro.svg"),
    url("./images/placa_centro.svg");
  background-repeat: repeat-x;
  background-size: 65px 36px;
  background-position: left top, 32.5px top;
}

.font-patria {
  font-family: "Patria", sans-serif;
  font-weight: 400;
}

.font-montserrat-normal {
  font-family: "MontserratVar", sans-serif;
  font-weight: 400;
}

.font-noto-normal {
  font-family: "NotoSans", sans-serif;
  font-weight: normal;
}

.font-noto-semibold {
  font-family: "NotoSans", sans-serif;
  font-weight: 600;
}

#drop-area {
  border-radius: 8px;
  border: 1px solid #dab9c2;
  padding: 30px;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s;
}
#drop-area.hover {
  background-color: #f0f0f0;
}

#my-button {
  display: inline-flex;
  padding: 12px 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid #cc7a88;
  background: #cc7a88;
  color: #391821;
  font-family: "MontserratVar", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.title-box {
  width: 100%;
  margin-left: 0;
}

.subtitle-box {
  width: 100%;
  margin-right: 0;
}

@media (min-width: 768px) {
  .title-box {
    width: 450px;
    margin-left: 127px;
  }

  .subtitle-box {
    width: 354px;
    margin-right: 290px;
  }

  .bg-header .title {
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 45px;
  }

  .bg-header .subtitle {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }
}

.img-responsive-sm {
  width: auto;
  height: auto;
}

@media (max-width: 576px) {
  .img-responsive-sm {
    width: 150px;
  }

  .bg-header {
    height: 160px;
  }

  .bg-cdmx {
    padding: 0px 24px;
  }
}
