*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position:relative;

    background:
        linear-gradient(
            rgba(15,23,42,.70),
            rgba(15,23,42,.82)
        ),
        url('../images/bcv.gif');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

/* DARK OVERLAY */
body::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at top left,
            rgba(37,99,235,.35),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(16,185,129,.25),
            transparent 35%
        );
    z-index:0;
}

/* LOGIN CARD */
.login-card{
    width:100%;
    max-width:430px;
    border-radius:30px;
    padding:35px;
    position:relative;
    z-index:1;

    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);

    color:white;
}

/* LOGO */
.logo-box{
    width:115px;
    height:115px;
    margin:0 auto 18px;
    border-radius:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.25);

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}

.logo-box img{
    width:95px;
    height:95px;
    object-fit:contain;
}

/* BACKUP ICON IF NEEDED */
.logo-icon{
    width:90px;
    height:90px;
    background:#2563eb;
    color:white;
    border-radius:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    margin:auto;
    margin-bottom:20px;
    box-shadow:
        0 10px 25px rgba(37,99,235,.3);
}

/* TITLE */
.login-title{
    font-size:32px;
    font-weight:800;
    color:white;
    margin-bottom:5px;
}

.login-subtitle{
    font-size:14px;
    color:rgba(255,255,255,.78);
    margin-bottom:0;
}

/* LABEL */
label{
    font-weight:600;
    margin-bottom:8px;
    color:white;
}

/* INPUT */
.form-control{
    border-radius:0 14px 14px 0;
    border:1px solid rgba(255,255,255,.18);
    padding:12px 15px;
    background:rgba(255,255,255,.14);
    color:white;
}

.form-control:focus{
    background:rgba(255,255,255,.22);
    border-color:#93c5fd;
    box-shadow:
        0 0 0 .2rem rgba(147,197,253,.22);
    color:white;
}

.form-control::placeholder{
    color:rgba(255,255,255,.65);
}

/* INPUT ICON */
.input-group-text{
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.18);
    color:white;
    border-radius:14px 0 0 14px;
}

/* BUTTON */
.btn-login{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:white;
    border:none;
    border-radius:14px;
    padding:13px;
    font-weight:700;
    transition:.3s ease;
    box-shadow:
        0 12px 28px rgba(37,99,235,.35);
}

.btn-login:hover{
    color:white;
    transform:translateY(-2px);
    box-shadow:
        0 16px 35px rgba(37,99,235,.45);
}

/* ALERT */
.alert{
    border-radius:14px;
    border:none;
    font-size:14px;
}

/* FOOTER */
.footer-text{
    font-size:13px;
    color:rgba(255,255,255,.75);
}

.footer-text a{
    color:white;
    font-weight:700;
    text-decoration:none;
}

.footer-text a:hover{
    text-decoration:underline;
}

/* MOBILE */
@media(max-width:576px){

    body{
        padding:18px;
        overflow:auto;
        background-attachment:scroll;
    }

    .login-card{
        margin:20px;
        padding:25px;
        border-radius:24px;
    }

    .login-title{
        font-size:28px;
    }

    .logo-box{
        width:100px;
        height:100px;
    }

    .logo-box img{
        width:82px;
        height:82px;
    }
}