/* =========================
   GLOBAL UI REFINEMENT
========================= */

/*body{*/

/*    font-size:15px;*/
/*}*/



/* HERO */

/*.hero{*/

/*    padding:20px 20px 60px;*/
/*}*/

/*.hero-text{*/

/*    max-width:700px;*/
/*}*/

/*.hero-text h1{*/

/*    font-size:46px;*/

/*    font-weight:600;*/

/*    margin-bottom:15px;*/
/*}*/

/*.hero-text h2{*/

/*    font-size:20px;*/

/*    font-weight:500;*/

/*    margin-bottom:15px;*/
/*}*/

/*.hero-text p{*/

/*    font-size:15px;*/

/*    line-height:1.7;*/
/*}*/



/* SEARCH CARD */

/*.search-card{*/

/*    max-width:520px;*/

/*    padding:32px;*/

/*    border-radius:22px;*/
/*}*/

/*.search-card h3{*/

/*    font-size:24px;*/

/*    font-weight:600;*/
/*}*/

/*.search-card p{*/

/*    font-size:14px;*/
/*}*/

/*.search-card input{*/

/*    padding:16px;*/

/*    font-size:15px;*/
/*}*/

/*.search-card button{*/

/*    padding:16px;*/

/*    font-size:15px;*/

/*    font-weight:500;*/
/*}*/



/* CUSTOMER CARD */

/*.customer-card{*/

/*    padding:40px;*/
/*}*/

/*.customer-card h3{*/

/*    font-size:26px;*/

/*    font-weight:600;*/

/*    margin-bottom:30px;*/
/*}*/

/*.customer-grid{*/

/*    gap:22px;*/
/*}*/

/*.customer-grid div{*/

/*    padding:28px;*/

/*    border-radius:20px;*/
/*}*/

/*.customer-grid label{*/

/*    font-size:15px;*/

/*    margin-bottom:10px;*/
/*}*/

/*.customer-grid span{*/

/*    font-size:22px;*/

/*    font-weight:400;*/
/*}*/



/* BUTTON */

/*.topup-btn{*/

/*    padding:18px;*/

/*    font-size:17px;*/

/*    font-weight:500;*/

/*    border-radius:14px;*/
/*}*/



/* RECEIPT */

/*.receipt-wrapper{*/

/*    margin-top:35px;*/
/*}*/

/*.receipt-collapse{*/

/*    border-radius:22px;*/
/*}*/

/*.receipt-collapse summary{*/

/*    font-size:28px;*/

/*    padding:28px;*/

/*    font-weight:700;*/
/*}*/

/*.receipt-collapse summary::after{*/

/*    font-size:24px;*/
/*}*/

/*.payload-preview{*/

/*    padding:28px;*/
/*}*/

/*.preview-grid{*/

/*    gap:18px;*/
/*}*/

/*.preview-grid div{*/

/*    padding:22px;*/

/*    border-radius:16px;*/
/*}*/

/*.preview-grid label{*/

/*    font-size:13px;*/

/*    margin-bottom:10px;*/
/*}*/

/*.preview-grid span{*/

/*    font-size:17px;*/

/*    font-weight:600;*/
/*}*/



/* TOKEN */

/*.token-value{*/

/*    font-size:28px !important;*/

/*    letter-spacing:2px;*/
/*}*/



/* STEPS */

/*.steps{*/

/*    margin-top:80px;*/
/*}*/

/*.steps h2{*/

/*    font-size:32px;*/

/*    font-weight:600;*/
/*}*/

/*.step-card{*/

/*    padding:24px;*/
/*}*/

/*.step-card h4{*/

/*    font-size:17px;*/

/*    margin-bottom:10px;*/
/*}*/

/*.step-card p{*/

/*    font-size:14px;*/

/*    line-height:1.6;*/
/*}*/



/* FEATURES */

/*.features{*/

/*    margin-top:80px;*/
/*}*/

/*.feature-box{*/

/*    padding:24px;*/
/*}*/

/*.feature-box h4{*/

/*    font-size:17px;*/

/*    margin-bottom:10px;*/
/*}*/

/*.feature-box p{*/

/*    font-size:14px;*/

/*    line-height:1.6;*/
/*}*/



/* SUCCESS PAGE */

/*.success-card{*/

/*    max-width:520px;*/

/*    padding:38px 28px;*/
/*}*/

/*.success-card h1{*/

/*    font-size:24px;*/
/*}*/

/*.success-message{*/

/*    font-size:14px;*/
/*}*/

/*.success-item{*/

/*    padding:16px;*/
/*}*/

/*.success-item span{*/

/*    font-size:16px;*/
/*}*/



/* MOBILE */

/*@media(max-width:768px){*/

/*    .hero-text h1{*/

/*        font-size:34px;*/
/*    }*/

/*    .hero-text h2{*/

/*        font-size:18px;*/
/*    }*/

/*    .customer-card{*/

/*        padding:28px;*/
/*    }*/

/*    .customer-card h3{*/

/*        font-size:22px;*/
/*    }*/

/*    .customer-grid span{*/

/*        font-size:18px;*/
/*    }*/

/*    .receipt-collapse summary{*/

/*        font-size:22px;*/

/*        padding:22px;*/
/*    }*/

/*    .token-value{*/

/*        font-size:22px !important;*/
/*    }*/

/*    .topup-btn{*/

/*        font-size:16px;*/
/*    }*/
/*}*/

/*========================================
    START OF STYLE B4 FONT SIZE REDUCTION
========================================*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#031b14;
    color:white;
    overflow-x:hidden;
}



/* HERO */

.hero{
    position:relative;
    min-height:100vh;
    padding:30px 20px 80px;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.7)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:auto;
}



/* TOP BAR */

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.top-left{
    display:flex;
    gap:20px;
    font-size:14px;
    flex-wrap:wrap;
}

.help-btn{
    background:#22c55e;
    border:none;
    padding:12px 20px;
    border-radius:12px;
    color:white;
    cursor:pointer;
    transition:0.3s ease;
}

.help-btn:hover{
    background:#16a34a;
}



/* LOGO */

.logo-wrapper{
    text-align:center;
    margin-bottom:30px;
}

.logo{
    width:100px;
    max-width:100%;
}



/* HERO TEXT */

.hero-text{
    text-align:center;
    max-width:800px;
    margin:auto;
}

.hero-text h1{
    font-size:30px;
    margin-bottom:20px;
    font-weight:500;
}

.hero-text h2{
    font-size:18px;
    margin-bottom:20px;
    color:#22c55e;
}

.hero-text p{
    color:#d1d5db;
    line-height:1.8;
    font-size:18px;
}



/* SEARCH CARD */

.search-card{
    max-width:600px;
    margin:50px auto;
    background:rgba(255,255,255,0.05);
    padding:40px;
    border-radius:25px;
    text-align:center;
    backdrop-filter:blur(10px);
}

.meter-icon{
    font-size:25px;
    margin-bottom:20px;
}

.search-card h3{
    font-size:20px;
    margin-bottom:10px;
}

.search-card p{
    color:#d1d5db;
    margin-bottom:30px;
}

.search-card form{
    width:100%;
}

.search-card input{
    width:100%;
    padding:18px;
    border:none;
    border-radius:12px;
    margin-bottom:20px;
    font-size:16px;
    outline:none;
}

.search-card button{
    width:100%;
    padding:18px;
    border:none;
    border-radius:12px;
    background:#22c55e;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:0.3s ease;
}

.search-card button:hover{
    background:#16a34a;
}

.search-card small{
    display:block;
    margin-top:20px;
    color:#9ca3af;
}



/* ERROR */

.error-box{
    max-width:700px;
    margin:30px auto;
    background:#dc2626;
    padding:20px;
    border-radius:15px;
    text-align:center;
}



/* CUSTOMER CARD */

.customer-card{
    max-width:1100px;
    margin:50px auto;
    background:rgba(255,255,255,0.04);
    padding:50px;
    border-radius:30px;
    backdrop-filter:blur(10px);
}

.customer-card h3{
    margin-bottom:40px;
    text-align:center;
    font-size:25px;
    font-weight:500;
}

.customer-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.customer-grid div{
    background:rgba(255,255,255,0.05);
    padding:35px;
    border-radius:25px;
}

.customer-grid label{
    display:block;
    margin-bottom:15px;
    color:#22c55e;
    font-size:15px;
}

.customer-grid span{
    font-size:18px;
    font-weight:300;
    word-break:break-word;
}



/* TOPUP BUTTON */

.topup-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    margin-top:40px;
    padding:22px;
    border:none;
    border-radius:15px;
    background:#22c55e;
    color:white;
    font-size:15px;
    font-weight:400;
    cursor:pointer;
    text-decoration:none;
    transition:0.3s ease;
}

.topup-btn:hover{
    background:#16a34a;
    transform:translateY(-2px);
}



/* STEPS */

.steps{
    margin-top:100px;
}

.steps h2{
    text-align:center;
    margin-bottom:40px;
    font-size:40px;
}

.steps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.step-card{
    background:rgba(255,255,255,0.05);
    padding:30px;
    border-radius:20px;
    text-align:center;
}

.step-number{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#22c55e;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto auto 20px;
    font-weight:bold;
}



/* FEATURES */

.features{
    margin-top:100px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.feature-box{
    background:rgba(255,255,255,0.05);
    padding:30px;
    border-radius:20px;
    text-align:center;
}



/* TOPUP PAGE */

.topup-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
}

.topup-card{
    width:100%;
    max-width:650px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    padding:50px;
    border-radius:30px;
}

.topup-card h2{
    text-align:center;
    margin-bottom:40px;
    font-size:30px;
}

.customer-summary{
    margin-bottom:30px;
}

.customer-summary p{
    margin-bottom:18px;
    font-size:22px;
}

.customer-summary strong{
    color:#22c55e;
}

.topup-card form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.topup-card input{
    width:100%;
    padding:18px;
    border:none;
    border-radius:12px;
    font-size:18px;
    outline:none;
}

.topup-card button{
    width:100%;
    padding:20px;
    border:none;
    border-radius:15px;
    background:#22c55e;
    color:white;
    font-size:15px;
    cursor:pointer;
    transition:0.3s ease;
}

.topup-card button:hover{
    background:#16a34a;
}




/* RESPONSIVE */

@media(max-width:900px){

    .hero-text h1{
        font-size:45px;
    }

    .hero-text h2{
        font-size:22px;
    }

    .steps-grid,
    .features,
    .customer-grid{
        grid-template-columns:1fr;
    }

    .top-bar{
        flex-direction:column;
        gap:20px;
    }

    .customer-card{
        padding:30px;
    }

    .customer-card h3{
        font-size:40px;
    }

    .customer-grid span{
        font-size:22px;
    }

    .topup-card{
        padding:35px 25px;
    }

    .topup-card h2{
        font-size:35px;
    }

    .topup-btn{
        font-size:18px;
        padding:18px;
    }
}




@media(max-width:600px){

    .hero{
        padding:20px 15px 60px;
    }

    .hero-text h1{
        font-size:35px;
    }

    .hero-text p{
        font-size:16px;
    }

    .search-card{
        padding:30px 20px;
    }

    .search-card h3{
        font-size:24px;
    }

    .customer-card h3{
        font-size:32px;
    }

    .customer-grid div{
        padding:25px;
    }

    .customer-grid span{
        font-size:20px;
    }

    .topup-card h2{
        font-size:30px;
    }

    .customer-summary p{
        font-size:18px;
    }
}



/* SUCCESS PAGE */

.success-page{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px 20px;
}

.success-card{

    width:100%;

    max-width:600px;

    background:rgba(255,255,255,0.05);

    backdrop-filter:blur(10px);

    border-radius:25px;

    padding:45px 30px;

    text-align:center;
}

.success-icon{

    font-size:50px;

    margin-bottom:15px;
}

.success-card h1{

    font-size:28px;

    font-weight:600;

    margin-bottom:10px;
}

.success-message{

    color:#d1d5db;

    margin-bottom:30px;

    line-height:1.6;

    font-size:15px;
}

.success-details{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-bottom:30px;
}

.success-item{

    background:rgba(255,255,255,0.05);

    padding:18px;

    border-radius:15px;
}

.success-item label{

    display:block;

    margin-bottom:8px;

    color:#22c55e;

    font-size:14px;
}

.success-item span{

    font-size:18px;

    font-weight:500;

    word-break:break-word;
}

.token-display{

    letter-spacing:2px;

    color:#22c55e;
}



@media(max-width:768px){

    .success-card{

        padding:35px 20px;
    }

    .success-card h1{

        font-size:24px;
    }

    .success-item span{

        font-size:16px;
    }
}

/* =========================
   PROFESSIONAL RECEIPT UI
========================= */

.receipt-wrapper{

    margin-top:45px;

    display:flex;

    justify-content:center;

    width:100%;
}



/* MAIN COLLAPSE */

.receipt-collapse{

    width:100%;

    max-width:1400px;

    background:#ffffff;

    border-radius:28px;

    overflow:hidden;

    border:none;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.25);
}



/* HEADER */

.receipt-collapse summary{

    list-style:none;

    cursor:pointer;

    padding:35px 40px;

    font-size:22px;

    font-weight:800;

    color:#111827;

    text-align:center;

    position:relative;

    user-select:none;

    transition:0.3s ease;

    border-bottom:
        1px solid #e5e7eb;
}

.receipt-collapse summary:hover{

    background:#f9fafb;
}

.receipt-collapse summary::-webkit-details-marker{

    display:none;
}



/* DROPDOWN ICON */

.receipt-collapse summary::after{

    content:"⌄";

    position:absolute;

    right:35px;

    top:50%;

    transform:translateY(-50%);

    font-size:24px;

    color:#111827;

    transition:0.3s ease;
}

.receipt-collapse[open] summary::after{

    transform:
        translateY(-50%)
        rotate(180deg);
}



/* CONTENT */

.payload-preview{

    padding:40px;

    background:#ffffff;
}



/* GRID */

.preview-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px,1fr)
        );

    gap:24px;
}



/* BOX */

.preview-grid div{

    background:#fafafa;

    border:1px solid #e5e7eb;

    border-radius:18px;

    padding:28px;

    text-align:left;

    transition:0.3s ease;
}

.preview-grid div:hover{

    transform:translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0,0,0,0.06);
}



/* LABEL */

.preview-grid label{

    display:block;

    margin-bottom:14px;

    font-size:15px;

    font-weight:600;

    color:#6b7280;
}



/* VALUE */

.preview-grid span{

    font-size:20px;

    font-weight:700;

    color:#111827;

    line-height:1.6;

    word-break:break-word;
}



/* TOKEN */

.token-box{

    grid-column:1/-1;
}

.token-value{

    font-size:40px !important;

    font-weight:800 !important;

    letter-spacing:4px;

    color:#111827 !important;

    text-align:center;

    display:block;

    line-height:1.8;
}



/* MOBILE */

@media(max-width:768px){

    .receipt-collapse summary{

        font-size:26px;

        padding:25px 20px;
    }

    .receipt-collapse summary::after{

        font-size:24px;

        right:20px;
    }

    .payload-preview{

        padding:25px 20px;
    }

    .preview-grid{

        grid-template-columns:1fr;
    }

    .token-value{

        font-size:28px !important;

        letter-spacing:2px;
    }

    .preview-grid span{

        font-size:18px;
    }
}