/* acceso.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    background-image: linear-gradient(135deg, rgba(19, 54, 123, 0.700) 0%, rgba(19, 54, 123, 0.700) 100%),
        url('../../public/images/login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 75%;
    z-index: -1;
}


.login-container {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
}

.logo-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(5, 49, 92,  0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.login-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 1.1rem;
    color: #13357b;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d3d9e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.form-group input:focus {
    border-color: #4377d6;
    outline: none;
    box-shadow: 0 0 0 3px #4377d640;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.input-icon-svg {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
    color: #13357b;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    color: #13357b;
    cursor: pointer;
}

.toggle-password:hover {
    color: #4377d6;
}

.toggle-password.active {
    stroke: #4377d6;
}

.btn-ingresar {
    background: #13357b;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-ingresar:hover {
    opacity: 0.9;
}

.forgot-password {
    display: block;
    margin-top: 1rem;
    color: #4377d6;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #13357b;
}

.recordar {
    margin-top: 1rem;
    text-align: center;
}

.recordar b a.login-link {
    color: #4377d6;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recordar b a.login-link:hover {
    color: #13357b;
}

/* Animaci��n de aparici��n */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}