/* ==========================================================
   Portal Layanan ASN
   BKPSDM Kabupaten Belitung
   Login V2
========================================================== */


/* ==========================================================
   GOOGLE FONT
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');


/* ==========================================================
   ROOT
========================================================== */

:root{

    --primary:#0F4C81;

    --primary-light:#1D74D8;

    --primary-dark:#08365E;

    --white:#FFFFFF;

    --background:#EEF4FB;

    --text:#1F2937;

    --text-light:#6B7280;

    --border:#DCE4EE;

    --shadow:0 30px 80px rgba(15,76,129,.15);

    --radius:28px;

    --transition:.30s ease;

}


/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Plus Jakarta Sans',sans-serif;

    background:
        linear-gradient(
            135deg,
            #0F4C81 0%,
            #1D74D8 100%
        );

    min-height:100vh;

    color:var(--text);

}


/* ==========================================================
   LOGIN PAGE
========================================================== */

.login-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

}


/* ==========================================================
   WRAPPER
========================================================== */

.login-wrapper{

    width:100%;

    max-width:1320px;

    min-height:760px;

    background:#FFFFFF;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

}


/* ==========================================================
   LEFT PANEL
========================================================== */

.left-panel{

    height:100%;

    background:
        linear-gradient(
            135deg,
            #0F4C81,
            #1D74D8
        );

    padding:60px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    position:relative;

    overflow:hidden;

}


/* ==========================================================
   DECORATION
========================================================== */

.left-panel::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    top:-150px;

    right:-120px;

}

.left-panel::after{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-100px;

    left:-120px;

}


/* ==========================================================
   BRAND
========================================================== */

.brand{
    position:relative;
    z-index:2;

    height:100px;          /* tinggi area logo */
    display:flex;
    align-items:center;    /* logo di tengah vertikal */
    margin-bottom:10px;
}

.brand img{
    width:450px;
    height:auto;
}




/* ==========================================================
   HERO
========================================================== */

.hero{

    position:relative;

    z-index:2;

    margin-top:30px;

}

.hero h1{

    color:#FFFFFF;

    font-size:42px;

    font-weight:800;

    line-height:1.2;

    margin-bottom:15px;

}

.hero p{

    color:rgba(255,255,255,.85);

    font-size:18px;

    font-weight:400;

}


/* ==========================================================
   ILLUSTRATION
========================================================== */

.hero-image{

    position:relative;

    z-index:2;

    text-align:center;

    margin:50px 0;

}

.hero-image img{

    width:100%;

    max-width:430px;

    height:auto;

}


/* ==========================================================
   QUOTE
========================================================== */

/* ==========================================================
   QUOTE
========================================================== */

.hero-quote{

    position:relative;

    z-index:2;
 transform:translateY(-80px);
    width:100%;

    margin-top:auto;

    padding:28px 30px;

    border-radius:20px;

    background:rgba(0,0,0,.35);

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}
.hero-quote::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

    pointer-events:none;

}
.quote-icon{

    color:#FFD54A;

    font-size:34px;

    margin-bottom:14px;

}

.quote-text{

    color:#FFFFFF;

    font-size:17px;

    line-height:1.9;

    font-style:italic;

}

.quote-author{

    margin-top:18px;

    color:#FFD54A;

    font-size:14px;

    font-weight:600;

    letter-spacing:.5px;

}
/* ==========================================================
   RIGHT PANEL
========================================================== */

.right-panel{

    height:100%;

    display:flex;

    justify-content:flex-start;

    align-items:flex-start;

    padding:70px 60px;

}

.login-box{

    width:100%;

    max-width:520px;

    margin:0 auto;

}

.mobile-logo{

    text-align:center;

    margin-bottom:35px;

}

.mobile-logo img{

    width:220px;

    height:auto;

}

.login-box h2{

    font-size:34px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:10px;

}

.login-subtitle{

    color:var(--text-light);

    font-size:15px;

    margin-bottom:35px;

}


/* ==========================================================
   FORM
========================================================== */

.form-label{

    font-size:14px;

    font-weight:600;

    color:var(--text);

    margin-bottom:8px;

}

.input-group{

    margin-bottom:0;

}

.input-group-text{

    background:#F8FAFC;

    border:1px solid var(--border);

    border-right:none;

    color:#64748B;

    border-radius:14px 0 0 14px;

    padding:0 16px;

}

.form-control{

    height:56px;

    border:1px solid var(--border);

    border-left:none;

    border-right:none;

    border-radius:0;

    font-size:15px;

    box-shadow:none;

    background:#F8FAFC;

}

.form-control:focus{

    background:#FFFFFF;

    border-color:var(--primary);

    box-shadow:none;

}

.form-control::placeholder{

    color:#9CA3AF;

}


/* ==========================================================
   PASSWORD BUTTON
========================================================== */

.btn-toggle{

    width:56px;

    background:#F8FAFC;

    border:1px solid var(--border);

    border-left:none;

    border-radius:0 14px 14px 0;

    color:#64748B;

}

.btn-toggle:hover{

    background:#FFFFFF;

    color:var(--primary);

}


/* ==========================================================
   CHECKBOX
========================================================== */

.form-check-input{

    cursor:pointer;

}

.form-check-input:checked{

    background:var(--primary);

    border-color:var(--primary);

}

.form-check-label{

    font-size:14px;

    color:var(--text-light);

}


/* ==========================================================
   BUTTON
========================================================== */

.btn-login{

    height:56px;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    border:none;

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

}

.btn-login:hover{

    transform:translateY(-2px);

    box-shadow:0 15px 35px rgba(15,76,129,.20);

}

.btn-face{

    height:56px;

    border-radius:14px;

    border:2px solid var(--primary);

    color:var(--primary);

    background:#FFFFFF;

    font-weight:600;

    transition:var(--transition);

}

.btn-face:hover{

    background:var(--primary);

    color:#FFFFFF;

}


/* ==========================================================
   DIVIDER
========================================================== */

.divider{

    display:flex;

    align-items:center;

    margin:30px 0;

}

.divider::before,

.divider::after{

    content:"";

    flex:1;

    height:1px;

    background:#E5E7EB;

}

.divider span{

    margin:0 16px;

    font-size:13px;

    color:#9CA3AF;

}


/* ==========================================================
   LINK
========================================================== */

a{

    color:var(--primary);

    text-decoration:none;

    transition:var(--transition);

}

a:hover{

    color:var(--primary-dark);

}


/* ==========================================================
   FOOTER
========================================================== */

.login-footer{

    margin-top:35px;

    text-align:center;

}
/* ==========================================================
   SOCIAL MEDIA
========================================================== */

.social-media{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    margin-bottom:25px;

}

.social-media a{

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:transparent;

    font-size:34px;

    transition:.3s;

    box-shadow:none;

}

.social-media a:hover{

    transform:translateY(-4px) scale(1.08);

}
.copyright{

    font-size:13px;

    color:#94A3B8;

}

/* ==========================================================
   INSTAGRAM
========================================================== */

.social-media a:nth-child(1){

    color:#E1306C;

}

.social-media a:nth-child(1):hover{

    background:#E1306C;

    color:#FFFFFF;

}


/* ==========================================================
   FACEBOOK
========================================================== */

.social-media a:nth-child(2){

    color:#1877F2;

}

.social-media a:nth-child(2):hover{

    background:#1877F2;

    color:#FFFFFF;

}
/* ==========================================================
   RESPONSIVE
========================================================== */


/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width:1400px){

    .login-wrapper{

        max-width:1360px;

    }

}


/* ==========================================================
   DESKTOP
========================================================== */

@media (max-width:1199.98px){

    .left-panel{

        padding:45px;

    }

    .right-panel{

        padding:45px;

    }

    .hero h1{

        font-size:36px;

    }

    .hero-image img{

        max-width:360px;

    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width:991.98px){

    body{

        background:linear-gradient(
            180deg,
            var(--primary),
            var(--primary-light)
        );

    }

    .login-page{

        padding:25px;

    }

    .login-wrapper{

        max-width:520px;

        min-height:auto;

        border-radius:22px;

    }

    .right-panel{

        padding:45px 35px;

    }

    .login-box{

        max-width:100%;

    }

    .mobile-logo{

        display:block;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:767.98px){

    .login-page{

        padding:20px;

    }

    .login-wrapper{

        border-radius:18px;

    }

    .right-panel{

        padding:35px 25px;

    }

    .mobile-logo img{

        width:180px;

    }

    .login-box h2{

        font-size:30px;

    }

    .login-subtitle{

        font-size:14px;

    }

    .form-control{

        height:52px;

        font-size:14px;

    }

    .input-group-text{

        height:52px;

    }

    .btn-toggle{

        height:52px;

        width:52px;

    }

    .btn-login,

    .btn-face{

        height:52px;

        font-size:15px;

    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:575.98px){

    .login-page{

        padding:15px;

    }

    .right-panel{

        padding:30px 20px;

    }

    .mobile-logo img{

        width:160px;

    }

    .login-box h2{

        font-size:26px;

    }

    .login-subtitle{

        font-size:13px;

        margin-bottom:28px;

    }

    .form-label{

        font-size:13px;

    }

    .form-control{

        height:50px;

        font-size:14px;

    }

    .input-group-text{

        height:50px;

        padding:0 14px;

    }

    .btn-toggle{

        width:50px;

        height:50px;

    }

    .btn-login,

    .btn-face{

        height:50px;

        font-size:14px;

    }

    .social-media a{

        width:42px;

        height:42px;

        font-size:18px;

    }

    .copyright{

        font-size:12px;

    }

}


/* ==========================================================
   LANDSCAPE PHONE
========================================================== */

@media (max-height:650px){

    .login-page{

        padding:20px;

    }

    .right-panel{

        padding:25px 30px;

    }

}