/* ================= BASE ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f2f2f2;
    color:#222;
    overflow-x:hidden;
}

/* ================= REVIEW SEARCH SUMMARY ================= */
.review-summary-wrapper{
    width:100%;
    background:linear-gradient(90deg,#0c2a4d,#06192e);
    padding:14px 0;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.review-summary-wrapper::-webkit-scrollbar{
    display:none;
}

.review-summary{
    display:flex;
    gap:14px;
    padding:0 16px;
    min-width:max-content;
}

/* summary box */
.sum-box{
    min-width:170px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,0.45);
    border-radius:14px;
    background:transparent;
    color:#fff;
    text-align:center;
    flex-shrink:0;
}

/* label */
.sum-box span{
    display:block;
    font-size:12px;
    opacity:.85;
    margin-bottom:4px;
}

/* value */
.sum-box b,
.sum-box strong{
    font-size:15px;
    font-weight:600;
}

/* ================= PAGE LAYOUT ================= */
.container{
    width:95%;
    max-width:1200px;
    margin:25px auto;
    display:flex;
    gap:25px;
}

.left{
    flex:2;
}

.right{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:22px;
}

/* ================= CAB SUMMARY ================= */
.car-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.car-row img{
    width:120px;
}

/* ================= PAYMENT ================= */
.pay-option{
    display:flex;
    gap:12px;
    margin:14px 0;
    font-size:16px;
}

.main-btn{
    width:100%;
    background:#1e73ff;
    color:#fff;
    border:none;
    padding:16px;
    font-size:18px;
    border-radius:14px;
    cursor:pointer;
}

.fare-toggle{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    color:#1e73ff;
    cursor:pointer;
    font-weight:600;
}

.fare-box{
    display:none;
    background:#f7f7f7;
    padding:15px;
    border-radius:12px;
    margin-top:10px;
}

.fare-box p{
    display:flex;
    justify-content:space-between;
}

/* ================= COUPON ================= */
.coupon-card{
    background:#fff;
    border-radius:18px;
    padding:22px;
}

.coupon-card h3{
    margin-bottom:16px;
    font-size:20px;
    font-weight:700;
}

.coupon-item{
    margin-bottom:14px;
}

.coupon-item label{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    font-size:16px;
}

.coupon-item input[type="radio"]{
    width:18px;
    height:18px;
    accent-color:#1e73ff;
}

.coupon-badge{
    border:1.8px dashed #1e73ff;
    padding:6px 14px;
    border-radius:8px;
    font-weight:700;
    color:#1e73ff;
    background:#f5f9ff;
}

/* ================= COUPON INPUT ================= */
.coupon-input{
    display:flex;
    gap:10px;
    margin-top:16px;
}

.coupon-input input{
    flex:1;
    height:44px;
    border:1.5px solid #dcdcdc;
    border-radius:10px;
    padding:0 14px;
    font-size:15px;
}

.coupon-input button{
    height:44px;
    padding:0 22px;
    border:none;
    background:#1e73ff;
    color:#fff;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
}

/* ================= INCLUSIONS FOOTER ================= */
.inc-footer{
    margin-top:12px;
    padding-top:10px;
    border-top:1px dashed #ddd;
    text-align:right;
}

.inc-footer a{
    font-size:14px;
    font-weight:600;
    color:#1e73ff;
    text-decoration:none;
}

.inc-footer a:hover{
    text-decoration:underline;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    .review-summary{
        justify-content:flex-start;
        padding-left:8px;
        padding-right:8px;
    }

    .sum-box{
        min-width:155px;
        padding:12px;
        border-radius:12px;
    }

    .sum-box b{
        font-size:14px;
    }

    .container{
        flex-direction:column;
    }
}

@media(max-width:480px){
    .coupon-input{
        flex-direction:column;
    }

    .coupon-input button{
        width:100%;
    }
}

/* ================= DESKTOP ================= */
@media(min-width:769px){

    .review-summary-wrapper{
        overflow-x:visible;
    }

    .review-summary{
        justify-content:center;
        min-width:100%;
    }

    .sum-box{
        min-width:190px;
    }
}