/* =====================================
   GOOGLE FONT
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* =====================================
   BODY
===================================== */

body{

    min-height:100vh;

    background:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

/* =====================================
   LOGIN WRAPPER
===================================== */

.login-wrapper{

    width:100%;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

}

/* =====================================
   LOGIN CARD
===================================== */

.login-card{

    width:1200px;

    max-width:100%;

    min-height:720px;

    display:flex;

    overflow:hidden;

    border-radius:28px;

    background:#ffffff;

    box-shadow:
        0 25px 60px rgba(0,0,0,.18);

}

/* =====================================
   LEFT PANEL
===================================== */

.left-panel{

    position:relative;

    width:45%;

    background:linear-gradient(
        160deg,
        #FFD600 0%,
        #FFC400 45%,
        #0095D9 100%
    );

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:60px;

    overflow:hidden;

}

/* Decorative circles */

.left-panel::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-120px;

    left:-140px;

}

.left-panel::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    bottom:-80px;

    right:-90px;

}

/* =====================================
   PATTERN OVERLAY
===================================== */

.pattern-overlay{

    position:absolute;

    inset:0;

    background-image:

        radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);

    background-size:22px 22px;

    opacity:.45;

}

/* =====================================
   BRAND
===================================== */

.brand{

    position:relative;

    z-index:2;

}

.brand-logo{

    width:180px;
    height:180px;

    object-fit:cover;

    border-radius:50%;

    background:#ffffff;

    padding:8px;

    border:4px solid rgba(255,255,255,.9);

    box-shadow:
        0 10px 25px rgba(0,0,0,.45),
        0 0 20px rgba(0,0,0,.15);

    display:block;

    margin-bottom:25px;

}

.brand h1{

    font-size:44px;

    font-weight:700;

    margin-bottom:8px;

}

.brand span{

    color:#0F172A;

}

.brand h5{

    font-size:18px;

    font-weight:400;

    opacity:.95;

}

/* =====================================
   WELCOME
===================================== */

.welcome-text{

    position:relative;

    z-index:2;

}

.welcome-text h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:18px;

}

.yellow-line{

    width:90px;

    height:6px;

    border-radius:20px;

    background:#ffffff;

    margin-bottom:25px;

}

.welcome-text p{

    font-size:18px;

    line-height:34px;

    opacity:.95;

    max-width:360px;

}

/* =====================================
   RIGHT PANEL
===================================== */

.right-panel{

    flex:1;

    background:#fff;

    padding:60px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}



/* =====================================
   LOGIN CONTENT
===================================== */

.login-content{

    width:100%;

    max-width:420px;

    margin:0 auto;

}

/* =====================================
   LOGIN TITLE
===================================== */

.login-content h2{

    font-size:34px;

    font-weight:700;

    color:#0F172A;

    margin-bottom:8px;

}

.login-content p{

    color:#64748B;

    font-size:15px;

    margin-bottom:35px;

}

/* =====================================
   FORM GROUP
===================================== */

.input-group-custom{

    margin-bottom:25px;

}

.input-group-custom label{

    display:block;

    margin-bottom:10px;

    font-size:14px;

    font-weight:600;

    color:#334155;

}

/* =====================================
   INPUT BOX
===================================== */

.input-box{

    position:relative;

    display:flex;

    align-items:center;

}

.input-box i:first-child{

    position:absolute;

    left:18px;

    color:#94A3B8;

    font-size:18px;

}

.input-box input{

    width:100%;

    height:58px;

    border:1px solid #CBD5E1;

    border-radius:14px;

    outline:none;

    padding-left:52px;

    padding-right:50px;

    font-size:15px;

    transition:.3s;

    background:#fff;

}

.input-box input:focus{

    border-color:#0095D9;

    box-shadow:0 0 0 4px rgba(0,149,217,.10);

}

.toggle-password{

    position:absolute;

    right:18px;

    color:#94A3B8;

    cursor:pointer;

    font-size:18px;

}

/* =====================================
   LOGIN BUTTON
===================================== */

.login-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:#FFD600;

    color:#0F172A;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:40px;   /* <-- Add this */

    box-shadow:0 10px 25px rgba(255,214,0,.35);

}

.login-btn:hover{

    background:#FFC400;

    transform:translateY(-2px);

    box-shadow:0 15px 30px rgba(255,214,0,.45);

}

.login-btn:active{

    transform:scale(.98);

}

/* =====================================
   FOOTER
===================================== */

.login-footer{

    margin-top:auto;

    text-align:center;

    font-size:13px;

    color:#64748B;

    padding-top:25px;

    border-top:1px solid #E5E7EB;

}

.login-footer a{

    color:#0095D9;

    text-decoration:none;

    font-weight:600;

}

.login-footer a:hover{

    text-decoration:underline;

}

/* =====================================
   SMOOTH ANIMATION
===================================== */

.login-card{

    animation:fadeIn .8s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 1200px){

    .login-card{

        width:95%;

    }

}

@media (max-width: 992px){

    .login-card{

        flex-direction:column;

        min-height:auto;

    }

    .left-panel{

        width:100%;

        padding:50px;

        min-height:320px;

    }

    .right-panel{

        width:100%;

        padding:50px 40px;

    }

    .brand-logo{

        width:140px;

    }

    .welcome-text h2{

        font-size:34px;

    }

}

@media (max-width: 768px){

    body{

        overflow:auto;

    }

    .login-wrapper{

        padding:20px;

    }

    .login-card{

        border-radius:20px;

    }

    .left-panel{

        padding:40px 30px;

    }

    .right-panel{

        padding:40px 30px;

    }

    .brand h1{

        font-size:36px;

    }

    .brand h5{

        font-size:16px;

    }

    .welcome-text h2{

        font-size:30px;

    }

    .welcome-text p{

        font-size:16px;

        line-height:28px;

    }

    .login-content{

        max-width:100%;

    }

    .login-content h2{

        font-size:30px;

    }

}

@media (max-width:576px){

    .login-wrapper{

        padding:15px;

    }

    .left-panel{

        padding:30px 25px;

    }

    .right-panel{

        padding:30px 25px;

    }

    .brand-logo{

        width:110px;

    }

    .brand h1{

        font-size:30px;

    }

    .brand h5{

        font-size:15px;

    }

    .welcome-text h2{

        font-size:26px;

    }

    .welcome-text p{

        font-size:15px;

        line-height:25px;

    }

    .login-content h2{

        font-size:28px;

    }

    .login-btn,
    .input-box input{

    height:52px;

}

}

/* =====================================
   SCROLLBAR
===================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#F1F5F9;

}

::-webkit-scrollbar-thumb{

    background:#94A3B8;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#64748B;

}

/* =====================================
   FORGOT PASSWORD
===================================== */

.forgot-password{
    display: block;
    text-align: right;
    margin-bottom: 30px;   /* Space bawah link */
    color: #0d6efd;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.forgot-password:hover{

    color:#0a58ca;

    text-decoration:underline;

}

.clentra-popup{
    width:380px !important;
    border-radius:18px !important;
    padding:25px !important;
}

.clentra-text{
    font-size:18px !important;
    font-weight:600 !important;
    color:#444 !important;
    line-height:1.5;
}

/* =========================================================
   LOGIN - TERMS & PRIVACY
========================================================= */

.login-terms {
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;

    border-top: 1px solid #e5e7eb;

    text-align: center;

    font-size: 12px;
    line-height: 1.6;

    color: #7b8ba3;
}

.login-terms a {
    display: inline !important;

    width: auto !important;
    min-height: auto !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #008fd3 !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    white-space: nowrap;
}

.login-terms a:hover {
    color: #006fa8 !important;
    text-decoration: underline !important;
}

.login-terms .divider {
    display: inline-block;

    margin: 0 8px;

    color: #9aa7b8;
}

/* =====================================================
   CLENTRA TERMS & PRIVACY POPUP
===================================================== */

.clentra-modal {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(15, 23, 42, 0.55);

    z-index: 99999;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

}


/* SHOW POPUP */

.clentra-modal.show {

    display: flex;

}


/* POPUP BOX */

.clentra-modal-box {

    width: 100%;
    max-width: 600px;

    max-height: 85vh;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(15, 42, 72, 0.25);

    animation: clenTraModalShow 0.2s ease;

}


/* ANIMATION */

@keyframes clenTraModalShow {

    from {

        opacity: 0;

        transform: translateY(-15px) scale(0.98);

    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);

    }

}


/* HEADER */

.clentra-modal-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 24px;

    background: #FFD600;

}


.clentra-modal-header h5 {

    margin: 0;

    color: #10233F;

    font-size: 20px;

    font-weight: 700;

}


/* CLOSE X */

.clentra-close {

    width: 34px;
    height: 34px;

    border: none;

    background: transparent;

    color: #10233F;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

}


.clentra-close:hover {

    background: rgba(255,255,255,0.35);

}


/* BODY */

.clentra-modal-body {

    padding: 24px;

    max-height: 55vh;

    overflow-y: auto;

    color: #555;

    font-size: 14px;

    line-height: 1.8;

}


.clentra-modal-body p {

    margin: 0;

}


/* FOOTER */

.clentra-modal-footer {

    padding: 15px 24px;

    border-top: 1px solid #eeeeee;

    display: flex;

    justify-content: flex-end;

}


/* CLOSE BUTTON */

.clentra-modal-btn {

    border: none;

    background: #FFD600;

    color: #10233F;

    font-size: 14px;

    font-weight: 600;

    padding: 9px 22px;

    border-radius: 9px;

    cursor: pointer;

}


.clentra-modal-btn:hover {

    background: #f3c800;

}


/* PREVENT BACKGROUND SCROLL */

body.clentra-modal-open {

    overflow: hidden;

}


/* MOBILE */

@media (max-width: 576px) {

    .clentra-modal {

        padding: 15px;

    }

    .clentra-modal-box {

        max-height: 90vh;

        border-radius: 15px;

    }

    .clentra-modal-header {

        padding: 17px 18px;

    }

    .clentra-modal-header h5 {

        font-size: 17px;

    }

    .clentra-modal-body {

        padding: 18px;

        font-size: 13px;

        line-height: 1.7;

    }

    .clentra-modal-footer {

        padding: 12px 18px;

    }

}

/* =========================================================
   CLENTRA LOGIN - MOBILE FIX
========================================================= */

@media (max-width: 768px) {

    body {
        min-height: 100vh !important;
        height: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        display: block !important;
    }

    .login-wrapper {
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    .login-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .left-panel {
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        padding: 35px 25px 40px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .brand {
        width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .brand-logo {
        width: 100px !important;
        height: 100px !important;
        margin: 0 0 18px 0 !important;
        padding: 6px !important;
        border-width: 3px !important;
        display: block !important;
    }

    .brand h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 5px !important;
    }

    .brand h5 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .welcome-text {
        margin-top: 30px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .welcome-text h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    .yellow-line {
        width: 70px !important;
        height: 5px !important;
        margin-bottom: 18px !important;
    }

    .welcome-text p {
        font-size: 14px !important;
        line-height: 23px !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
    }

    .right-panel {
        width: 100% !important;
        padding: 35px 25px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    .login-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .login-content h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .login-content p {
        font-size: 14px !important;
        margin-bottom: 28px !important;
    }

    .input-group-custom {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .input-group-custom label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .input-box {
        width: 100% !important;
    }

    .input-box input {
        width: 100% !important;
        height: 52px !important;
        font-size: 14px !important;
        padding-left: 48px !important;
        padding-right: 48px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .input-box i:first-child {
        left: 16px !important;
        font-size: 17px !important;
    }

    .toggle-password {
        right: 16px !important;
        font-size: 17px !important;
    }

    .forgot-password {
        display: block !important;
        text-align: right !important;
        margin-bottom: 20px !important;
        font-size: 14px !important;
    }

    .login-btn {
        width: 100% !important;
        height: 52px !important;
        margin-top: 20px !important;
        border-radius: 12px !important;
        font-size: 15px !important;
        white-space: nowrap !important;
    }

    .login-footer {
        width: 100% !important;
        margin-top: 30px !important;
        padding-top: 20px !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
        box-sizing: border-box !important;
    }

    .login-terms {
        width: 100% !important;
        margin-top: 20px !important;
        padding-top: 15px !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
    }

    .login-terms a {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 576px) {

    .login-wrapper {
        padding: 8px !important;
    }

    .login-card {
        border-radius: 14px !important;
    }

    .left-panel {
        padding: 30px 22px 35px !important;
    }

    .brand-logo {
        width: 95px !important;
        height: 95px !important;
        margin-bottom: 16px !important;
    }

    .brand h1 {
        font-size: 28px !important;
    }

    .brand h5 {
        font-size: 14px !important;
    }

    .welcome-text {
        margin-top: 27px !important;
    }

    .welcome-text h2 {
        font-size: 25px !important;
    }

    .welcome-text p {
        font-size: 14px !important;
        line-height: 23px !important;
    }

    .right-panel {
        padding: 30px 22px 25px !important;
    }

    .login-content h2 {
        font-size: 27px !important;
    }

    .login-content p {
        font-size: 13px !important;
    }

    .input-box input {
        height: 50px !important;
    }

    .login-btn {
        height: 50px !important;
    }
}

@media (max-width: 400px) {

    .left-panel {
        padding: 25px 20px 30px !important;
    }

    .brand-logo {
        width: 85px !important;
        height: 85px !important;
    }

    .brand h1 {
        font-size: 26px !important;
    }

    .welcome-text {
        margin-top: 22px !important;
    }

    .welcome-text h2 {
        font-size: 23px !important;
    }

    .welcome-text p {
        font-size: 13px !important;
        line-height: 21px !important;
    }

    .right-panel {
        padding: 28px 20px 22px !important;
    }
}

