html.noScroll,
body.noScroll {
    overflow: hidden;
    height: 100%;
}


/* overlay */
.popupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* popup */
.popupBox {
    background: #fff;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 22px;
    position: relative;
    overflow: visible;
    /* IMPORTANT */
}

/* Scroll only content */
.popupContent {
    max-height: 90vh;
    overflow-y: auto !important;
    padding: 30px;
}

/* Triangle Pointer */
.bubblePointer {
    position: absolute;
    top: 51px;
    left: -53px;
    width: 0;
    height: 0;
    border-top: 44px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 55px solid #fff;
    transform: skewY(44deg);
    z-index: 5;
}

@media(max-width:768px) {
    .bubblePointer {
        display: none;
    }
}

.popupContent::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.popupContent::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
    border-radius: 0px !important;
    border-radius: 50px !important;
    margin: 20px;
}

.popupContent::-webkit-scrollbar-thumb {
    background: #c3c0c2 !important;
    border-radius: 15px;
}

.popupContent::-webkit-scrollbar-thumb:hover {
    background: #4a4448;
}

@keyframes pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.closePopup {
    position: absolute;
    right: 18px;
    top: 14px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* header */
.popupTitle {
    text-align: center;
    margin-bottom: 19px;
    color: black;
    font-weight: bold;
}

.travelType {
    display: inline-flex;
    background: #FFDD8C;
    padding: 6px;
    border-radius: 50px;
}

.travelBtn {
    border: none;
    padding: 10px 35px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    background: transparent;
    color: #000;
    transition: 0.3s ease;
}

.travelBtn.active {
    background: #000;
    color: #fff;
}



/* form */
.bookingForm label {
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
    color: #000 !important;
}

.bookingForm input,
.bookingForm select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.fromToSelect {
    background: #F5F5F5;
    padding: 10px;

}

.formDiv {
    padding: clamp(16px, 3vw, 25px);
}


.formRow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 16px;
}

.searchBtn {
    width: 100%;
    padding: 10px;
    background: #f5b000;
    min-width: clamp(150px, 30vw, 200px);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.submitWrap {
    text-align: center;
    margin-top: 20px;
}

.submitWrap button {
    padding: 10px 40px;
    border-radius: 6px;
    border: none;
    background: #f5b000;
    cursor: pointer;
}

/* responsive */
@media (max-width: 768px) {
    .formRow {
        grid-template-columns: 1fr;
    }
}


/* =================== Car Cards Grid =================== */
.carCardsGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 12px;
}

@media (max-width: 992px) {
    .carCardsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .carCardsGrid {
        grid-template-columns: 1fr;
    }
}

.carCard {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carCard:hover {
    border-color: #F6B310;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(246, 179, 16, 0.15);
}

.carCard.selected {
    border-color: #F6B310;
    background: #FFF9E6;
    box-shadow: 0 6px 24px rgba(246, 179, 16, 0.25);
}

.carCard.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    background: #F6B310;
    color: #000;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.carCardImgWrap {
    background: #e5e5e5;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.carCardImgWrap img {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
    border-radius: 6px;
}

.carCardModel {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 4px;
}

.carCardDesc {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carCardSelectBtn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.carCardSelectBtn:hover {
    background: #F6B310;
    color: #000;
}

.carCard.selected .carCardSelectBtn {
    background: #F6B310;
    color: #000;
}


/* =================== Estimate Price Button =================== */
.estimatePriceBtn {
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #F6B310, #e6a400);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 179, 16, 0.3);
}

.estimatePriceBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 179, 16, 0.4);
}

/* Force estimate modal above the popup overlay (z-index: 9999) */
#estimateModal {
    z-index: 10001 !important;
}

#estimateModal+.modal-backdrop,
.modal-backdrop {
    z-index: 10000 !important;
}

.popupBoxVoiceBook {
    background-image: url("/static/img/backgrounds/colorWaves.png");
    background-position: center;
    background-size: cover;
}

.voiceCenterWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.voiceIcon {
    width: clamp(100px, 12vw, 170px);
}

/* Equalizer */
.equalizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 14px);
    height: clamp(50px, 8vw, 90px);
}

/* Each bar */
.equalizer span {
    width: clamp(6px, 1vw, 12px);
    height: clamp(40px, 6vw, 70px);
    border-radius: 50px;
    transform-origin: center;
    animation: pulse 1.2s infinite ease-in-out;
}

/* Individual Colors */
.equalizer span:nth-child(1) {
    background: #5A4BFF;
    animation-delay: 0s;
}

.equalizer span:nth-child(2) {
    background: #00BFFF;
    animation-delay: .2s;
}

.equalizer span:nth-child(3) {
    background: #1E90FF;
    animation-delay: .4s;
}

.equalizer span:nth-child(4) {
    background: #007BFF;
    animation-delay: .2s;
}

.equalizer span:nth-child(5) {
    background: #3F00FF;
    animation-delay: 0s;
}

/* Center Grow Animation */
@keyframes pulse {
    0% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    25% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.6);
        opacity: 0.8;
    }

    75% {
        transform: scaleY(1.2);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }
}


/* Triangle Pointer */
.bubblePointer2 {
    position: absolute;
    bottom: 132px;
    left: -53px;
    width: 0;
    height: 0;
    border-top: 44px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 55px solid #fff;
    transform: skewY(-11deg);
    z-index: 5;
}

@media(max-width:768px) {
    .bubblePointer2 {
        display: none;
    }
}


.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
    color: white !important;
}

.flatpickr-time input {
    color: white !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
    background: #f6b310 !important;
}