@import url('fenix-theme.css');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    font-family:var(--fenix-font);

    background-image:
        url('../img/servidores.jpg');

    background-position:
        center center;

    background-size:
        cover;

    background-repeat:
        no-repeat;

    overflow-x:hidden;
    overflow-y:auto;

    position:relative;
}

/* OVERLAY */
.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:
        rgba(0,0,0,0.25);

    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* CONTAINER */
.login-container{

    position:relative;

    z-index:10;

    width:100%;
    max-width:420px;

    padding:20px;
}

/* CARD */
.login-card{

    background:rgba(16,28,39,.92);

    border-radius:24px;

    padding:55px 45px;

    color:#fff;

    box-shadow:
        var(--fenix-shadow);

    border:
        1px solid var(--fenix-line);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
}

/* LOGO */
.logo-circle{
    width:90px;
    height:90px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(255,255,255,0.15);
}

.logo-img{
    width:62px;
    height:62px;
    object-fit:contain;
}

/* TITLES */
.login-title{

    text-align:center;

    font-size:2.3rem;
    font-weight:700;

    margin-bottom:8px;
}

.login-subtitle{

    text-align:center;

    color:#ddd;

    margin-bottom:35px;

    font-size:1rem;
}

/* LABELS */
.form-label{

    color:#fff;

    font-weight:600;

    margin-bottom:10px;
}

/* INPUTS */
.form-control{

    height:54px;

    border:none;

    border-radius:14px;

    background:
        rgba(255,255,255,0.14);

    color:#fff;

    padding:15px 18px;

    transition:0.3s;
}

.form-control::placeholder{

    color:#ddd;
}

.form-control:focus{

    background:
        rgba(255,255,255,0.18);

    color:#fff;

    box-shadow:none;

    border:
        1px solid rgba(255,255,255,0.25);
}

/* BUTTON */
.btn-login{

    width:100%;

    height:54px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;

    border:none;

    border-radius:var(--fenix-radius-sm);

    background:
        linear-gradient(
            135deg,
            var(--fenix-blue),
            var(--fenix-blue-2)
        );

    color:#fff;

    font-size:1rem;
    font-weight:700;

    margin-top:10px;

    transition:0.3s;
}

.btn-login:hover{

    transform:translateY(-2px);

    box-shadow:0 16px 36px rgba(37,99,235,.24);
}

/* LINKS */
.links{

    margin-top:30px;

    display:flex;
    flex-direction:column;

    gap:14px;
}

.links a{

    color:#fff;

    text-decoration:none;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;

    transition:0.3s;
}

.links a:hover{

    opacity:0.8;

    transform:translateX(4px);
}

/* FOOTER */
.footer-text{

    text-align:center;

    margin-top:35px;

    color:#ddd;

    font-size:0.85rem;
}

/* ALERTS */
.alert{

    border-radius:14px;
    border:none;
    font-weight:600;
    line-height:1.35;
    margin-bottom:22px;
}

.session-notice{
    background:rgba(255,193,7,0.16);
    color:#fff7dc;
    border:1px solid rgba(255,193,7,0.35);
}

@media (max-width: 576px){

    body{
        align-items:flex-start;
        min-height:100vh;
        overflow-x:hidden;
        overflow-y:auto;
        padding:20px 0;
    }

    .login-container{
        max-width:100%;
        padding:20px;
    }

    .login-card{
        width:100%;
        padding:34px 24px;
        border-radius:22px;
    }

    .login-title{
        font-size:2rem;
    }

    .logo-circle{
        width:82px !important;
        height:82px !important;
    }

    .logo-img{
        width:58px !important;
        height:58px !important;
    }

    .form-control,
    .btn-login{
        height:50px;
    }

    .alert{
        font-size:0.92rem;
        padding:12px 14px;
    }

    .links{
        gap:12px;
    }
}
