
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1d72b8; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    z-index: 1000;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content img {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.splash-content h1 {
    font-size: 3em;
    animation: fadeIn 1.5s ease-in-out;

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('/static/images/pexels-damianruitenga-4127694.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: -1; 
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%; 
}
.login-box h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5em;
}
.icono-usuario img {
    width: 80px; 
    height: 80px;
    margin-bottom: 10px;
}
.input-group {
    text-align: left;
    margin-bottom: 15px;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 0.9em;
}
.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.input-group select {
    cursor: pointer;
    background-color: white;
}
.recordarme {
    display: flex;
    align-items: center;
    margin-bottom: 15px;  
}
/* Estilos para reCAPTCHA */
.g-recaptcha {
    margin: 15px 0;
}
button {
    background-color: #1d72b8;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}
button:hover {
    background-color: #145a8d;
}
@media screen and (max-width: 600px) {
    .login-box {
        padding: 15px;
        border-radius: 5px;
        width: 95%; 
    }
    .login-box h2 {
        font-size: 1.2em; 
    }
    .icono-usuario img {
        width: 60px; 
        height: 60px;
    }
    .input-group input {
        padding: 6px; 
    }
    button {
        padding: 8px;
        font-size: 0.9em;
    }
}