* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('uniagustiniana.webp');
    background-size: cover;
    background-position: center;
}

form {
    width: 100%;
    max-width: 450px;
}


.form-login {
    background: rgba(255, 255, 255, 0.2); /* Fondo semi-transparente */
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); /* Sombra suave */
    backdrop-filter: blur(7px); /* Efecto de desenfoque detrás */
    -webkit-backdrop-filter: blur(7px); /* Compatibilidad con Safari */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil tipo vidrio */
    padding: 30px;
    width: 100%;
    color: #333;
    transition: all 0.3s ease;
}

/* efecto al pasar el mouse */
.form-login:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.form-login img {
    margin-bottom: 25px;
    max-width: 100%;
    height: auto;
}

.form-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}
.input-container {
    position: relative;
    width: 100%;
}

.input_grande {
    width: 100%;
    height: 50px;
    background-color: #e8f0fe;
    border: none;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.input_grande:focus {
    background-color: #d9e6fd;
    box-shadow: 0 0 0 2px rgb(224, 190, 116);
}

.input_grande::placeholder {
    color: #999;
}
.text_link {
    margin: 10px 0;
    text-align: left;
}

.text_link a {
    color: #004AAD;
    font-size: 14px;
    transition: color 0.3s;
}

.text_link a:hover {
    color: #E0BE74;
    text-decoration: underline;
}

.submit {
    width: 100%;
    height: 50px;
    background-color: #004AAD;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.submit:hover {
    background-color: #E0BE74;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.toggle-password svg {
    width: 24px;
    height: 24px;
    fill: #004AAD;
}

.toggle-password svg:hover {
    fill: #E0BE74;
}

.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s;
    fill: #004AAD;
}

.icon:hover {
    transform: scale(1.1);
    fill: #E0BE74;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
}

@media (max-width: 480px) {
    .form-login {
        padding: 20px;
    }
    
    .input_grande {
        height: 45px;
        font-size: 15px;
    }
    
    .submit {
        height: 45px;
        font-size: 15px;
    }
    
    .text_link a {
        font-size: 13px;
    }
}

@media (min-width: 481px) {
    .toggle-password {
        right: 10px;
    }
}
