/* =====================================
   LOGIN PAGE MODERN
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

/* LAYOUT */

.auth-wrapper
{
    display:flex;
    min-height:100dvh;
}
/* =====================================
   LEFT SIDE
===================================== */

.left-side{
    flex:1.6;
    position:relative;
    background:url('../images/background/bg_sekolah.jpeg')
    center center/cover no-repeat;
}

.left-side::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.45);
}

.school-content{
    position:absolute;
    z-index:2;
    left:60px;
    bottom:70px;
    color:white;
    max-width:550px;
}

.school-content h1{
    font-size:64px;
    font-weight:700;
    line-height:1.1;
    margin-bottom:20px;
}

.school-content p{
    font-size:20px;
    line-height:1.8;
    opacity:.95;
}

/* =====================================
   RIGHT SIDE
===================================== */
.right-side{
    width:620px;
    background:linear-gradient(135deg,#f8faff,#eef2ff);

    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding:40px;

    min-height:100dvh;
    height:auto;

    overflow:visible;
}

/* =====================================
   CARD
===================================== */
.auth-card{
    width:100%;
    max-width:470px;
    background:#fff;
    padding:50px;
    border-radius:30px;
    box-shadow:0 20px 60px rgba(99,102,241,.15);

    margin:40px 0;
}
/* =====================================
   BACK BUTTON
===================================== */

.back-home{
    display:inline-block;

    padding:12px 20px;

    background:#eef2ff;
    color:#4f46e5;

    border-radius:50px;

    text-decoration:none;
    font-weight:600;

    margin-bottom:25px;

    transition:.3s;
}

.back-home:hover{
    background:#4f46e5;
    color:white;
}

/* =====================================
   LOGO
===================================== */

.logo{
    width:90px;
    display:block;
    margin:0 auto 20px;
}

/* =====================================
   TITLE
===================================== */

.title{
    font-size:50px;
    font-weight:700;
    text-align:center;
    color:#0f172a;
}

.subtitle{
    text-align:center;
    color:#64748b;
    margin-top:10px;
    margin-bottom:35px;
    font-size:17px;
}

/* =====================================
   INPUT
===================================== */

.form-control{
    height:60px;
    border-radius:16px;
    border:1px solid #dbeafe;
    background:#f8fbff;
    font-size:16px;
}

.form-control:focus{
    border-color:#6366f1;
    box-shadow:0 0 0 4px rgba(99,102,241,.15);
    background:white;
}

/* =====================================
   BUTTON
===================================== */

.btn-login{
    width:100%;
    height:60px;

    border:none;
    border-radius:16px;

    background:
    linear-gradient(
        135deg,
        #4f46e5,
        #6366f1
    );

    color:white;
    font-size:18px;
    font-weight:600;

    transition:.3s;
}

.btn-login:hover{
    transform:translateY(-2px);

    box-shadow:
    0 15px 30px rgba(99,102,241,.3);
}

/* =====================================
   REGISTER
===================================== */

.auth-link{
    text-align:center;
    margin-top:25px;
}

.auth-link a{
    text-decoration:none;
    font-weight:600;
    color:#4f46e5;
}

/* =====================================
   MOBILE
===================================== */
@media (max-width:991px){

    .auth-wrapper{
        display:block;
        min-height:auto;
    }

    .left-side{
        display:none;
    }

    .right-side{
        width:100%;
        min-height:auto;
        height:auto;
        display:block;
        padding:25px 20px 40px;
    }

    .auth-card{
        width:100%;
        max-width:450px;
        margin:0 auto;
        padding:30px;
    }
}
@supports (-webkit-touch-callout: none){

    html,
    body{
        height:auto;
    }

    .auth-wrapper{
        min-height:auto;
    }

    .right-side{
        min-height:auto;
    }
}
