/* ==========================================================
   ROOT
========================================================== */
:root{
    --primary:#22BAB0;
    --primary-dark:#14998F;
    --secondary:#A6D65E;
    --background:#F5F7FB;
    --card:#FFFFFF;
    --text:#344054;
    --text-light:#667085;
    --radius:28px;
    --shadow: 0 20px 60px rgba(15,23,42,.08);
    --transition:.35s ease;
}
/* ==========================================================
   RESET
========================================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}
body{
    font-family:'Poppins',sans-serif;
    background:var(--background);
    color:var(--text);
    min-height:100vh;
    overflow-x:hidden;
}
/* ==========================================================
   BACKGROUND
========================================================== */
body{
    position:relative;
    background: linear-gradient(135deg, #F6FCFC, #EFF8F8, #F5F7FB);
}
/* ==========================================================
   FLOATING BLOB
========================================================== */
body::before{
    content:"";
    position:fixed;
    width:650px;
    height:650px;
    left:-180px;
    top:-180px;
    border-radius:50%;
    background: radial-gradient(circle, rgba(34,186,176,.22), transparent 70%);
    filter:blur(30px);
    animation:blobMove 18s ease-in-out infinite;
    z-index:0;
}
body::after{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    right:-150px;
    bottom:-150px;
    border-radius:50%;
    background: radial-gradient(circle, rgba(166,214,94,.20), transparent 70%);
    filter:blur(25px);
    animation:blobMove2 20s ease-in-out infinite;
    z-index:0;
}
/* ==========================================================
   LOGIN WRAPPER
========================================================== */
.login-wrapper{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:100vh;
    overflow:hidden;
}
/* ==========================================================
   DECORATION
========================================================== */
.login-wrapper::before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    border-radius:50%;
    background:rgba(34,186,176,.08);
    top:80px;
    right:120px;
    filter:blur(20px);
}
.login-wrapper::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    border-radius:50%;
    background:rgba(166,214,94,.10);
    bottom:60px;
    left:120px;
    filter:blur(15px);
}
/* ==========================================================
   ANIMATION
========================================================== */
@keyframes blobMove{
    0%{
        transform: translate(0,0) scale(1);
    }
    50%{
        transform: translate(50px,30px) scale(1.08);
    }
    100%{
        transform: translate(0,0) scale(1);
    }
}
@keyframes blobMove2{
    0%{
        transform: translate(0,0) scale(1);
    }
    50%{
        transform: translate(-45px,-25px) scale(1.05);
    }
    100%{
        transform: translate(0,0) scale(1);
    }
}
/* ==========================================================
   HERO SECTION
========================================================== */
.login-hero{
    flex:1;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px;
    position:relative;
    overflow:hidden;
    background: linear-gradient(135deg, #22BAB0 0%, #1CB2A7 35%, #14998F 100%);
}
/* Overlay Gradient */

.login-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at bottom left, rgba(255,255,255,.10), transparent 45%);
}
/* Decoration Circle */
.login-hero::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background: rgba(255,255,255,.05);
    top:-180px;
    right:-120px;
}
/* ==========================================================
   HERO CONTENT
========================================================== */
.hero-content{
    position:relative;
    z-index:5;
    max-width:560px;
    color:#FFFFFF;
}
/* ==========================================================
   LOGO
========================================================== */
.hero-logo{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:35px;
}
.hero-icon{
    width:62px;
    height:62px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    background: rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero-icon img{
    width:62px;
    height:62px;
}
.hero-logo h3{
    margin:0;
    font-weight:700;
    font-size:24px;
    letter-spacing:.5px;
}
.hero-logo p{
    margin:0;
    opacity:.85;
    color:#FFFFFF;
    font-size:14px;
}
/* ==========================================================
   BADGE
========================================================== */
.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    margin-bottom:28px;
    background: rgba(255,255,255,.15);
    backdrop-filter:blur(15px);
    font-size:14px;
    font-weight:600;
    color:#FFFFFF;
}
.hero-badge i{
    font-size:17px;
}
/* ==========================================================
   TITLE
========================================================== */
.hero-content h1{
    font-size:50px;
    line-height:1.2;
    font-weight:700;
    margin-bottom:22px;
}
/* ==========================================================
   DESCRIPTION
========================================================== */
.hero-text{
    font-size:17px;
    line-height:1.9;
    opacity:.92;
    color:#F8FAFC;
    margin-bottom:45px;
}
/* ==========================================================
   ILLUSTRATION
========================================================== */
.hero-image{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}
.hero-image img{
    width:50%;
    max-width:520px;
    animation: floatImage 5s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,.18));
}
/* ==========================================================
   FLOAT ANIMATION
========================================================== */
@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-14px);
    }
    100%{
        transform: translateY(0);
    }
}
/* ==========================================================
   HERO CONTENT ANIMATION
========================================================== */
.hero-logo{
    animation:fadeLeft .8s ease;
}
.hero-badge{
    animation:fadeLeft 1s ease;
}
.hero-content h1{
    animation:fadeLeft 1.2s ease;
}
.hero-text{
    animation:fadeLeft 1.4s ease;
}
.hero-image{
    animation:fadeUp 1.6s ease;
}
/* ==========================================================
   KEYFRAMES
========================================================== */
@keyframes fadeLeft{
    from{
        opacity:0;
        transform: translateX(-40px);
    }
    to{
        opacity:1;
        transform: translateX(0);
    }
}
@keyframes fadeUp{
    from{
        opacity:0;
        transform: translateY(40px);
    }
    to{
        opacity:1;
        transform: translateY(0);
    }
}
/* ==========================================================
   LOGIN CARD
========================================================== */
.login-form-area{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    position:relative;
    z-index:2;
}
.login-card{
    width:100%;
    max-width:470px;
    background:#FFFFFF;
    border-radius:30px;
    padding:45px;
    box-shadow: 0 20px 60px rgba(15,23,42,.08);
    border:1px solid rgba(34,186,176,.08);
    transition:.35s;
}
.login-card:hover{
    transform:translateY(-4px);
    box-shadow: 0 30px 80px rgba(15,23,42,.12);
}
/* ==========================================================
   HEADER
========================================================== */
.login-header{
    margin-bottom:35px;
}

.login-header h2{
    font-size:30px;
    font-weight:700;
    color:#1E293B;
    margin-bottom:8px;
}
.login-header p{
    color:#64748B;
    font-size:15px;
    margin:0;
}
/* ==========================================================
   FORM
========================================================== */
.form-group{
    margin-bottom:22px;
}
.form-group label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
    color:#344054;
    font-size:14px;
}
/* ==========================================================
   INPUT
========================================================== */
.input-group-custom{
    display:flex;
    align-items:center;
    background:#F8FAFC;
    border:2px solid transparent;
    border-radius:16px;
    padding:0 18px;
    transition:.30s;
}
.input-group-custom:focus-within{
    border-color:#22BAB0;
    background:#FFFFFF;
    box-shadow: 0 0 0 5px rgba(34,186,176,.12);
}
.input-group-custom i{
    font-size:18px;
    color:#94A3B8;
}
.input-group-custom input{
    flex:1;
    border:none;
    background:none;
    padding:15px 14px;
    font-size:15px;
    color:#334155;
    outline:none;
}
.input-group-custom input::placeholder{
    color:#94A3B8;
}
/* ==========================================================
   PASSWORD BUTTON
========================================================== */
.password-toggle{
    border:none;
    background:none;
    color:#94A3B8;
    cursor:pointer;
    transition:.25s;
    font-size:18px;
}
.password-toggle:hover{

    color:#22BAB0;

}
/* ==========================================================
   REMEMBER
========================================================== */
.login-option{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}
.login-option a{
    color:#22BAB0;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}
.login-option a:hover{
    text-decoration:underline;
}
.form-check-input{
    cursor:pointer;
}
.form-check-input:checked{
    background:#22BAB0;
    border-color:#22BAB0;
}
.form-check-label{
    cursor:pointer;
    font-size:14px;
    color: #8a94a6;
}
/* ==========================================================
   BUTTON LOGIN
========================================================== */

.btn-login{
    width:100%;
    border:none;
    border-radius:16px;
    padding:15px;
    font-size:16px;
    font-weight:600;
    color:#FFFFFF;
    background: linear-gradient(135deg, #22BAB0, #14998F);
    transition:.30s;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}
.btn-login:hover{
    transform:translateY(-2px);
    box-shadow: 0 15px 35px rgba(34,186,176,.35);
}
.btn-login:active{
    transform:scale(.98);
}

.btn-kembali{
    width:100%;
    border:none;
    border-radius:16px;
    padding:15px;
    font-size:16px;
    font-weight:600;
    color:#FFFFFF;
    background: linear-gradient(135deg, #ef475d, #e04459);
    transition:.30s;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}
.btn-kembali:hover{
    transform:translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,186,176,.35);
}
.btn-kembali:active{
    transform:scale(.98);
}
/* ==========================================================
   DIVIDER
========================================================== */
.login-divider{
    display:flex;
    align-items:center;
    gap:15px;
    margin:35px 0;
}
.login-divider::before,
.login-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#E5E7EB;
}
.login-divider span{
    font-size:13px;
    color:#94A3B8;
    white-space:nowrap;
}
/* ==========================================================
   FOOTER
========================================================== */
.login-footer{
    display:flex;
    justify-content:space-between;
    color:#94A3B8;
    font-size:13px;
}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1200px){
    .login-hero{
        padding:60px;
    }
    .hero-content h1{
        font-size:42px;
    }
    .hero-image img{
        max-width:430px;
    }
}
/* ==========================================================
   TABLET
========================================================== */
@media (max-width:992px){
    .login-wrapper{
        flex-direction:column;
    }
    .login-hero{
        width:100%;
        min-height:430px;
        padding:60px 35px;
        border-radius:0 0 35px 35px;
    }
    .hero-content{
        max-width:100%;
        text-align:center;
    }
    .hero-logo{
        justify-content:center;
    }
    .hero-image{
        margin-top:30px;
    }
    .hero-image img{
        max-width:340px;
    }
    .login-form-area{
        width:100%;
        padding:45px 25px;
    }
    .login-card{
        max-width:520px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width:768px){
    .login-wrapper{
        display:block;
    }
    .login-hero{
        min-height:auto;
        padding:45px 25px 55px;
        border-radius:0 0 28px 28px;
    }
    .hero-logo{
        margin-bottom:25px;
    }
    .hero-icon{
        width:58px;
        height:58px;
        font-size:28px;
        border-radius:18px;
    }
    .hero-logo h3{
        font-size:20px;
    }
    .hero-logo p{
        font-size:13px;
    }
    .hero-badge{
        font-size:13px;
        padding:9px 15px;
    }
    .hero-content h1{
        font-size:32px;
        margin-bottom:18px;
    }
    .hero-text{
        font-size:15px;
        line-height:1.7;
        margin-bottom:30px;
    }
    .hero-image img{
        max-width:280px;
    }
    .login-form-area{
        padding:35px 18px;
    }
    .login-card{
        border-radius:24px;
        padding:30px 22px;
    }
    .login-header{
        text-align:center;
    }
    .login-header h2{
        font-size:25px;
    }
    .login-header p{
        font-size:14px;
    }
    .login-option{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }
    .login-footer{
        flex-direction:column;
        align-items:center;
        gap:6px;
        text-align:center;
    }
}
/* ==========================================================
   SMALL MOBILE
========================================================== */
@media (max-width:480px){
    .login-hero{
        padding:35px 18px 45px;
    }
    .hero-content h1{
        font-size:28px;
    }
    .hero-text{
        font-size:14px;
    }
    .hero-image img{
        max-width:220px;
    }
    .login-form-area{
        padding:20px 14px 35px;
    }
    .login-card{
        padding:24px 18px;
        border-radius:22px;
    }
    .input-group-custom{
        border-radius:14px;
    }
    .btn-login{
        padding:14px;
        font-size:15px;
    }
    .btn-kembali{
        padding:14px;
        font-size:15px;
    }
}
/* ==========================================================
   DARK MODE READY
========================================================== */
body.dark{
    --background:#0F172A;
    --card:#162033;
    --text:#F8FAFC;
    --text-light:#CBD5E1;
    background:#0F172A;
    color:#F8FAFC;
}
body.dark .login-card{
    background:#162033;
    color:#FFFFFF;
    border:1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
body.dark .login-header h2{
    color:#FFFFFF;
}
body.dark .login-header p{
    color:#CBD5E1;
}
body.dark .form-group label{
    color:#F1F5F9;
}
body.dark .input-group-custom{
    background:#1E293B;
}
body.dark .input-group-custom input{
    color:#FFFFFF;
}
body.dark .input-group-custom input::placeholder{
    color:#94A3B8;
}
body.dark .login-divider::before,
body.dark .login-divider::after{
    background:#334155;
}
body.dark .login-divider span{
    color:#94A3B8;
}
body.dark .login-footer{
    color:#94A3B8;
}
body.dark .form-check-label{
    color:#E2E8F0;
}
body.dark .login-option a{
    color:#61D7CF;
}
body.dark .password-toggle{
    color:#CBD5E1;
}
body.dark .password-toggle:hover{
    color:#61D7CF;
}
/* ==========================================
   RIPPLE EFFECT
========================================== */
.btn-login{
    position:relative;
    overflow:hidden;
}
.btn-kembali{
    position:relative;
    overflow:hidden;
}
.ripple{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.45);
    transform:scale(0);
    animation:ripple .6s linear;
    pointer-events:none;
}
@keyframes ripple{
    to{
        transform:scale(4);
        opacity:0;
    }
}
/* ==========================================
   INPUT FOCUS
========================================== */
.input-group-custom.focused{
    transform:translateY(-2px);
    transition:.3s;
}
.theme-toggle{
    position:fixed;
    top:30px;
    right:30px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#FFFFFF;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    cursor:pointer;
    z-index:999;
    transition:.3s;
}
.theme-toggle:hover{
    transform:rotate(20deg);
    background:#22BAB0;
    color:#FFFFFF;
}
body.dark .theme-toggle{
    background:#343a40;
    color: #22bab1;
    box-shadow:0 5px 15px rgba(255,255,255,.28);
}
body.dark .theme-toggle:hover{
    background:#343a40;
    color: #e9ecef;
}