@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
  margin: 0;
}

.border1 {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.splide__pagination {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  margin-block: 15rem;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 20px;
  /* Cambia este valor para ajustar la redondez */
}

#modalImage {
  width: 90%;
  height: 50%;
  object-fit: cover;
}

#modalImageNoInicio {
  width: 80%;
  height: 70%;
  object-fit: cover;
}

/* The Close Button */
.close {
  color: #000000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.imageBackground {
  background-image: url("../../public/images/home/homeweb.png");
  background-repeat: no-repeat;
  /**background-position: center;**/
  /**NUEVO JULIO 24**/
  background-position: right center;
  /* Ajusta la posición hacia la derecha */
  /**fin**/
  background-size: contain;
}

/*========== HEADER ==========*/
.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
  justify-content: space-between;
}

.header__search {
  display: flex;
  padding: 1rem 0.9rem;
  background-color: #d9f9ff;
  border-radius: 0.25rem;
  border-radius: 20px;
  margin: 0% auto;
  /* Centra en medio de la página */
  width: 80%;
}

.header__input {
  font-size: 1.8rem;
  padding-left: 5rem;
  width: 100%;
  border: none;
  outline: none;
  margin-left: 15px;
  background-color: #d9f9ff;
  border-left: 2px solid #009bb8;
}

.header__input::placeholder {
  font-family: var(--body-font);
  color: var(--text-color);
}

.header__icon,
.header__toggle {
  padding: 0 2rem;
  margin-block: auto;
  font-size: 1.8rem;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.float:hover {
  text-decoration: none;
  color: #25d366;
  background-color: #fff;
}

.my-float {
  margin-top: 16px;
}

a {
  text-decoration: none;
  /* Remove default underline */
  border: none;
  /* Remove default border */
}

a:hover {
  color: inherit;
  /* Keep the default text color on hover */
  text-decoration: none;
}

/*========== SWIPER ==========*/

.containderCard {
  width: 320px;
  margin-right: 0.5rem;
  /* Cambiado a margin-right */
  overflow: hidden;
  border-radius: 2rem;
  flex-shrink: 0;
  /* Asegura que las tarjetas no se reduzcan */
}

/* El sub contenido de la tarjeta */
.subContentCard {
  width: 100%;
  height: 27rem;
  border-radius: 2rem;
  background-color: #2e3532;
}

/* Estilo para la imagen de la tarjeta */
.cardImage {
  width: 100%;
  height: 15rem;
}

/* Imagen dentro de la tarjeta */
.cardImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cambia a cover para mantener la proporción */
}

.cardImageMentor {
  width: 100%;
  height: 15rem;
  overflow: hidden;
  /* Para ocultar cualquier parte de la imagen que exceda el contenedor */
  border-top-left-radius: 0px;
  /* Borde redondeado en la esquina superior izquierda */
}

.cardImageMentor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardContent {
  width: 100%;
  height: 12rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background-color: #2e3532;
}

.cardContent form {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
  flex-direction: column;
}



.bg-recuperar {
  background-image: url("../../public/images/wido/login.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.inputForm {
  width: 100%;
  display: block;
  margin-top: 1rem;
  background-color: transparent;
  border: none;
  border-bottom: #dffaff thin solid;
  outline: none;
  padding: 0.2rem 0;
  font-size: 0.9rem;
  color: #dffaff;
}

.buscador {
  position: absolute;
  z-index: 10;
}

.imageBuscador {
  width: 1rem;
  margin-inline: 0.75rem;
}

.container-form {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  transition: all 0.5s ease-out;
}

.formulario {
  width: 1000px;
  padding: 1rem;
  margin: 2rem;
  background-color: rgba(6, 6, 6, 0.7);
  border-radius: 20px;
  display: flex;
}

.create-account {
  padding: 2.7rem 0;
  font-size: 1.7rem;
  color: #dffaff;
}

.datos {
  width: 70%;
  margin: auto;
  background-color: transparent;
  border: none;
  border-bottom: #dffaff thin solid;
  text-align: center;
  outline: none;
  padding: 0.2rem 0;
  font-size: 0.8rem;
  color: #dffaff;
}

.boton {
  width: 40%;
  margin: auto;
  padding: 0.7rem;
  border-radius: 2rem;
  background-color: white;
  font-weight: 600;
  margin-top: 3rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: #222;
  margin-left: 50%;
}

.boton:hover {
  background-color: #4f7cac;
  color: #fec400;
  /* Color de fondo azul más oscuro */
}

/************************************ */

.formulario input::placeholder {
  color: white;
  /* Color del texto del placeholder */
}

.cuenta-gratis {
  color: white;
}

.sign-in-btn {
  color: #ffd800;
}

.left-content {
  width: 50%;
  border-right: 2px solid #dffaff;
  text-align: center;
  /* Aquí estableces el borde derecho de color rojo */
}

.right-content {
  width: 50%;
  padding: 2.7rem 0;
  margin-left: 40px;
}

h3 {
  margin-bottom: 40px;
}

.intereses-container label {
  display: block;
  margin-bottom: 0.5rem;
  margin-left: 120px;
  margin-top: 15px;
}

.bottom-content {
  position: absolute;
  bottom: 3rem;
  right: 5rem;
  text-align: right;
}

.cuenta-gratis,
.sign-in-btn {
  display: inline-block;
  margin-right: 10px;
  /* Espacio entre los elementos si es necesario */
}

.intereses-container input {
  background-color: #dffaff;
}

#pdfModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#pdfContent {
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  background-color: white;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.contentMentor {
  margin-bottom: 3rem;
  padding: 2.5rem;
}

.contentMentores {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
}

.bottonBG {
  width: 90%;
  background: #fac400;
}

.textMentor {
  margin-inline: 1rem;
}

.fechaContent {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.fechaContent :is(p) {
  height: 1.4rem;
  cursor: pointer;
  text-align: center;
  border-radius: 0.4rem;
  padding-inline: 0.5rem;
  margin: 0.5rem;
  color: #ffffff;
  background: #2e3532;
}

.button-modal {
  background: #25d366;
  width: 7rem;
  border-radius: 1rem;
  height: 2rem;
  color: #dffaff;
  margin-inline: 2rem;
}

/*NUEVOS ESTILOS JULIO 24 *********************************************************************************************************/
/* Estilo de fondo y sombra al hacer hover */
.hover-item {
  transition: background-color 0.3s, box-shadow 0.3s;
}

.hover-item:hover {
  background-color: #edf2f7;
  /* Color de fondo al hacer hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Sombra al hacer hover */
}

/*CALENDARIO*/
.mentor-container {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 20px 20px 0px 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  margin-bottom: 5px;
}

.mentor-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mentor-profile {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 15px;
}

.mentor-photo {
  width: 80px; /* Ajusta el tamaño según necesites */
  height: 80px; /* Ajusta el tamaño según necesites */
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #007bff; /* Borde azul alrededor de la foto */
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-name {
  margin-left: 20px; /* Espaciado entre foto y nombre */
  font-size: 21px;
  font-weight: bold;
  color: #333; /* Color de texto */
  margin-top: 10px;
}

.mentor-details {
  margin-left: 70px; /* Espaciado entre foto y nombre */
  font-size: 15px;
  font-weight: bold;
  color: #555; /* Color de texto */
}

.specialty-button,
.portal-button {
  margin: 5px;
  padding: 8px 15px; /* Mayor tamaño de botones */
  border-radius: 25px; /* Bordes más redondeados */
  cursor: pointer;
  background-color: #007bff; /* Color de fondo del botón */
  color: white; /* Color de texto */
  border: none; /* Sin borde */
  transition: background-color 0.3s, transform 0.2s; /* Transición para hover */
}

.specialty-button:hover,
.portal-button:hover {
  background-color: #0056b3; /* Color al pasar el ratón */
  transform: scale(1.05); /* Efecto de aumento en hover */
}

.agenda-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.agenda {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 800px;
}

.current-date {
  margin-bottom: 10px;
  font-size: 1.5em; /* Aumentar tamaño de fuente */
  text-align: center;
  color: #007bff; /* Color del texto */
}

.navigation {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.navigation button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.9em;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s; /* Transición para hover */
}

.navigation button:hover {
  background-color: #0056b3;
  transform: scale(1.05); /* Efecto de aumento en hover */
}

.header {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #007bff;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.cell {
  background-color: #e8f4f8;
  border: 1px solid #b3e5fc;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s; /* Transición para hover */
  border-radius: 10px;
  text-align: center;
  color: #555;
}

.cell:hover {
  background-color: #b3e5fc;
  transform: scale(1.02); /* Efecto de aumento en hover */
}

.header-cell {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.time {
  font-size: 0.9em;
  margin-top: 5px;
}

.espacioAgenda {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

@media (max-width: 868px) {
 .cell{
  font-size: 13px;
  padding: 5px;
 }
 .agenda{
  width: 127%;
}
}

@media (max-width: 480px) {
  .agenda{
    width: 127%;
  }
  .cell{
    font-size: 10px;
    padding: 1px;
   }
  .current-date {
      font-size: 0.9em; /* Tamaño de fuente reducido para la fecha actual */
  }

  .navigation button {
      padding: 4px 6px; /* Ajustar el tamaño del botón */
      font-size: 0.6em; /* Ajustar tamaño de fuente */
  }
}



.logo-wido-rutaAprendizaje {
  width: 150px;
  /* Ajusta el tamaño según sea necesario */
  height: auto;
  /* Mantiene la proporción de la imagen */
  position: relative;
  z-index: 20;
}

.icon-circle-ruta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #D7F9FF;
  border-radius: 50%;
  margin-right: 1rem;
  /*margin-bottom: -10rem;*/
  box-shadow: 10px 1px 4px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
  /* Asegura que esté encima del .icon-content */
}

.nav__iconSub {
  font-size: 1.9rem;
  color: #000;
}

.icon-content-ruta {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  padding: 1rem 3rem;
  border-radius: 40px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  width: 320px;
  /* Ancho fijo */
  word-wrap: break-word;
  /* Rompe las palabras largas para que no desborden */
  z-index: 1;
  /* Asegura que esté debajo del .icon-circle */
}

.contenedor-iconos-ruta {
  position: relative;
  /* Establece el contexto de apilamiento */
  display: flex;
  /* Asegúrate de que el contenedor sea un flexbox */
  flex-wrap: wrap;
  /* Permite que los íconos se ajusten si es necesario */
  gap: 30px 260px;
  /* Espaciado entre íconos primer parametro (30) aplica a espacio vertical, segundo parametro aplica a espacio horizontal*/
  margin-top: 0rem;
  /* Ajusta según sea necesario */
  background-color: #c9dbe1;
  padding: 1rem 1rem;
  border-top-left-radius: 45px;
  /* Ajusta el valor según tu diseño */
  border-top-right-radius: 45px;
  /* Ajusta el valor según tu diseño */
  border-bottom-left-radius: 45px;
  /* Ajusta el valor según tu diseño */
  border-bottom-right-radius: 45px;
  /* Ajusta el valor según tu diseño */
}






.navbar-creditos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  border-radius: 0 0 15px 15px;
  /* Bordes redondeados en la parte inferior */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Efecto de sombra */
  z-index: 1000;
  /* Asegúrate de que esté encima de otros elementos */
}

.highlighted-bottom-border-creditos {
  border-bottom: 3px solid #f6ff36;
  /* Ajusta el grosor y color del borde como desees */
  padding-bottom: 5px;
  /* Añade un poco de relleno en la parte inferior para el borde */
}

.text-small-creditos {
  font-size: 1.70rem;
  /* Ajusta según tus necesidades */
}

/*CAMBIOS SEP-DIC****************/

/*Tablas administradores y mentores*/

.btn-primary {
  background-color: #3498db;
  /* Cambia este color por el que prefieras */
  border-color: #3498db;
  /* Cambia este color por el que prefieras */
  color: white;
  /* Cambia el color del texto si es necesario */
}

.btn-primary:hover {
  background-color: #4F7CAC;
  /* Cambia el color al pasar el mouse */
  border-color: #4F7CAC;
  /* Cambia el color al pasar el mouse */
}


/**crearAsignacion.php**/

.form-container-crearAsignacion {
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.form-group-crearAsignacion {
  margin-bottom: 15px;
}

.label-crearAsignacion {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.select-crearAsignacion {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
}

.section-crearAsignacion {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}




/***FIN**/

@media screen and (max-width: 1440px) {
  .imageBackground {
    background-image: url("../../public/images/home/homeweb.png");
    background-repeat: no-repeat;
    background-size: 70%;
  }

  .containderCard {
    width: 305px !important;
    margin-inline: 0.5rem !important;
    overflow: hidden;
    border-radius: 2rem;
  }

  .subContentCard {
    width: 100%;
    height: 27rem;
    border-radius: 2rem;
    background-color: #2e3532;
  }
}

@media only screen and (max-width: 640px) {
  .header__search {
    display: flex;
    padding: 1rem 0.9rem;
    background-color: #d9f9ff;
    border-radius: 0.25rem;
    border-radius: 20px;
    margin: 0% auto;
    /* Centra en medio de la página */
    width: 95%;
  }

  .header__input {
    font-size: 1.4rem;
    padding-left: 1rem;
    width: 100%;
    border: none;
    outline: none;
    background-color: #d9f9ff;
    border-left: 2px solid #009bb8;
  }

  .header__icon,
  .header__toggle {
    padding: 0 1rem;
    margin: auto 0;
    font-size: 1.8rem;
  }

  .subContentCard {
    width: 23rem;
  }

  h1 {
    text-align: center;
  }

  .logo-wido {
    margin-inline: auto;
  }

  .container-form {
    height: auto;
    flex-direction: row;
  }

  .formulario {
    flex-direction: column;
  }

  .left-content {
    width: 100%;
    border-right: none;
  }

  .right-content {
    width: 100%;
    padding: 0;
  }

  .intereses-container label {
    margin-left: 4rem;
  }

  .bottom-content {
    bottom: 0.5rem;
  }

  .boton {
    margin-left: 20%;
  }

  #modalImage {
    width: 50%;
    height: 10%;
    object-fit: cover;
  }

  #modalImageNoInicio {
    width: 50%;
    height: 40%;
    object-fit: cover;
  }
}

/* For small devices */
@media only screen and (max-width: 450px) {
  .imageBackground {
    background-image: url("../../public/images/home/portadamobil.png");
  }

  .contentMentores {
    flex-direction: row;
  }

  .containderCard {
    overflow: hidden;
    border-radius: 2rem;
  }

  .swiper-button-next {
    display: none !important;
  }

  .swiper-button-prev {
    display: none !important;
  }

  .subContentCard {
    width: 100%;
    height: 27rem;
    border-radius: 2rem;
    background-color: #2e3532;
  }

  .card__data {
    padding: 1rem;
  }

  .imageBuscador {
    width: 2rem;
    height: 2rem;
  }

  .imagenContenedor {
    width: 2rem;
    height: 2rem;
  }

  #modalImage {
    width: 50%;
    height: 10%;
    object-fit: cover;
  }

  #modalImageNoInicio {
    width: 50%;
    height: 40%;
    object-fit: cover;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__container {
    max-width: 1120px;
  }

  .swiper-button-prev {
    left: -1rem;
  }

  .swiper-button-next {
    right: -1rem;
  }
}