.shadow-custom {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.countdown-unit {
  font-size: 0.8rem;
}

.date-label {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.date-value {
  font-size: 0.9rem;
}

.image-slider {
  position: relative;
  overflow: hidden;
}

.image-slider-container {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.image-slider-item {
  flex: 0 0 100%;
}

.image-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.image-slider-nav.prev {
  left: 10px;
}

.image-slider-nav.next {
  right: 10px;
}

.thumbnail-container {
  position: relative;
  overflow: hidden;
}

.thumbnail-slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.thumbnail {
  flex: 0 0 100px;
  height: 100px;
  margin-right: 10px;
  cursor: pointer;
}

.thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  color: #000;
  border-radius: 50%;
}

.thumbnail-nav:hover,
.thumbnail-nav:focus {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  text-decoration: none;
}

.thumbnail-nav.prev {
  left: 0;
}

.thumbnail-nav.next {
  right: 0;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.9);
  border: none;
}

.modal-body-img {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
}

.modal-image-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1050;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1050;
}

.modal-nav.prev {
  left: 15px;
}

.modal-nav.next {
  right: 15px;
}

/* Botón "Regístrate" verde */
.btn-registro {
  background-color: #28a745;
  color: white;
  border: none;
}

.btn-registro:hover {
  background-color: #218838;
  color: white;
}

/* Botón "Inicia Sesión" fondo azul */
.btn-sesion_custom {
  background-color: #192843;
  color: white !important;
  border: none;
}

.btn-sesion_custom:hover {
  color: #192843c0;
}

/* Fondo semi-transparente cuando el modal está abierto */
.modal-custom {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro transparente */
}

/* Efecto de aparición */
.fade-custom {
  transition: opacity 0.3s ease;
}

/* Centrado vertical y horizontal */
.modal-dialog-custom {
  position: relative;
  margin: 1.75rem auto;
  max-width: 1200px;
  width: 90%;
  pointer-events: none; /* sólo el contenido puede interactuar */
}

/* Forzar el centrado en pantalla */
.modal-dialog-centered-custom {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
  justify-content: center;
}

/* Contenedor principal del contenido */
.modal-content-custom {
  background-color: #fff;
  border-radius: 10px;
  padding: 0; /* Ahora sin padding externo */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  pointer-events: auto;
  width: 100%;
  overflow: hidden; /* Para que la X quede adentro */
}

/* Contenido del login */
.modal-content-login-custom {
  background-color: #f9f9f9;
}

/* Cuerpo del modal */
.modal-body-custom {
  padding: 20px;
  position: relative; /* Importante para que .close se posicione dentro */
}

/* Cuerpo específico para login */
.modal-body-login-custom {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  position: relative; /* Importante también aquí */
}

/* Botón de cierre "X" dentro del body */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: .5;
  background: none;
  border: none;
  cursor: pointer;
}

.close:hover {
  color: #000;
  text-decoration: none;
  opacity: .75;
}

/* Contenedor para centrar el iframe */
.iframe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.iframe-container iframe {
  width: 90%;
  height: 600px;
  border: none;
  max-width: 1000px;
}

.h2-custom {
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #192843;
  text-align: center;
}

.p-custom {
  margin-top: 20px;
  text-align: center; 
  font-weight: bold; 
  font-size: 16px;
}  