@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100vh;
    font-family:'Inter',sans-serif;
    background:#ffffff;
    overflow-x:hidden;
}

/* ==================================================
   WRAPPER
================================================== */

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

/* ==================================================
   LEFT PANEL
================================================== */

.auth-info{

    width:44%;

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        #111111,
        #1f1f1f
    );

    color:#ffffff;

    padding:70px 60px;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

/* garis seperti rumahweb */

.auth-info::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    repeating-linear-gradient(
        -38deg,
        rgba(255,255,255,.03) 0px,
        rgba(255,255,255,.03) 2px,
        transparent 2px,
        transparent 95px
    );

    pointer-events:none;
}

.auth-info>*{
    position:relative;
    z-index:2;
}

.info-logo{
    margin-bottom:35px;
}

.info-logo img{

    width:82px;
    height:82px;

    border-radius:50%;

    background:#ffffff;

    padding:6px;
}

.info-title{

    font-size:30px;

    line-height:1.35;

    font-weight:700;

    margin-bottom:20px;

    max-width:500px;
}

.info-desc{

    max-width:480px;

    font-size:14px;

    line-height:2;

    opacity:.95;

    margin-bottom:35px;
}

/* maps */

.maps-box{

    width:100%;

    max-width:500px;

    height:150px;

    border-radius:16px;

    background:
    rgba(255,255,255,.08);

    border:
    1px solid rgba(255,255,255,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:20px;
}

.maps-placeholder{

    font-size:14px;

    line-height:1.8;
}

/* ==================================================
   RIGHT PANEL
================================================== */

.auth-wrapper .box{

    width:56%;

    background:#ffffff;

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:50px 80px;
}

.auth-wrapper .box h2,
.auth-wrapper .box .desc,
.auth-wrapper .box form,
.auth-wrapper .box .alert{
    width:100%;
    max-width:520px;
}

/* ==================================================
   TOP LINK
================================================== */

.top-link{

    position:absolute;

    top:50px;

    right:80px;

    color:#6b7280;

    font-size:14px;
}

.top-link a{

    color:#4f46e5;

    text-decoration:none;

    font-weight:600;
}

.top-link a:hover{

    text-decoration:underline;
}

/* ==================================================
   TITLE
================================================== */

h2{

    text-align:center;

    font-size:34px;

    font-weight:600;

    color:#4b5563;

    margin-bottom:12px;
}

.desc{

    text-align:center;

    color:#64748b;

    font-size:14px;

    line-height:1.8;

    margin-bottom:35px;
}

/* ==================================================
   ALERT
================================================== */

.alert{

    padding:14px 16px;

    border-radius:8px;

    margin-bottom:20px;

    font-size:14px;
}

.alert-danger{

    background:#fef2f2;

    border:1px solid #fecaca;

    color:#dc2626;
}

.alert-success{

    background:#f0fdf4;

    border:1px solid #bbf7d0;

    color:#15803d;
}

/* ==================================================
   FORM
================================================== */

.auth-wrapper form{

    width:100%;

    max-width:520px;

    display:flex;

    flex-direction:column;
}

.auth-wrapper form input:not([type="hidden"]),
.auth-wrapper form select{

    width:100%;

    height:50px;

    border:1px solid #d9dee8;

    border-radius:4px;

    padding:0 16px;

    margin-bottom:18px;

    font-size:14px;

    outline:none;

    background:#ffffff;

    transition:.2s;
}

.auth-wrapper form input:not([type="hidden"]):focus,
.auth-wrapper form select:focus{

    border-color:#5865f2;

    box-shadow:
    0 0 0 4px rgba(88,101,242,.10);
}

/* ==================================================
   BUTTON ROW
================================================== */

.action-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-top:8px;
}

.forgot-btn{

    width:180px;

    height:50px;

    border:1px solid #5865f2;

    border-radius:4px;

    text-decoration:none;

    color:#5865f2;

    font-size:14px;

    font-weight:500;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.2s;
}

.forgot-btn:hover{

    background:#f6f7ff;
}

.auth-wrapper form button{

    width:180px;

    height:50px;

    border:none;

    border-radius:4px;

    background:#5865f2;

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

form button:hover{

    background:#4f46e5;
}

/* ==================================================
   SOCIAL AREA
================================================== */

.social-login{

    width:100%;

    max-width:520px;

    margin-top:40px;

    display:flex;

    justify-content:center;

    gap:15px;
}

.social-login a{

    padding:12px 20px;

    border:1px solid #dbe2ea;

    border-radius:4px;

    color:#4b5563;

    text-decoration:none;

    font-size:14px;
}

.social-login a:hover{

    background:#f8fafc;
}

/* ==================================================
   REGISTER SECTION
================================================== */

.section-divider{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    margin:30px 0 22px;
}

.section-divider::before,
.section-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:#dbe2ea;
}

.section-divider span{

    color:#64748b;

    font-size:20px;

    font-weight:500;

    white-space:nowrap;
}

/* ==================================================
   FORM LABEL
================================================== */

.auth-wrapper form label{

    display:block;

    margin-bottom:8px;

    color:#475569;

    font-size:14px;

    font-weight:500;
}

/* ==================================================
   REGISTER PAGE
================================================== */

.auth-wrapper .box-register{

    justify-content:flex-start;

    overflow-y:auto;

    padding-top:120px;

    padding-bottom:60px;
}

.auth-wrapper .box-register form{

    max-width:520px;
}

.auth-wrapper .box-register button{

    width:100%;

    height:54px;

    margin-top:10px;
}

/* spacing lebih nyaman */

.box-register input,
.box-register select{

    margin-bottom:20px;
}

/* ==================================================
   RESET PASSWORD
================================================== */

.action-center{

    display:flex;

    justify-content:center;

    margin-top:15px;
}

.action-center button{

    width:220px !important;

    margin:0 !important;
}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:992px){

}

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

@media(max-width:992px){

    .auth-wrapper{
        flex-direction:column;
    }

    .auth-info,
    .auth-wrapper .box{
        width:100%;
    }

    .auth-info{
        padding:50px 30px;
    }

    .auth-wrapper .box{
        padding:40px 30px;
    }

    .top-link{

        position:static;

        margin-bottom:30px;

        text-align:right;
    }

    h2{
        font-size:28px;
    }

    .info-title{
        font-size:26px;
    }
}

@media(max-width:576px){

    .auth-info{
        padding:40px 20px;
    }

    .auth-wrapper .box{
        padding:30px 20px;
    }

    .info-title{
        font-size:22px;
    }

    .maps-box{
        height:120px;
    }

    .action-row{
        flex-direction:column;
    }

    .forgot-btn,
    form button{
        width:100%;
    }

    .social-login{
        flex-direction:column;
    }
}
/* =========================================
   KHUSUS LOGIN & DAFTAR
========================================= */

.auth-login .info-logo,
.auth-register .info-logo{

    width:100%;

    display:flex;

    justify-content:center;
}

.auth-login .info-title,
.auth-register .info-title{

    text-align:center;
}

.auth-login .info-desc,
.auth-register .info-desc{

    text-align:center;
}
.password-wrapper{
    position:relative;
}

.password-wrapper input{
    width:100%;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    user-select:none;
}