/* *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    background:#e9eef3;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
} */

/* Phone container */
.phone-container{
    margin: auto;
    margin-top: 70px ;
    max-width:360px;
}

.screen{
    background:white;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    overflow:hidden;
}

/* Header */

header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:18px;
    font-weight:600;
}

header h1{
    font-size:20px;
}

.back-icon{
    font-size:20px;
    cursor:pointer;
}

/* Form */

form{
    padding:20px;
}

.input-group{
    margin-bottom:16px;
}

label{
    font-size:13px;
    color:#666;
    margin-bottom:6px;
    display:block;
}

/* Input */

input, select{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    background:#f6f7f9;
    font-size:14px;
}

input:focus, select:focus{
    outline:none;
    border-color:#3b82f6;
    background:white;
}

/* Row */

.row{
    display:flex;
    gap:10px;
}

.half{
    flex:1;
}

.small{
    width:80px;
}

.large{
    flex:1;
}

.align-end{
    align-items:flex-end;
}

/* Icons inside input */

.input-with-icon{
    position:relative;
}

.input-with-icon input{
    padding-right:35px;
}

.input-icon{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    font-size:16px;
    color:#777;
}

/* Select icon */

.select-wrapper{
    position:relative;
}

.dropdown-icon{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    font-size:12px;
    color:#777;
}

/* No WA */

.no-wa{
    display:flex;
    align-items:center;
}

.country-code{
width:90px;
/* padding:10px; */
border:1px solid #ddd;
/* border-radius: 10px 0 0 10px ; */
font-size:14px;
background:#f7f7f7;
}

/* .no-wa input{
    border-radius:0 10px 10px 0;
} */

/* Detail Pesanan */

.detail-pesanan{
    background:#f7f8fa;
    padding:15px;
    border-radius:12px;
    margin-top:10px;
}

.detail-pesanan h2{
    font-size:16px;
    margin-bottom:10px;
}

.detail-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
    font-size:14px;
}

.price{
    font-weight:500;
}

.total-detail{
    display:flex;
    justify-content:space-between;
    margin-top:8px;
    font-weight:bold;
}

.total-price{
    color:#16a34a;
}

/* Footer */

.footer4{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    border-top:1px solid #eee;
}

.grand-total{
    font-weight:bold;
    font-size:16px;
}

.bayar-btn{
    background:#16a34a;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.bayar-btn:hover{
    background:#15803d;
}



.popup-policy{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
z-index:999;

justify-content:center;
align-items:center;
}

.popup-content{
background:white;
padding:20px;
border-radius:10px;

width:90%;
max-width:400px;

max-height:80vh;
overflow-y:auto; /* ini membuat popup bisa discroll */
}
.popup-content ul{
list-style:none;

}
.close-popup{
float:right;
font-size:22px;
cursor:pointer;
}
.policy-box{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px 14px;
    margin:18px 0;
    background:#f8f9fb;
    border:1px solid #e2e6ea;
    border-radius:10px;
    font-size:14px;
}

.policy-box input{
    width:18px;
    height:18px;
    margin-top:2px;
    cursor:pointer;
}

.policy-box label{
    line-height:1.6;
    cursor:pointer;
}

.policy-link{
    color:#007bff;
    font-weight:500;
    cursor:pointer;
}

.policy-link:hover{
    text-decoration:underline;
}