@font-face {
    font-family: 'Vollkorn';
    src: url('../fonts/Vollkorn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    /* background-image: linear-gradient(rgba(10, 94, 68, 0.8), rgba(10, 94, 68, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2069'); */
    /* background-image: linear-gradient(rgba(10, 6, 66, 0.8), rgba(14, 91, 163, 0.6)), url('./../img/fondo.JPG');*/
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: start;
    justify-content: center;
    margin: 0;
    font-family: 'Helvetica', Arial, sans-serif;
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 450px;
    margin-top: 5%;

}

.login-header {
    text-align: center;
    margin-bottom: .5rem;
}

.login-header h1 {
    color: #0a175e;
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'Vollkorn', serif;
    margin: 0;
}

.login-header p {
    color: #6b7280;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c717df;
    box-shadow: 0 0 0 3px rgba(10, 94, 68, 0.1);
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background-color: #0a175e;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: #135bad;
}

.alert {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.login-logo-container {
    text-align: center;
    margin-bottom: .5rem;
}

.login-logo {
    max-width: 160px;
    height: auto;
    display: inline-block;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
}

.password-container i {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #6b7280;
}