@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *:after, *:before {
	box-sizing: border-box;
}
	

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

/*Titulo Fecha*/
.titulo {
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 60px;
  font-family: 'Oswald', sans-serif;
  border-bottom: 3px solid #3739be;
  width: 800;

  font-size: 28px;
  color: #3739be;
  font-weight: 600;
  letter-spacing: -1px;
  position: relative; /**/
  display: flex;
  align-items: center;
  padding-left: 30px;

  z-index: 1;
}

.titulo::before,.titulo::after {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 0px;
  background-color: #3739be;
}

.titulo::before {
  width: 18px;
  height: 18px;
  background-color: #3739be;
}

.titulo::after {
  width: 18px;
  height: 18px;
  animation: pulse 1s linear infinite;
}

/*Pasos cita*/

/*Pasos*/
.mc-stepper {
  margin: 80px; /* Ajusta el valor según tus preferencias */
}

.mc-stepper__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 0
}

.mc-stepper__item,.mc-stepper__link {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.mc-stepper__item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative
}

.mc-stepper__item:after,.mc-stepper__item:before {
    background-color: #999;
    content: "";
    height: .125rem;
    position: absolute;
    top: 11px;
    width: calc(50% - 1.25rem);
    z-index: 1
}

.mc-stepper__item:before {
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    left: 0
}

.mc-stepper__item:after {
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    right: 0
}

.mc-stepper__item:first-child:before,.mc-stepper__item:last-child:after {
    content: none
}

.mc-stepper__item--current .mc-stepper__indicator,.mc-stepper__item--validated .mc-stepper__indicator {
    border-color: #31cbf2 /*Delineado numero*/
}

.mc-stepper__item--current .mc-stepper__detail,.mc-stepper__item--validated .mc-stepper__detail {
    font-weight: 600
}

.mc-stepper__item--current:before {
    background-color: #999 /*Color linea*/
}

.mc-stepper__item--current .mc-stepper__indicator {
    background-color: #31cbf2; /*Fondo numero*/
    color: #fff
}

.mc-stepper__item--current .mc-stepper__label {
    color: #000
}

.mc-stepper__item--validated:before,.mc-stepper__item--validated:not(.mc-stepper__item--current):after {
    background-color: #7adaf3
}

.mc-stepper__link {
    height: 100%;
    text-decoration: none;
    width: 100%
}

.mc-stepper__link:focus .mc-stepper__label,.mc-stepper__link:hover .mc-stepper__label {
    color: #31cbf2
}

.mc-stepper__indicator {
    font-size: .875rem;
    line-height: 1.1428571429;
    font-weight: 600;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid #999;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 1.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: .5rem;
    position: relative;
    width: 1.5rem;
    z-index: 2
}

.mc-stepper__icon {
    fill: #31cbf2;
    max-width: 100%
}

.mc-stepper__detail {
    font-size: .875rem;
    line-height: 1.2857142857;
    color: #666;
    text-align: center;
    width: auto
}

.mc-stepper__title {
    display: none;
    color: #31cbf2
}

.mc-stepper--compact .mc-stepper__item {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-bottom: 1.25rem
}

.mc-stepper--compact .mc-stepper__item:after,.mc-stepper--compact .mc-stepper__item:before {
    bottom: 0;
    border-radius: 6px;
    height: .25rem;
    top: auto
}

.mc-stepper--compact .mc-stepper__item:after {
    width: 100%
}

.mc-stepper--compact .mc-stepper__item:before {
    z-index: 2;
    width: calc(var(--current)*100%/var(--steps))
}

.mc-stepper--compact .mc-stepper__indicator,.mc-stepper--compact .mc-stepper__item:not(.mc-stepper__item--current) {
    display: none
}

.mc-stepper--compact .mc-stepper__detail {
    text-align: left
}

.mc-stepper--compact .mc-stepper__title {
    display: block;
    margin-bottom: .25rem
}

@media screen and (max-width: 679px) {
    .mc-stepper--shrinked .mc-stepper__item {
        -webkit-box-align:start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        padding-bottom: 1.25rem
    }

    .mc-stepper--shrinked .mc-stepper__item:after,.mc-stepper--shrinked .mc-stepper__item:before {
        bottom: 0;
        border-radius: 6px;
        height: .25rem;
        top: auto
    }

    .mc-stepper--shrinked .mc-stepper__item:after {
        width: 100%
    }

    .mc-stepper--shrinked .mc-stepper__item:before {
        z-index: 2;
        width: calc(var(--current)*100%/var(--steps))
    }

    .mc-stepper--shrinked .mc-stepper__indicator,.mc-stepper--shrinked .mc-stepper__item:not(.mc-stepper__item--current) {
        display: none
    }

    .mc-stepper--shrinked .mc-stepper__detail {
        text-align: left
    }

    .mc-stepper--shrinked .mc-stepper__title {
        display: block;
        margin-bottom: .25rem
    }
}

.mc-stepper--shrinked--force .mc-stepper__item {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-bottom: 1.75rem
}

.mc-stepper--shrinked--force .mc-stepper__item:after,.mc-stepper--shrinked--force .mc-stepper__item:before {
    bottom: 0;
    border-radius: 6px;
    height: .25rem;
    top: auto
}

.mc-stepper--shrinked--force .mc-stepper__item:after {
    width: 100%
}

.mc-stepper--shrinked--force .mc-stepper__item:before {
    z-index: 2;
    width: calc(var(--current)*100%/var(--steps))
}

.mc-stepper--shrinked--force .mc-stepper__item:not(.mc-stepper__item--current) {
    display: none
}

@media screen and (min-width: 680px) {
    .mc-stepper--shrinked--force .mc-stepper__item:first-child:before,.mc-stepper--shrinked--force .mc-stepper__item:last-child:after {
        content:""
    }
}

.mc-stepper--shrinked--force .mc-stepper__indicator {
    display: none
}

.mc-stepper--shrinked--force .mc-stepper__detail {
    text-align: left
}

.mc-stepper--shrinked--force .mc-stepper__title {
    display: block;
    margin-bottom: .25rem
}

.mc-stepper__label .optional {
    text-transform: capitalize;
    font-weight: 200
}

.communication-settings-consent {
    margin-bottom: 2rem
}




/*Calendario*/
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
}

.calendario {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
  
.calendario-container {
  /*display: none;*/
  text-align: center;
  justify-self: center;
  justify-content: space-between;
  margin-top: 100px;
  margin: 20px auto;
  display: flex; /**/
  flex-direction: column;
  width: 400px; /*50%*/
  max-width: 400px;
  height: auto;

  background-color: whitesmoke; /*#FDFDFD*/
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  padding: 1rem;
  border-color: 1px black;
  margin-right: 50px; /* Espacio entre calendario-container y horaContainer */
}

.calendario-container.visible {
  display: block; 
}
  
.calendario-header,
#calendario {
  display: none;
} 

.calendario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #31cbf2; /*#0b3f88*/
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/*Flechas meses y años*/
.calendario-header button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  transition: color 0.3s;
}

.calendario-header button:hover {
  color: #a8c0ff; 
}
  
#mesYAnio {
  margin: 0;
}
  
#calendario {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
  
.calendario-semana {
  color: #686464;
  justify-self: center;
}

.calendario-dia.current-day  {
  color: black;
  border-color: #31cbf2;
}


.calendario-dia {
  border: 0;
  padding: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 500; /* Negrita */
  border: 2px solid transparent;
  background-color: transparent;
  cursor: pointer;
}

.calendario-dia:focus {
  outline: 0;
  color: #31cbf2;
  border: 2px solid #31cbf2;
}

.calendario-semana,
.calendario-dia {
  flex: 1; 
  height: 30px;
  line-height: 30px;
  text-align: center;
  /*border: 1px solid #ccc;*/
  margin: 2px;
  overflow: hidden;
  white-space: nowrap;
  justify-self: center;
}
  
.calendario-dia {
  cursor: pointer;
  transition: background-color 0.3s;
}
  
.calendario-dia:hover {
  background-color: #eee;
}
  
.calendario-dia.seleccionado {
  background-color: #31cbf2;
  color: #fff;
}
  
.fecha-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
  
#fechaSeleccionada {
  flex: 1;
  padding: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
  
#openCalendarBtn {
  margin-left: 10px; 
}
  
.calendario-dia.fin-de-semana {
  color: #B5B2B2;
  cursor: not-allowed;
}

.calendario-dia.pasado {
  color: #B5B2B2;
  cursor: not-allowed;
}

.horaContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#horaContainer {
  display: none;
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
}

#horaContainer.visible {
  display: flex;

  background-color: whitesmoke; /*#FDFDFD*/
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  padding: 1rem;
  border-color: 1px black;
}

.horas-title {
  font-weight: bold;
  margin-bottom: 10px;
}

/*Boton horas disponibles*/
.hora-button {
  font-family: 'Nunito', sans-serif;
  margin: 5px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  width: 150px; 

  background-color: rgb(226, 224, 224);
  border-color: transparent;
  transition: background-color 0.3s;
}

.hora-button:hover {
  font-family: 'Nunito', sans-serif;
  color: white;
  background-color: #31cbf2;
  border-color: transparent
}

.hora-button.seleccionada {
  background-color: #31cbf2; 
  color: #fff; 
}

/*Boton siguiente*/
.btn-siguiente {
  position: fixed;
  bottom: 50px;
  right: 150px;
  background-color: #31cbf2;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-siguiente:hover {
  background-color: #29b4d6;
}


.submit {
  position: fixed;
  bottom: 50px;
  right: 150px;
  background-color: #31cbf2;
  border-color: transparent;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.submit:hover {
  background-color: #29b4d6;
  cursor: pointer;
}

@keyframes pulse {
  from {
      transform: scale(0.9);
      opacity: 1;
  }

  to {
      transform: scale(1.8);
      opacity: 0;
  }
}

/*RESPONSIVE*/

@media (max-width: 768px) {
  .titulo {
    font-size: 24px;
    margin: 20px;
  }

  .calendario-container {
    width: 90%;
    max-width: none;
    margin: 20px auto;
  }

  .calendario-header button {
    font-size: 20px;
  }

  #calendario {
    grid-template-columns: repeat(5, 1fr);
  }

  .horaContainer.visible {
    flex-direction: column;
  }

  .hora-button {
    width: 100%;
    font-size: 12px; /* Ajusta el tamaño de la fuente para los botones de horas */
  }

  .btn-siguiente,
  .submit {
    position: relative;
    bottom: 10px; /* Baja un poco el botón siguiente para evitar superposición */
    right: auto;
    margin: 20px auto;
  }

  /* Ajusta el tamaño de los números del calendario */
  .calendario-dia {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 12px;
  }

  #calendario {
    grid-template-columns: repeat(7, 1fr); /* Cambia a 7 columnas */
    grid-auto-rows: minmax(30px, auto); /* Ajusta el alto de las filas */
  }

  .calendario-semana,
  .calendario-dia {
    box-sizing: border-box; /* Asegura que el ancho y alto incluyan el relleno y el borde */
    width: 100%;
    padding: 10px; /* Ajusta el relleno para separar los elementos */
  }
  .calendario-semana {
    font-size: 10px; /* Ajusta el tamaño de fuente para los nombres de los días */
  }


  .horaContainer.visible {
    display: flex;
    opacity: 1;
  }

  .horaContainer {
    position: absolute;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    top: 50px; /* Ajusta la posición vertical según sea necesario */
    left: 0;
    right: 0;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    padding: 1rem;
    border-color: 1px black;
    z-index: 2; /* Asegura que el cuadro de horas esté en la capa superior */
  }

  .center-container {
    position: relative; /* Añade esta regla para posicionar elementos secundarios relativos a este contenedor */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
  } 
  
}

/*Responsive*/
@media screen and (min-width: 680px) {
  
}

@media screen and (max-width: 679px) {
  
}

