body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: #2c3e50;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}


.botones-modelos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-modelo {
  padding: 0.6rem 1.2rem;
  border: 2px solid #3498db;
  background: white;
  color: #3498db;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-modelo:hover,
.btn-modelo.activo {
  background-color: #3498db;
  color: white;
}



.seccion-renta {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.seccion-renta h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #2c3e50;
}

.botones-modelos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-modelo {
  padding: 0.6rem 1.2rem;
  border: 2px solid #3498db;
  background: white;
  color: #3498db;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-modelo:hover,
.btn-modelo.activo {
  background-color: #3498db;
  color: white;
}

/* ---- Contenido principal de la bicicleta ---- */

.contenedor-bicicleta {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.contenedor-bicicleta img {
  width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .contenedor-bicicleta img {
    width: 100%;
    max-width: 100%; 
  }
}

.detalles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 500px;
}

.detalles h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.detalles ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #555;
  font-size: 1rem;
}

.precio {
  font-weight: bold;
  font-size: 1.2rem;
  color: #27ae60;
  margin-bottom: 0.5rem;
}

.disponibilidad {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.disponible {
  color: #2ecc71;
}

.no-disponible {
  color: #e74c3c;
}

.btn-rentar {
  justify-content: center;
  align-self: flex-start;
  padding: 0.85rem 1.8rem;
  font-size: 18px;
  background-color: #2ecc71;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: auto;
  text-decoration: none;
}

.btn-rentar:hover {
  background-color: #27ae60;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .contenedor-bicicleta {
    flex-direction: column;
    align-items: center;
  }

  .detalles {
    align-items: center;
    text-align: center;
  }

  .detalles ul {
    text-align: left;
  }

  .btn-rentar {
    align-self: center;
  }

 
}



/* Layout horizontal */
.contenedor-bicicleta-completo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.contenedor-bicicleta {
  flex: 2;
  min-width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.modulo-autoevaluacion {
  flex: 1;
  min-width: 280px;
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  max-height: 600px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.barra-progreso {
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  margin: 10px 0 20px;
  overflow: hidden;
}

#progreso-barra {
  height: 100%;
  width: 0%;
  background: #28a745;
  transition: width 0.3s ease;
}

.checklist {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.checklist li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frases-promocionales {
  background-color: #e0f7fa;
  border-left: 5px solid #00796b;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.frases-promocionales p {
  margin: 0 0 8px;
  font-size: 1rem;
  font-style: italic;
  color: #004d40;
}

.frases-promocionales p:last-child {
  margin-bottom: 0;
}



/* Título */
.Contrato.Section {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin: 20px 0;
  font-weight: bold;
}

.pdf-steps {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.step {
  background-color: #f0f4f8;
  color: #333;
  padding: 15px 20px;
  border-radius: 10px;
  width: 180px;
  text-align: center;
  border: 1px solid #d0d7de;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.step-text {
  font-size: 16px;
  font-weight: 500;
}

/* Contenedor de botones centrado */
.pdf-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-descargar {
  padding: 12px 22px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-descargar:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}
@media (max-width: 767px) {
  .Contrato.Section.titledownload{
    font-size: 20px;
  }
  .pdf-buttons { /* Asegúrate de que el contenedor esté aquí */
    display: flex;
    flex-direction: column; /* Los botones se apilan en columna */
    gap: 10px; /* Espaciado entre los botones */
    width: 50%; /* Asegura que el contenedor ocupe todo el ancho */
    text-align: center;
    justify-self: center
  }

  .btn-descargar {
    width: 100%; /* Los botones ocupan todo el ancho disponible */
    margin: 0; /* Elimina cualquier margen por defecto */
    
  }
}

/* Terminos y condiciones */

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  width: 80%;
  max-width: 800px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 80vh;
  text-align: justify;
}

.modal-content h2 {
  text-align: center;
  color: #2c3e50;
  margin-top: 0;
}

#acceptButton {
  display: block;
  margin: 20px auto 0;
  padding: 10px 25px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#acceptButton:hover {
  background-color: #219150;
}

.hidden {
  display: none;
}



/* ===== BOTÓN AL FINAL PARA VER MANTENIMIENTO ===== */
.boton-mantenimiento-seccion {
  text-align: center;
  margin: 25px 0 10px;
}

.btn-ver-mantenimiento {
  display: inline-block;
  background-color: #0277bd;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(2, 119, 189, 0.3);
}

.btn-ver-mantenimiento:hover {
  background-color: #01579b;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(2, 119, 189, 0.4);
}

/* Mensajer de Iniciar sesion antes de rentar una bicicleta */
.info-login-warning {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3cd; /* Color de fondo amarillo suave */
    color: #856404;  /* Color del texto marrón oscuro */
    border: 2px solid #ffeeba; /* Borde amarillo claro */
    font-size: 16px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  /* Sombra sutil */
    opacity: 0;  /* Inicialmente oculto */
    animation: fadeIn 1s ease-in-out forwards, borderPulse 1.5s infinite ease-in-out;  /* Añadimos animaciones */
}

.info-login-warning a {
    color: #856404;
    text-decoration: underline;
    font-weight: bold; /* Hacemos el enlace más destacado */
}

.info-login-warning a:hover {
    color: #6c4700;  /* Un tono más oscuro al pasar el mouse por encima */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* Inicia un poco más arriba */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Desliza a su posición final */
    }
}

@keyframes borderPulse {
    0% {
        border-color: #ffeeba;
    }
    50% {
        border-color: #ffa500; /* El borde se vuelve naranja en el centro de la animación */
    }
    100% {
        border-color: #ffeeba;
    }
}
