/* =====================================
   RESET
===================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",sans-serif;
}

/* =====================================
   BODY
===================================== */
body{
    min-height:100vh;
    min-height:100dvh; /* fix viewport mobile (address bar) */
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#a8e6cf,#dff7ea);
    padding:20px;
}

/* =====================================
   CONTAINER
===================================== */
.container{
    width:100%;
    max-width:580px;
}

/* =====================================
   CARD
===================================== */
.loginCard{
    background:#fff;
    border-radius:28px;
    padding:clamp(20px,5vw,45px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* =====================================
   LOGO
===================================== */
.logo{
    font-size:clamp(40px,10vw,58px);
    text-align:center;
    margin-bottom:10px;
}

/* =====================================
   TITLE
===================================== */
.loginCard h1{
    text-align:center;
    color:#2e7d32;
    font-size:clamp(24px,6vw,40px);
    margin-bottom:12px;
    font-weight:800;
    line-height:1.2;
}

.subtitle{
    text-align:center;
    color:#666;
    font-size:clamp(14px,3.5vw,18px);
    line-height:1.6;
    margin-bottom:clamp(20px,5vw,35px);
}

/* =====================================
   FORM
===================================== */
#loginGuru{
    display:flex;
    flex-direction:column;
    gap:clamp(14px,3vw,22px);
}

/* =====================================
   INPUT
===================================== */
.inputBox{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.inputBox label{
    color:#2e7d32;
    font-weight:700;
    font-size:clamp(14px,3.5vw,18px);
}

.inputBox input{
    width:100%;
    padding:14px 16px;
    border:2px solid #d6e8d8;
    border-radius:14px;
    font-size:16px; /* wajib >=16px agar tidak auto-zoom di iOS Safari */
    transition:.3s;
    outline:none;
    background:#fafafa;
}

.inputBox input:focus{
    border-color:#43a047;
    background:white;
    box-shadow:0 0 0 5px rgba(67,160,71,.15);
}

/* =====================================
   LOGIN BUTTON
===================================== */
.loginButton{
    width:100%;
    margin-top:10px;
    border:none;
    border-radius:18px;
    padding:16px;
    background:linear-gradient(135deg,#43a047,#2e7d32);
    color:white;
    font-size:clamp(16px,4vw,22px);
    font-weight:700;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    transition:.3s;
    box-shadow:0 10px 25px rgba(46,125,50,.30);
}

.loginButton:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(46,125,50,.40);
}

.loginButton:active{
    transform:scale(.98);
}

.arrow{
    transition:.3s;
    flex-shrink:0;
}

.loginButton:hover .arrow{
    transform:translateX(6px);
}

/* =====================================
   BACK BUTTON
===================================== */
.backButton{
    width:100%;
    margin-top:14px;
    padding:14px;
    border:none;
    border-radius:14px;
    background:#eceff1;
    color:#555;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.backButton:hover{
    background:#d6dce0;
}

/* =====================================
   RESPONSIVE — TABLET & KEBAWAH
===================================== */
@media(max-width:650px){

    body{
        padding:16px;
    }

    .loginCard{
        border-radius:20px;
    }
}

/* =====================================
   RESPONSIVE — HP KECIL (<=400px)
===================================== */
@media(max-width:400px){

    body{
        padding:10px;
    }

    .loginCard{
        border-radius:16px;
        box-shadow:0 10px 25px rgba(0,0,0,.12);
    }
}

/* =====================================
   RESPONSIVE — LANDSCAPE HP (layar pendek)
===================================== */
@media(max-height:500px) and (orientation:landscape){

    body{
        align-items:center;
        padding:12px;
    }

    .loginCard{
        padding:20px;
    }

    .logo{
        font-size:32px;
        margin-bottom:4px;
    }

    .subtitle{
        margin-bottom:14px;
    }
}