/* Modal general */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  display: flex; /* Asegura flex */
}

#modalLoginRegistro {
  display: none;
}


/* Contenido del modal 
.modal-contenido {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fadeIn 0.4s ease-in-out;
  z-index: 10000;
}*/

/* Animación de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Botón cerrar (X) */
.cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.cerrar:hover {
  color: #000;
}

/* Estilo de formularios */
.modal-contenido h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #222;
  font-size: 22px;
}

/* Inputs estilizados */
.modal-contenido input[type="text"],
.modal-contenido input[type="email"],
.modal-contenido input[type="password"],
.modal-contenido input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-contenido input:focus {
  border-color: #39FF14;
  box-shadow: 0 0 5px rgba(247, 194, 0, 0.5);
  background-color: #fff;
  outline: none;
}

/* Botón de acción */
.modal-contenido button {
  width: 100%;
  padding: 12px;
  background-color: #39FF14;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.modal-contenido button:hover {
  background-color: #333;
  color: #fff;
}

/* Texto de cambio de formulario */
.modal-contenido p {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.modal-contenido a {
  color: #007BFF;
  text-decoration: none;
  font-weight: 900;
}

.modal-contenido a:hover {
  text-decoration: underline;
}

.btn-reseñas {
  background-color: #5A5A5A;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.btn-reseña-nueva {
  background-color: #5A5A5A;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.btn-reseña-nueva:hover {
    background-color: #39FF14;
}
