/* Estilos para el fondo oscuro del modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Fondo semitransparente */
  }
  
  /* Contenedor del contenido del modal */
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
  }

  .hlogin, .hsignup{
    color: #da252e;
    font-weight: bold;
  }
  
  /* Botón cerrar */
  .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  .close:hover {
    color: black;
  }
  
  /* Estilos para formularios */
  input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  .enter, .renter {
    background-color: #162640;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
  }
  .enter:hover, .renter:hover {
    background-color: #1b3d73;
  }
  
  /* Enlaces para cambiar entre login y signup */
  .switch-form {
    text-align: center;
    margin-top: 10px;
  }
  .switch-form a {
    color: #0066cc;
    cursor: pointer;
    text-decoration: none;
  }
  .switch-form a:hover {
    text-decoration: underline;
  }
  