/*====================================*/
/*=========== GLOBAL =================*/
/*====================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#edf1f7;
    font-family:'Poppins',sans-serif;

    display:flex;
    justify-content:center;
}

.wrapper{
    width:100%;
    max-width:500px;
    min-height:100vh;
    position:relative;
    overflow:hidden;
}

/*====================================*/
/*=========== BOOKING PAGE ===========*/
/*====================================*/

.booking-page{
    background:linear-gradient(135deg, #7d0202, #FF0000);;
}

/*====================================*/
/*=========== TOP AREA ===============*/
/*====================================*/

.booking-top{
    position:fixed;
    top:0;

    width:100%;
    max-width:500px;

    background:linear-gradient(135deg, #7d0202, #FF0000);;

    padding:15px 15px 300px 15px;

    z-index:10;
}

.booking-navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.back-btn{
    width:45px;
    height:45px;

    border:none;
    border-radius:14px;

    background:rgba(255,255,255,0.15);

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    font-size:18px;

    cursor:pointer;
    
    text-decoration: none;
}

.booking-title{
    flex:1;

    text-align:center;

    color:white;
    font-size:24px;
    font-weight:700;

    padding:0 10px;
}

.booking-image{
    margin-top:20px;
    text-align:center;
    height:280px;       /* tinggi maksimal */
    display:flex;
    align-items:center;
    justify-content:center;
}

.booking-image img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
}

/*====================================*/
/*============= SPEC =================*/
/*====================================*/

.booking-spec{
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:15px;

    margin-top:20px;
}

.spec-box{
    height:90px;
    border-radius:22px;
    background:rgb(255 255 255 / 18%);
    border:1px solid rgba(255,255,255,0.15);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:12px;
    text-align:center;
}

.spec-box i{
    font-size:20px;
    margin-bottom:10px;
}

/*====================================*/
/*=========== CONTENT ================*/
/*====================================*/

.booking-content{
    position:relative;
    z-index:99;

    margin-top:520px;

    background:#171B1C;
        
    border-radius:35px 35px 0 0;

    padding:25px 15px 140px;

    min-height:100vh;
}

.drag-line{
    width:80px;
    height:6px;

    background:#dddddd69;

    border-radius:20px;

    margin:0 auto 25px;
}

/*====================================*/
/*=========== GROUP ==================*/
/*====================================*/

.booking-group{
    margin-bottom:28px;
}

.booking-group h3{
    font-size:17px;
    margin-bottom:15px;
    font-weight: 600;
    color: #fff;
}

/*====================================*/
/*=========== DURASI =================*/
/*====================================*/

.duration-wrap{
    display:flex;
    gap:10px;

    overflow-x:auto;
    scrollbar-width:none;

    padding-bottom:5px;
}

.duration-wrap::-webkit-scrollbar{
    display:none;
}

.duration-item{
    min-width:90px;
    height:45px;
    border-radius:14px;
    border:1px solid #FF0000;
    background:none;
    color:#FFF;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:500;
    flex-shrink:0;
    cursor:pointer;
}

.active-duration{
    background:linear-gradient(135deg, #7d0202, #FF0000);;
    color:white;
}

/*====================================*/
/*=========== DRIVER =================*/
/*====================================*/

.driver-wrap{
    display:flex;
    gap:15px;
}

.driver-item{
    flex:1;
    height:60px;
    border-radius:18px;
    border:1px solid #FF0000;
    background:none;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

.driver-item i{
    font-size:18px;
}

.active-driver{
    background:linear-gradient(135deg, #7d0202, #FF0000);;
    color:white;
}

/*====================================*/
/*============= INPUT ================*/
/*====================================*/

.booking-input{
    width:100%;
    height:58px;
    border:1px solid #FF0000;
    outline:none;
    border-radius:18px;
    background:none;
    padding:0 18px;
    font-size:15px;
    font-family:'Poppins',sans-serif;
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
    color:#fff;
    
}
/*====================================*/
/*========== PRICE DETAIL ============*/
/*====================================*/

.price-detail{
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.price-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #f1f1f117;
}

.price-item:last-child{
    border-bottom:none;
}

.price-item span{
    font-size:14px;
    color:#ffffff;
}

.price-item strong{
    color:#FF0000;
    font-size:15px;
}

/*====================================*/
/*============= NOTE =================*/
/*====================================*/

.booking-note{
    background:rgba(255, 255, 255, 0.05);

    border-radius:22px;
    
    border:1px solid rgba(255, 255, 255, 0.08);

    padding:18px;

    display:flex;
    gap:14px;
    align-items:flex-start;
}

.booking-note i{
    color:#FF0000;
    font-size:22px;

    margin-top:2px;
}

.booking-note p{
    font-size:13px;
    line-height:24px;
    color:#fff;
}

/*====================================*/
/*=========== BOTTOM =================*/
/*====================================*/

.booking-bottom{
    position:fixed;
    bottom:0;

    width:100%;
    max-width:500px;

    background:rgba(23, 27, 28, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    padding:10px 18px 10px;

    border-radius:30px 30px 0 0;
    
    border-top: 1px solid rgba(255,255,255,0.08);

    box-shadow:0 -5px 20px rgba(0,0,0,0.08);

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:0px;

    z-index:999;
}

.total-area small{
    font-size:12px;
    color:#fff;
}

.total-area h2{
    color:#FF0000;
    font-size:20px;
}

.booking-btn{
    height:50px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg, #7d0202, #FF0000);;
    color:white;
    padding:0 25px;
    font-size:15px;
    font-weight:600;
    font-family:'Poppins',sans-serif;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
}

.booking-btn i{
    font-size:18px;
}

/*====================================*/
/*============= MOBILE ===============*/
/*====================================*/

@media(max-width:500px){

    .booking-title{
        font-size:20px;
    }

    .spec-box{
        height:75px;
        font-size:11px;
    }

    .booking-content{
        margin-top:420px;
    }

    .booking-btn{
        padding:0 20px;
        font-size:14px;
    }
    
    .booking-image{
        height:220px !important;
    }
}


/*====== Label =====*/

.booking-label{
    position:absolute;
    top:95px;
    right:15px;
    background:#FF0000;
    color:#fff;
    padding:7px 14px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* ====================================
   DROPDOWN OPTION
==================================== */

.booking-input option{
    color:#000;
    background:#fff;
}


/* ======== VIEWER ===*/

.viewer {
    background:rgba(255, 255, 255, 0.05);
    border-radius:17px;
    border:1px solid rgba(255, 255, 255, 0.08);
    padding:25px;
    display:flex;
    justify-content: center;
    gap:14px;
    color: #fff;
    margin-top: 25px;
    font-size: 14px;
}

.viewer i{
    color:#FF0000;
    font-size:17px;
    margin-top:2px;
}


/*==========================
TOUR
==========================*/

.tour-image{

    height:320px;
    overflow:hidden;
    border-radius:28px;

}

.tour-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:28px;

}

.tour-title{

    color:#fff;
    font-size:26px;
    font-weight:700;
    line-height:1.4;

}

.tour-rating{

    margin-top:15px;
    color:#FFD43B;
    font-size:22px;

}

.tour-rating i{

    margin-right:3px;

}

.tour-person{

    margin-top:15px;

    color:#fff;

    display:flex;
    align-items:center;
    gap:10px;

    font-size:15px;

}

.tour-person i{

    color:#FF0000;

}

.tour-desc{

    display:block;

}

.tour-desc div{

    color:#fff;
    line-height:28px;
    font-size:14px;

}