﻿/* ======================================================
   LOGIN LAYOUT
   ====================================================== */

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(44,92,147,.15), transparent 40%), radial-gradient(circle at 85% 80%, rgba(55,179,154,.18), transparent 45%), linear-gradient(135deg,#f7f9fc,#edf2f7);
}

    /* halo decorativo */

    .login-section::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        top: -200px;
        right: -200px;
        background: radial-gradient(circle, rgba(55,179,154,.25), transparent 70%);
        filter: blur(80px);
        pointer-events: none;
    }

/* ======================================================
   CONTAINER
   ====================================================== */

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ======================================================
   CARD
   ====================================================== */

.login-card {
    position: relative;
    width: 420px;
    padding: 42px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05);
    text-align: center;
    animation: loginFade .6s ease;
}

    /* glow inferior */

    .login-card::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
        width: 70%;
        height: 6px;
        background: linear-gradient( 90deg, transparent, #2C5C93, #37B39A, transparent );
        filter: blur(6px);
        opacity: .5;
    }

/* ======================================================
   LOGO
   ====================================================== */

.login-logo {
    width: 170px;
    margin-bottom: 18px;
}

/* ======================================================
   TITLES
   ====================================================== */

.login-card h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ======================================================
   PASSWORD GROUP
   ====================================================== */

.password-group {
    position: relative;
}

    .password-group .form-control {
        padding-right: 40px;
    }

/* ======================================================
   PASSWORD TOGGLE
   ====================================================== */

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: #6c757d;
}

/* ======================================================
   BUTTON
   ====================================================== */

.btn-login {
    height: 46px;
    font-size: .95rem;
    letter-spacing: .3px;
    background: linear-gradient( 135deg, #2C5C93, #37B39A );
    box-shadow: 0 6px 14px rgba(44,92,147,.25);
    transition: all .25s ease;
    color: #fff;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(44,92,147,.35);
    }

    .btn-login:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(55,179,154,.25);
    }

/* ======================================================
   FOOTER
   ====================================================== */

.login-footer {
    margin-top: 35px;
    font-size: .8rem;
    color: #8a949c;
}

    .login-footer span {
        color: var(--color-secondary);
    }

    .login-footer a {
        color: var(--color-primary);
        text-decoration: none;
        margin-left: 4px;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

/* ======================================================
   ANIMATION
   ====================================================== */

@keyframes loginFade {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
