:root{
    --green:#0F7C3A;
    --green-dark:#0A5A28;
    --gold:#F4C430;
    --light:#f8f9f8;
    --gray:#6c757d;
}

*{ box-sizing:border-box; }

body{
    margin:0;
    font-family:'Segoe UI', system-ui, sans-serif;
    background:var(--light);
}

.wrapper{
    display:flex;
    min-height:100vh;
}

/* ================= LANDING ================= */
.landing{
    flex:1;
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(rgba(15,124,58,0.75), rgba(10,90,40,0.75)),
        url('../../assets/images/songket.png');
    background-size:cover;
    background-position:center;
    color:white;
    padding:80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* Branding 2 kolom */
.branding{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:30px;
    z-index:2;
}

.brand-logo img{
    width:80px;
}

.brand-text h1{
    margin:0;
    font-size:38px;
    font-weight:600;
}

.brand-text h2{
    margin:5px 0 0 0;
    font-size:18px;
    color:var(--gold);
    font-weight:500;
}

.landing p{
    max-width:450px;
    line-height:1.7;
    font-size:15px;
    margin-bottom:30px;
}

/* ASN Illustration */
.asn-illustration{
    position:absolute;
    right:40px;
    bottom:0;
    height:85%;
    max-height:650px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    pointer-events:none;
}

/* ================= LOGIN ================= */
.login-side{
    width:480px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    box-shadow:-20px 0 60px rgba(0,0,0,0.05);
}

.login-card{
    width:100%;
    max-width:420px;
}

.login-card h3{
    margin-bottom:25px;
    color:var(--green);
    font-weight:600;
}

.form-group{
    margin-bottom:18px;
    position:relative;
}

.form-group i{
    position:absolute;
    left:15px;
    top:14px;
    color:var(--green);
}

.form-group i.fa-lock {
    position: absolute;
    top: 12px;
    left: 10px;
    color: #888;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 12px;
    cursor: pointer;
    color: #888;
}

.form-control{
    width:100%;
    padding:12px 12px 12px 45px;
    border-radius:10px;
    border:1px solid #ddd;
    outline:none;
    transition:0.3s;
}

.form-control:focus{
    border-color:var(--green);
    box-shadow:0 0 0 3px rgba(15,124,58,0.15);
}

.btn-login{
    width:100%;
    padding:12px;
    background:var(--green);
    color:white;
    border:none;
    border-radius:10px;
    font-weight:500;
    cursor:pointer;
    transition:0.3s;
    margin-top:10px;
}

.btn-login:hover{
    background:var(--gold);
    color:#000;
}

.links{
    margin-top:18px;
    font-size:13px;
    color:var(--gray);
}

.links p{
    margin:8px 0;
}

.links a{
    color:var(--green);
    text-decoration:none;
    font-weight:500;
}

.footer{
    margin-top:40px;
    font-size:12px;
    color:var(--gray);
}


.form-group{
    margin-bottom:15px;
    position:relative;
}

.form-group i{
    position:absolute;
    left:15px;
    top:14px;
    color:#0F7C3A;
}

.form-control{
    width:100%;
    padding:12px 12px 12px 45px;
    border-radius:10px;
    border:1px solid #ddd;
    outline:none;
}

.btn-login{
    width:100%;
    padding:12px;
    background:#0F7C3A;
    color:white;
    border:none;
    border-radius:10px;
    font-weight:500;
    cursor:pointer;
    transition:0.3s;
}

.btn-login:hover{
    background:#F4C430;
    color:#000;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width:1200px){
    .asn-illustration{
        width: 50%;
    }
}

/* Medium */
@media (max-width:992px){

    .wrapper{
        flex-direction:column;
    }

    .landing{
        padding:50px 30px;
        text-align:center;
    }

    .branding{
        flex-direction:column;
        text-align:center;
    }

    .brand-logo img{
        width:85px;
    }

    .brand-text h1{
        font-size:28px;
    }

    .brand-text h2{
        font-size:16px;
    }

    .landing p{
        max-width:100%;
        font-size:14px;
    }

    .asn-illustration{
        position:static;
        width: 50%;
        margin-top:30px;
    }
    
    

    .login-side{
        width:100%;
        padding:40px 30px;
        box-shadow:none;
    }
}

/* Small Mobile */
@media (max-width:576px){

    .landing{
        padding:40px 20px;
    }

    .brand-text h1{
        font-size:22px;
    }

    .brand-text h2{
        font-size:14px;
    }

    .login-card h3{
        font-size:18px;
        text-align:center;
    }

    .form-control{
        font-size:14px;
        padding:10px 10px 10px 40px;
    }

    .btn-login{
        padding:10px;
    }

.asn-illustration{
    display:block;
    margin:40px auto 0 auto; /* jarak dari teks + center */
    max-width:380px;
    width:100%;
    height:auto;
}
}