body.wpccb_vehicle_select_dialog_body_locked {
    overflow: hidden;
}

.wpccb_vehicle_select_dialog_overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9997;
    display: none;
    flex-direction: column;
}

.wpccb_vehicle_select_dialog_overlay.wpccb_vehicle_select_dialog_is_open {
    display: flex;
}

.wpccb_vehicle_select_dialog_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 24px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.wpccb_vehicle_select_dialog_title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.wpccb_vehicle_select_dialog_close_button {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    color: #000;
}

.wpccb_vehicle_select_dialog_body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.wpccb_vehicle_select_dialog_footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 7px 24px;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.wpccb_vehicle_select_dialog_confirm_button {
    border: none;
    background: #111827;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.wpccb_vehicle_select_dialog_confirm_button:hover {
    background: #000000;
}

/* content dynamic tabs */
.wpccb_vehicle_select_dialog_tabs_wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.wpccb_vehicle_select_dialog_tabs_nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    padding-bottom: 0;
    flex-shrink: 0;
}

.wpccb_vehicle_select_dialog_tab_button {
    border: 1px solid #d1d5db;
    background: #ffffff;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
}

.wpccb_vehicle_select_dialog_tab_button:focus{
    background: none;
    color: #000000;
}

.wpccb_vehicle_select_dialog_tab_button.wpccb_vehicle_select_dialog_tab_active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.wpccb_vehicle_select_dialog_tabs_content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.wpccb_vehicle_select_dialog_tab_panel {
    display: none;
    padding: 20px 0;
}

.wpccb_vehicle_select_dialog_tab_panel.wpccb_vehicle_select_dialog_tab_panel_active {
    display: block;
}

.wpccb_vehicle_select_dialog_tab_move_buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wpccb_vehicle_select_dialog_tab_move_previous,
.wpccb_vehicle_select_dialog_tab_move_next {
    display: flex;
}

.wpccb_vehicle_select_dialog_footer_prev,
.wpccb_vehicle_select_dialog_footer_next {
    border: none;
    background: #9E803F;
    color: #FFFFFF;
    padding: 12px 35px;
    font-size: 17px;
    border-radius: 200px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
}

.wpccb_vehicle_select_dialog_footer_prev:hover, 
.wpccb_vehicle_select_dialog_footer_next:hover {
    background: #8a6f36;
}

.wpccb_vehicle_select_dialog_footer_prev:active, 
.wpccb_vehicle_select_dialog_footer_next:active {
    transform: scale(0.98);
}

..wpccb_vehicle_select_dialog_footer_prev:disabled, 
.wpccb_vehicle_select_dialog_footer_next:disabled {
    background: #c5b48a;
    cursor: not-allowed;
}

.wpccb-vs-total{
    font-weight: 900;
    font-size: 17px;
}

.wpccb-vs-region-holder{
    display: none;
}

/* mobile improvements */
@media (max-width: 600px) {
    .wpccb_vehicle_select_dialog_header {
        padding: 14px 16px;
    }

    .wpccb_vehicle_select_dialog_title {
        font-size: 17px;
    }

    .wpccb_vehicle_select_dialog_body {
        padding: 16px;
    }

    .wpccb_vehicle_select_dialog_footer {
        padding: 14px 16px;
    }

    .wpccb_vehicle_select_dialog_tabs_nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 10px;
    }

    .wpccb_vehicle_select_dialog_tab_button {
        flex: 0 0 auto;
        min-width: 120px;
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 15px;
    }

    .wpccb_vehicle_select_dialog_tab_move_buttons {
        gap: 8px;
    }

    .wpccb_vehicle_select_dialog_tab_move_button,
    .wpccb_vehicle_select_dialog_confirm_button {
        width: 100%;
        text-align: center;
        padding: 14px 12px;
        font-size: 15px;
    }
}


/*  summery dialog  */

/* Compact Summary - Clean & Tight */
.wpccb-summary {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.wpccb-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #0f172a;
}

/* Items Container */
.wpccb-summary-items {
    max-height: 400px;
    overflow-y: auto;
}

/* Individual Item */
.wpccb-summary-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 12px;
}

.wpccb-summary-item:last-child {
    border-bottom: none;
}

/* Item Header Row */
.wpccb-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.wpccb-item-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;
}

.wpccb-item-price {
    font-weight: 600;
    color: #059669;
    font-size: 13px;
}

/* Details Grid */
.wpccb-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 12px;
    font-size: 12px;
    color: #334155;
}

.wpccb-label {
    font-weight: 500;
    color: #64748b;
    margin-right: 4px;
}

.wpccb-muted {
    color: #94a3b8;
    font-style: italic;
}

/* Footer */
.wpccb-summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
}

.wpccb-grand-total {
    color: #0f172a;
}

.wpccb-grand-total strong {
    font-weight: 600;
}

/* Scrollbar - subtle */
.wpccb-summary-items::-webkit-scrollbar {
    width: 4px;
}

.wpccb-summary-items::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.wpccb-summary-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .wpccb-item-details {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .wpccb-summary-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}



/*  the summary on booking page at top  */
.wpccb-vs-mini-summary {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 14px 24px;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 100%;
    box-sizing: border-box;
}

.wpccb-mini-summary-text {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: #1e293b;
    white-space: nowrap;
}

.wpccb-mini-summary-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.wpccb-mini-btn {
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 0.2px;
}

.wpccb-mini-btn-view {
    background: #2d2f31;
    color: #ffffff;
}

.wpccb-mini-btn-view:hover {
    background: #1f2122;
    transform: translateY(-1px);
}

.wpccb-mini-btn-edit {
    background: #9e803f;
    color: #ffffff;
}

.wpccb-mini-btn-edit:hover {
    background: #8a6f36;
    transform: translateY(-1px);
}

.wpccb-mini-btn:active {
    transform: translateY(0);
}

@media (max-width: 560px) {
    .wpccb-vs-mini-summary {
        flex-direction: column;
        border-radius: 24px;
        padding: 16px 20px;
        gap: 14px;
    }
    
    .wpccb-mini-summary-text {
        white-space: normal;
        text-align: center;
    }
}
