:root{
    --primary:#2563eb;
    --success:#16a34a;
    --dark:#1e293b;
    --light:#f8fafc;
    --border:#e5e7eb;
}

body{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#2563eb,#0f766e);
    min-height:100vh;
}

.login-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.login-card{
    width:100%;
    max-width:1050px;
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 30px 70px rgba(0,0,0,.25);
    display:flex;
}

.login-left{
    width:45%;
    color:#fff;
    padding:50px;
    background:linear-gradient(180deg,#2563eb,#0f766e);
}

.login-right{
    width:55%;
    padding:55px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.logo{
    width:120px;
    margin-bottom:20px;
}

.menu-card{
    border:2px solid #eee;
    border-radius:15px;
    padding:18px;
    margin-bottom:18px;
    cursor:pointer;
    transition:.3s;
}

.menu-card:hover{
    border-color:var(--primary);
    transform:translateY(-3px);
}

.login-form{
    display:none;
}

.form-control{
    border-radius:10px;
    height:48px;
}

.btn-sihati{
    width:100%;
    border:none;
    background:var(--primary);
    color:white;
    padding:13px;
    border-radius:10px;
    font-weight:bold;
}

.password-group{
    position:relative;
}

.password-group i{
    position:absolute;
    right:18px;
    top:16px;
    cursor:pointer;
}

.back-link{
    cursor:pointer;
    color:var(--primary);
    font-weight:bold;
    margin-bottom:20px;
    display:inline-block;
}

.footer-login{
    text-align:center;
    margin-top:25px;
    color:#999;
    font-size:13px;
}

@media(max-width:900px){

.login-card{
    flex-direction:column;
}

.login-left,
.login-right{
    width:100%;
}

}

.login-content{

    width:100%;
    max-width:420px;

    animation:fadeIn .35s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateX(30px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

.form-control{

    width:100%;
    height:52px;
    border-radius:12px;
    border:1px solid #d1d5db;
    padding:0 18px;
    font-size:15px;
    transition:.25s;

}

.form-control:focus{

    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
    outline:none;

}

.password-group{

    position:relative;

}

.password-group .form-control{

    padding-right:55px;

}

.password-group i{

    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#6b7280;
}

.btn-sihati{

    margin-top:12px;
    height:54px;
    border-radius:12px;
    font-size:17px;
    transition:.25s;

}

.btn-sihati:hover{

    transform:translateY(-2px);

}

.menu-card{

    padding:22px;

}

.menu-card h5{

    font-size:18px;

}

.menu-card small{

    font-size:14px;

}

/* ============================
   LEFT PANEL
============================ */

.login-left{

    position:relative;
    overflow:hidden;

}

.login-left::before{

    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-120px;
    right:-120px;

}

.login-left::after{

    content:'';
    position:absolute;
    width:220px;
    height:220px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    bottom:-70px;
    left:-70px;

}

.logo{

    width:110px;
    position:relative;
    z-index:10;

}

.login-left h1,
.login-left h4,
.login-left p,
.login-left h3{

    position:relative;
    z-index:10;

}

/* ============================
   STATISTIK
============================ */

.stats{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:30px;

}

.stat-box{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    border-radius:15px;

    padding:18px;

    text-align:center;

}

.stat-box i{

    font-size:28px;
    margin-bottom:10px;

}

.stat-box h2{

    margin:0;
    font-size:22px;

}

.stat-box p{

    margin:5px 0 0;
    font-size:13px;

}

/* ============================
   MENU LOGIN
============================ */

.menu-card{

    display:flex;
    align-items:center;
    gap:20px;

}

.menu-icon{

    width:70px;
    height:70px;
    border-radius:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    color:white;

}

.admin-bg{

    background:#2563eb;

}

.student-bg{

    background:#16a34a;

}

.parent-bg{

    background:#f59e0b;

}

.menu-title{

    font-size:18px;
    font-weight:700;

}

.menu-desc{

    color:#6b7280;
    font-size:14px;
}

.login-form{

    animation:fadeIn .30s;

}

.input-group{

    border:none;

    display:flex;

    align-items:center;

}

.input-group-text{

    width:50px;

    border-radius:12px 0 0 12px;

    border:1px solid #d1d5db;

    background:#f8fafc;

    justify-content:center;

}

.input-group .form-control{

    border-left:none;

    border-radius:0 12px 12px 0;

}

.text-danger{

    font-size:13px;

}

.mx-auto{

    margin:auto;

}

.d-grid{

    display:grid;

}

/* ===========================
   FORM ANIMATION
=========================== */

.login-form{

    display:none;
    animation:slideFade .30s ease;

}

@keyframes slideFade{

    from{

        opacity:0;
        transform:translateX(35px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

.menu-card{

    user-select:none;

}

.menu-card:hover{

    transform:translateY(-5px) scale(1.02);

}

.menu-card:active{

    transform:scale(.98);

}

.btn-sihati{

    position:relative;
    overflow:hidden;

}

.btn-sihati:active{

    transform:scale(.98);

}

.back-link{

    transition:.25s;

}

.back-link:hover{

    transform:translateX(-5px);

}

.password-group{

    position:relative;

}

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#6b7280;

    font-size:18px;

}

/* ============================
   WELCOME
============================ */

.welcome-title{

    font-size:34px;

    font-weight:700;

    margin-bottom:15px;

}

.welcome-text{

    line-height:34px;

    font-size:20px;

    opacity:.95;

}

/* ============================
   LOGIN TITLE
============================ */

.login-content h3{

    font-size:32px;

    font-weight:700;

}

.login-content p{

    font-size:15px;

}

/* ============================
   INPUT
============================ */

.form-label{

    font-weight:600;

    margin-bottom:8px;

}

.form-control{

    font-size:16px;

    padding-left:18px;

}

/* ============================
   BUTTON
============================ */

.btn-sihati{

    height:58px;

    font-size:18px;

    border-radius:14px;

    box-shadow:0 12px 25px rgba(37,99,235,.25);

}

.btn-sihati:hover{

    box-shadow:0 20px 35px rgba(37,99,235,.35);

}

/* ============================
   CARD
============================ */

.login-card{

    transition:.3s;

}

.login-card:hover{

    transform:translateY(-3px);

}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}