/*=========================================================
SIPMA LOGIN
Balai Diklat Keagamaan Ambon
=========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    margin:0;

    padding:0;

    overflow:hidden;

    background:#f5f7fa;

}

.login-page{

    width:100%;

    height:100vh;

    display:flex;

}

.login-card{

    border-radius:28px;

    box-shadow:

        0 30px 80px rgba(0,0,0,.12);

    transition:.35s;

}

.login-card:hover{

    transform:translateY(-4px);

}

.login-left{

    background:

    linear-gradient(

    135deg,

    #0F5132,

    #198754

    );

}

.login-left::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    top:-220px;

    left:-180px;

}

.login-left::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

    bottom:-180px;

    right:-100px;

}

.login-brand img{

    width:150px;

}

.login-tagline{

    margin-top:20px;

    opacity:.85;

    font-size:17px;

    letter-spacing:1px;

}

.form-group{

    margin-bottom:22px;

}

.login-input{

    position:relative;

}

.login-input i{

    position:absolute;

    left:18px;

    top:18px;

    color:#7c8ca0;

}

.login-input input{

    width:100%;

    height:58px;

    padding-left:50px;

    padding-right:55px;

    border:1px solid #dfe6ee;

    border-radius:14px;

    transition:.3s;

}

.login-input input:focus{

    border-color:#198754;

    box-shadow:0 0 0 4px rgba(25,135,84,.08);

}

.login-input button{

    position:absolute;

    right:15px;

    top:12px;

    width:34px;

    height:34px;

    border:none;

    background:none;

    color:#7c8ca0;

}

.login-card .btn-success{

    background:linear-gradient(

        90deg,

        #198754,

        #1fa463

    );

    border:none;

    transition:.35s;

}

.login-card .btn-success:hover{

    transform:translateY(-2px);

    box-shadow:

    0 15px 35px rgba(25,135,84,.35);

}

.form-group label{
    margin-bottom:8px;
    font-weight:600;
}

.login-btn{

    height:56px;

    border-radius:14px;

    font-size:20px;

    font-weight:700;

    letter-spacing:1px;

}

.login-card{

    padding:50px;

    height:auto;

}

.login-input{

    position:relative;

}

.login-input i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#7d8793;

    font-size:17px;

}

.login-input input{

    width:100%;

    height:56px;

    padding-left:48px;

    padding-right:52px;

}

.password-group button{

    position:absolute;

    right:14px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    color:#7d8793;

    cursor:pointer;

    font-size:18px;

}

.password-group button:hover{

    color:#198754;

}

.login-logo{

    animation: floatLogo 4s ease-in-out infinite;

}

@keyframes floatLogo{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

.login-card{

    backdrop-filter:blur(18px);

    box-shadow:

    0 20px 60px rgba(0,0,0,.10);

}

.login-btn{

    transition:.35s;

}

.login-btn:hover{

    transform:translateY(-2px);

    box-shadow:

    0 12px 35px rgba(25,135,84,.35);

}

.form-control{

    transition:.3s;

}

.form-control:focus{

    border-color:#198754;

    box-shadow:

    0 0 0 .25rem rgba(25,135,84,.15);

}

.feature-item{

    transition:.35s;

}

.feature-item:hover{

    transform:translateY(-6px);

    background:rgba(255,255,255,.22);

}

.login-btn{

    height:56px;

    border-radius:14px;

    font-size:18px;

    font-weight:700;

    transition:.35s;

}

.login-btn:hover{

    transform:translateY(-2px);

}

/* ==========================
   Loading Screen
========================== */

#loadingScreen{

    position:fixed;

    inset:0;

    background:#f8fafc;

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loading-box{

    width:420px;

    text-align:center;

}

.loading-logo{

    width:110px;

    margin-bottom:20px;

    animation:spinLogo 2.5s linear infinite;

}

.loading-box h1{

    color:#13653f;

    font-size:42px;

    font-weight:700;

}

.loading-box p{

    color:#6b7280;

}

.loading-text{

    margin:25px 0 15px;

    color:#13653f;

    font-weight:600;

}

.progress{

    height:12px;

    border-radius:30px;

}

.progress-bar{

    background:#198754;

}

#loadingPercent{

    margin-top:12px;

    font-weight:bold;

    color:#198754;

    font-size:18px;

}

@keyframes spinLogo{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

/*=========================================================
BACKGROUND
=========================================================*/

.login-page{

    display:flex;

    width:100%;

    height:100vh;

    background:
    linear-gradient(
        135deg,
        #0f5132 0%,
        #198754 45%,
        #2c7a4b 100%
    );

}

/*=========================================================
LEFT
=========================================================*/

.login-left{

    width:50%;

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:70px;

    position:relative;

    overflow:hidden;

}

.login-left::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    top:-180px;

    left:-180px;

}

.login-left::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

    bottom:-150px;

    right:-150px;

}

.login-brand{

    position:relative;

    z-index:10;

    text-align:center;

}

.login-brand img{

    width:120px;

    margin-bottom:25px;

}

.login-brand h1{

    font-size:46px;

    font-weight:700;

    margin-bottom:10px;

}

.login-brand h4{

    font-size:24px;

    margin-bottom:20px;

    font-weight:500;

}

.login-brand p{

    font-size:17px;

    opacity:.95;

    max-width:420px;

    margin:auto;

    line-height:30px;

}

/*=========================================================
FEATURE
=========================================================*/

.login-feature{

    position:relative;

    z-index:10;

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.login-feature div{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.15);

    border-radius:15px;

    padding:18px 22px;

    font-size:16px;

    backdrop-filter:blur(10px);

}

.login-feature i{

    margin-right:10px;

    color:#FFD54F;

}

/*=========================================================
RIGHT
=========================================================*/

.login-right{

    width:50%;

    background:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:50px;

}

/*=========================================================
LOGIN CARD
=========================================================*/

.login-card{

    width:100%;

    max-width:470px;

    background:#fff;

    border-radius:22px;

    padding:45px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);

}

.login-card h2{

    font-weight:700;

    margin-bottom:10px;

    color:#0f5132;

}

.login-card p{

    color:#6c757d;

    margin-bottom:35px;

}

.login-card label{

    font-weight:600;

    margin-bottom:8px;

}

.login-card .form-control{

    height:52px;

    border-radius:10px;

    border:1px solid #ced4da;

}

.login-card .form-control:focus{

    border-color:#198754;

    box-shadow:0 0 0 .2rem rgba(25,135,84,.15);

}

.login-card .input-group-text{

    background:#fff;

    border-radius:10px 0 0 10px;

}

.login-card .btn{

    height:55px;

    border-radius:12px;

    font-weight:700;

    font-size:17px;

}

.login-card .btn-success{

    background:#198754;

    border:none;

}

.login-card .btn-success:hover{

    background:#157347;

}

/*=========================================================
FOOTER
=========================================================*/

.login-footer{

    margin-top:30px;

    text-align:center;

    color:#999;

    font-size:13px;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

.login-left{

display:none;

}

.login-right{

width:100%;

padding:30px;

}

.login-card{

max-width:520px;

}

}

@media(max-width:576px){

.login-card{

padding:30px 22px;

box-shadow:none;

}

.login-right{

padding:15px;

background:#f4f7fb;

}

}

/*=========================================================
ANIMATION
=========================================================*/

.login-card{

transition:.5s;

}

.login-card:hover{

transform:translateY(-3px);

}

.spinner-border{

width:18px;

height:18px;

}