/* ===========================================================
   GP ANSOR WARULOR SYSTEM
   LOGIN PAGE
=========================================================== */

/* ===========================================================
   RESET
=========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html,
.body{

    width:100%;
    height:100%;
    overflow:hidden;

}

.body{

    font-family:var(--font-primary);

    background:#ffffff;

}

/* ===========================================================
   WRAPPER
=========================================================== */

.login-wrapper{

    width:100%;
    height:100vh;

    display:grid;

    grid-template-columns:46% 54%;

    overflow:hidden;

}

/* ===========================================================
   LEFT PANEL
=========================================================== */

.login-left{

    position:relative;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    background:

        radial-gradient(circle at top left,
        rgba(11,122,59,.12),
        transparent 55%),

        linear-gradient(
            180deg,
            #F8FCF9 0%,
            #EEF8F2 100%
        );

}

/* ===========================================================
   GLOW
=========================================================== */

.login-left::before{

    content:"";

    position:absolute;

    width:700px;
    height:700px;

    border-radius:50%;

    background:rgba(11,122,59,.05);

    top:-250px;
    left:-250px;

}

.login-left::after{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:rgba(11,122,59,.08);

    right:-180px;
    top:140px;

}

/* ===========================================================
   CONTENT
=========================================================== */

.left-content{

    position:relative;
	margin-top:25px;
    z-index:20;
    width:100%;
    max-width:620px;
    padding:80px 70px 0;
	padding-top:140px;

}

.left-logo{

    width:78px;
    margin-bottom:20px;

}

.left-content h1{

    font-size:22x;
    line-height:62px;
    font-weight:600;
    color:#0B7A3B;
    margin-bottom:1px;
	white-space:nowrap;
}

.left-content h2{

    font-size:22px;
    line-height:34px;
    color:#64748B;
    font-weight:200;
	margin-top:10px;

}

.left-divider{

    display:block;
    width:100px;
    height:4px;
    border-radius:999px;
    background:#0B7A3B;
    margin:10px

}

.left-content p{
    max-width:380px;

}

/* ===========================================================
   WAVE
=========================================================== */

.wave{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    z-index:30;

}

.wave img{

    display:block;

    width:100%;

}
/* ===========================================================
   RIGHT PANEL
=========================================================== */

.login-right{

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
	padding:35px 60px;
	height:100vh;

}

.login-footer{

    margin-top:24px;

    text-align:center;

    font-size:14px;

    color:#94A3B8;

}

/* ===========================================================
   LOGIN CARD
=========================================================== */

.login-card{

    width:100%;
    max-width:500px;
    background:#ffffff;
    border-radius:28px;
    padding:35px 45px;
    box-shadow:0 20px 60px rgba(15,23,42,.08);
    border:1px solid #EEF2F7;
    position:relative;
    z-index:100;

}

/* ===========================================================
   LOGO
=========================================================== */

.login-logo{

    width:78px;
    display:block;
    margin:0 auto 20px;

}

.login-card h3{

    text-align:center;
    font-size:30px;
    font-weight:700;
    color:#0B7A3B;
    margin-bottom:12px;

}

.login-card>p{

    text-align:center;
    color:#64748B;
    font-size:17px;
    line-height:28px;

}

/* ===========================================================
   DIVIDER
=========================================================== */

.card-divider{

    display:block;
    width:65px;
    height:4px;
    border-radius:999px;
    background:#0B7A3B;
    margin:

        28px auto
       40px;

}

/* ===========================================================
   FORM
=========================================================== */

.login-form{

    display:flex;
    flex-direction:column;
    gap:24px;

}

.form-group{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.form-group label{

    font-size:15px;

    font-weight:600;

    color:#334155;

}

/* ===========================================================
   INPUT GROUP
=========================================================== */

.input-group{

    position:relative;

}

.input-icon{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#0B7A3B;

    font-size:18px;

}

.input-group input{

    width:100%;

    height:58px;

    padding-left:52px;

    padding-right:52px;

    border:1.5px solid #D9E2EC;

    border-radius:18px;

    outline:none;

    font-size:16px;

    transition:.25s;

    background:#ffffff;

}

.input-group input:focus{

    border-color:#0B7A3B;

    box-shadow:

        0 0 0 4px rgba(11,122,59,.08);

}

/* ===========================================================
   PASSWORD
=========================================================== */

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    cursor:pointer;

    color:#94A3B8;

    font-size:18px;

}

/* ===========================================================
   OPTION
=========================================================== */

.login-option{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:-6px;

}

.remember{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:15px;

    color:#475569;

}

.remember input{

    width:16px;

    height:16px;

}

.forgot-password{

    color:#0B7A3B;

    text-decoration:none;

    font-weight:600;

    font-size:15px;

}

.forgot-password:hover{

    text-decoration:underline;

}

.form-error{

    color:#DC2626;

    font-size:13px;

    margin-top:6px;

}
/* ===========================================================
   BUTTON
=========================================================== */

.login-btn{

    width:100%;
    height:60px;

    border:none;

    border-radius:16px;

    background:#0B7A3B;

    color:#ffffff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    transition:.30s;

    box-shadow:

        0 15px 35px rgba(11,122,59,.20);

}

.login-btn:hover{

    background:#096834;

    transform:translateY(-2px);

    box-shadow:

        0 22px 45px rgba(11,122,59,.25);

}

.login-btn span{

    font-size:22px;

}

/* ===========================================================
   FOOTER
=========================================================== */

.login-footer{

    margin-top:35px;

    padding-top:25px;

    border-top:1px solid #EEF2F7;

    text-align:center;

    color:#94A3B8;

    font-size:14px;

}

/* ===========================================================
   CARD EFFECT
=========================================================== */

.login-card{

    transition:
        transform .35s,
        box-shadow .35s;

}

.login-card:hover{

    transform:translateY(-4px);
    box-shadow:

        0 35px 70px rgba(15,23,42,.12);

}

/* ===========================================================
   INPUT EFFECT
=========================================================== */

.input-group input{

    transition:

        border-color .25s,
        box-shadow .25s,
        transform .25s;

}

.input-group input:focus{

    transform:translateY(-1px);

}

/* ===========================================================
   LOGO ANIMATION
=========================================================== */

.left-logo,
.login-logo{

    animation:logoFloat 6s ease-in-out infinite;

}

@keyframes logoFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-5px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media (max-width:992px){

    .login-wrapper{

        grid-template-columns:1fr;

    }

    .login-left{

        display:none;

    }

    .login-right{

        width:100%;
        min-height:100vh;
        padding:30px;
        background:#F8FAFC;

    }

    .login-card{

        max-width:500px;

        padding:40px;

    }

}

@media (max-width:576px){

    html,
    body{

        overflow:auto;

    }

    .login-right{

        padding:18px;

    }

    .login-card{

        width:100%;
        max-width:100%;
        padding:30px 22px;
        border-radius:22px;
        box-shadow:

            0 10px 30px rgba(15,23,42,.08);

    }

    .login-logo{

        width:64px;

    }

    .login-card h3{

        font-size:24px;

    }

    .login-card>p{

        font-size:15px;

    }

    .form-group label{

        font-size:14px;

    }

    .input-group input{

        height:54px;
        font-size:15px;

    }

    .login-btn{

        height:54px;
        font-size:17px;

    }

    .login-option{

        flex-direction:column;
        align-items:flex-start;
        gap:12px;

    }

}