/*Importar fuentes de google*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*ESTILO DE LA PAGINA DE LOGIN*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:url(../img/pexels-seven11nash-380769.jpg);
    background-size: cover;
    background-position: center;
    margin:0; /*RESPONSIVE*/


}

.formulario {
    width: 90%;
    max-width: 400px;
    background:rgba(255,255,255,0.8);
    border-radius: 10px;
    color: black;
    padding: 30px 40px;
    box-shadow: 0 0 10px rgba(0, 0,0,1);
    margin: 20px auto;

}

.formulario h1{
    text-align: center;
    font-size: 36px;
}

.formulario .input-box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;

}

.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none; 
    border: 2px solid #4c4c4c;
    border-radius: 40px;
    font-size: 16px;
    color: black;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder{
    color: black;

}
.input-box i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;

}

.formulario .recuperarclave{
    display: flex;
    justify-content:space-between;
    font-size: 13px;
    margin: -15px 0 15px;
}
.recuperarclave label input{
    accent-color: #fff;
    margin-right: 3px;
}
.recuperarclave a{
    color: black;
    text-decoration: none;
}

.recuperarclave a:hover{
    text-decoration: underline;

}

.formulario .btn{
    width: 100%;
    height: 45px;
    background:#fff;
    border: none;   
    outline: none;
    border-radius: 40px;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    opacity: 0.7; /* Opacidad cuando no está seleccionado */
    transition: opacity 0.3s ease, box-shadow 0.3s ease;

}
.formulario .btn:hover {
    opacity: 1; /* Opacidad completa al pasar el ratón por encima */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Sombra del botón en hover */
}
/* Ajuste de tamaños en pantallas más pequeñas */
@media (max-width: 600px) {
    .formulario {
        width: 100%;
        padding: 20px;
    }

    .input-box input {
        padding: 15px 35px; /* Ajusta el espaciado interno para pantallas pequeñas */
    }

    .formulario h1 {
        font-size: 1.75rem; /* Reduce el tamaño del texto para pantallas pequeñas */
    }

    .formulario .btn {
        height: 40px; /* Ajusta el tamaño del botón */
        font-size: 14px; /* Reduce el tamaño del texto del botón */
    }
}


/*DISEÑO DE PAGINA PARA RESTABLECER CONTRASEÑA*/

.formulario .mensaje{
    text-align: center;
    font-size: 16px;
}
.formulario .VInicio{
    display: flex;
    margin: 15px 0 15px;
    color: black;
    text-decoration: none;
    font-weight: 600;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Sombra del texto */
    opacity: 0.7; /* Opacidad cuando no está seleccionado */
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
    
}

.formulario .VInicio:hover{
    text-decoration: underline;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
    opacity: 1;
}


/*Pagina registro*/
.user-details {
    margin: 20px 0;
}

.user-details p {
    font-size: 16px;
    margin-bottom: 10px;
}

.user-details strong {
    color: #333;
}

.user-details span {
    color: #555;
    font-weight: 600;
}

.extra-info .alerta {
    background-color: #fff9c4; /* Color pastel amarillo claro */
    color: #f57f17; /* Color del texto en amarillo oscuro para buen contraste */
    border: 1px solid #fdd835; /* Borde amarillo más intenso */
    border-radius: 5px; /* Bordes redondeados */
    padding: 15px; /* Espaciado interno */
    margin-bottom: 20px; /* Espaciado inferior */
    font-size: 16px; /* Tamaño de fuente */
    text-align: center; /* Alineación del texto */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra del contenedor */
}