﻿* { box-sizing: border-box; }

body, input, button, select, textarea {
    font-family: 'Poppins', sans-serif !important;
}

body.ar-mode,
body.ar-mode input,
body.ar-mode button,
body.ar-mode select,
body.ar-mode textarea {
    font-family: 'Cairo', sans-serif !important;
}

[dir="rtl"] .fa-solid, [dir="rtl"] .fa-regular, [dir="rtl"] .fa-brands, [dir="rtl"] i[class*="fa-"] { direction: ltr !important; display: inline-block; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
}
body {
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    min-height: 100vh;
}

:root {
    --primary-color: #e85c2e;
    --primary-hover: #d1491b;
    --progress-green: #10a35d;
    --selected-bg: #fff5f2;
    --input-bg: #f9f9f9;
    --border-color: #ddd;
    --text-dark: #333;
    --error-color: #e74c3c;
    --brand-orange: #e85c2e;
    --icon-dark: #4a4a4a;
    --bg-card: #ffffff;
    --border-light: #e0e0e0;
    --card-radius: 8px;
    --primary-orange: #FF6F43;
    --dark-orange: #E65C35;
    --light-orange-bg: #FFF0EB;
}

.container-width { width: 95%; max-width: 1200px; overflow-x: hidden; }

.features-bar-wrapper {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.features-slider-container {
    width: 95%;
    max-width: 1200px;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;

    cursor: default;

    padding: 0;
    box-sizing: border-box;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.features-slider-container::-webkit-scrollbar {
    display: none;
}

.features-track {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.feature-item-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex: 0 0 20%;
    width: 20%;

    padding: 0 10px;
    box-sizing: border-box;
    background: transparent;

    scroll-snap-align: start;
}

[dir="rtl"] .feature-item-inline { text-align: right; }

.feature-item-inline img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-text {
    white-space: normal;
}

.feature-text h4 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.feature-text p {
    margin: 0;
    font-size: 0.7rem;
    color: #666;
    line-height: 1.3;
}

@media (max-width: 1360px) {
    .feature-item-inline {
        flex: 0 0 25%;
        width: 25%;
    }
}

@media (max-width: 1025px) {
    .feature-item-inline {
        flex: 0 0 33.333%;
        width: 33.333%;
    }
}

@media (max-width: 1440px) {
    .card-left { width: 25%; }
    .card-middle { width: 50%; padding: 15px; }
    .card-right { width: 25%; padding: 15px; }

    .car-image { height: 90px; }
    .car-name { font-size: 0.8rem; }

    .features-grid { column-gap: 5px; row-gap: 10px; }
    .feature-item { font-size: 0.75rem; }

    .amenities { gap: 10px; }
    .amenity { font-size: 0.75rem; }

    .price-header { font-size: 0.75rem; }
    .new-price { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
    .card-left { width: 30%; }
    .card-middle { width: 45%; padding: 12px; }
    .card-right { width: 25%; padding: 12px; }

    .car-image { height: 80px; }
    .car-name { font-size: 0.75rem; }

    .features-grid { column-gap: 5px; row-gap: 8px; }

    .amenities { gap: 8px; }

    .new-price { font-size: 1.1rem; }
    .select-btn { padding: 10px 0; font-size: 0.9rem; }
}

@media (max-width: 950px) {
    .card {
        flex-direction: column;
        align-items: stretch;
    }

    .card-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 10px;
    }

    .car-image { height: 140px; }

    .card-middle {
        width: 100%;
        padding: 20px;
        order: 2;
    }

    .card-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        background-color: #f9f9f9;
        padding: 20px;
        order: 3;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }

    .amenities {
        margin-top: 10px;
        padding-top: 0;
        border-top: none;
    }

    .main-layout { flex-direction: column; }
    .left-column, .right-column { width: 100%; }
    .right-column { position: static; }
}

@media (max-width: 777px) {
    .card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .card-left {
        width: 40%;
        border-right: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
        order: 1;
    }
    .car-image { height: 100px; }

    .card-middle {
        width: 60%;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        order: 2;
        display: contents;
    }

    .card-features-section {
        width: 60%;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        order: 2;
    }

    .card-amenities-section {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        order: 3;
        border-top: none;
    }

    .amenities {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        justify-content: center;
        flex-wrap: wrap !important;
    }

    .card-right {
        width: 100%;
        border-left: none;
        border-top: none;
        background-color: #fff;
        padding: 20px;
        order: 4;
    }

    .card-right .select-btn {
        height: 25px !important;
        min-height: 25px !important;
        padding: 0 !important;
        font-size: 11px !important;
        line-height: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .feature-item-inline {
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        padding: 0 10px;
    }
}

.main-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.right-column {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    z-index: 10;
}


.lang-switch-wrapper { position: absolute; top: 20px; right: 20px; z-index: 1000; }
[dir="rtl"] .lang-switch-wrapper { right: auto; left: 20px; }

.lang-btn { background: #fff; border: 1px solid #ddd; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-size: 14px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.3s ease; outline: none; }
.lang-btn:hover { border-color: var(--primary-color); background-color: var(--selected-bg); color: var(--primary-color); }
.lang-btn i { font-size: 16px; color: #555; }
.lang-btn:hover i { color: var(--primary-color); }


.stepper-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
    padding: 25px 35px;
    position: relative;
    margin-bottom: 0;
    width: 100%;
}

.stepper-wrapper { display: flex; justify-content: space-between; align-items: center; position: relative; height: 60px; width: 100%; margin: 0 auto; }
.stepper-track { position: absolute; top: 50%; transform: translateY(-50%); left: 20px; right: 20px; height: 3px; background-color: #e0e0e0; z-index: 0; }
.stepper-fill { height: 100%; width: 0%; background-color: var(--progress-green); transition: width 0.4s ease; }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 40px; background: #fff; }

.step-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-dot { width: 24px; height: 24px; border-radius: 50%; background-color: #fff; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; transition: all 0.3s ease; }
.step.active .step-dot { background-color: #fff; border: 2px solid var(--progress-green); }

.step.completed .step-dot {
    background-color: var(--progress-green) !important;
    border: none !important;
    color: white !important;
}

.step .step-dot { border: 2px solid #ccc; }


.fleet-container { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: row; overflow: visible; width: 100%; position: relative; border: 1px solid #e0e0e0; transition: all 0.3s ease; }
[dir="rtl"] .card { flex-direction: row-reverse !important; }
.card.hidden { display: none; }


.card-left { background-color: #f9f9f9; width: 28%; padding-bottom: 20px; display: flex; flex-direction: column; align-items: center; border-right: 1px solid #f0f0f0; }

.most-popular-badge { background-color: var(--primary-color); color: white; width: 100%; text-align: center; padding: 8px 0; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

.slider-viewport {
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
    position: relative;
    flex: 1;
    touch-action: pan-y;
}

.slider-track { display: flex; width: 100%; transition: transform 0.5s ease-in-out; height: 100%; }
.slide { min-width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 5px; user-select: none; }
.car-image { width: 100%; height: 110px; object-fit: contain; margin-bottom: 10px; mix-blend-mode: multiply; pointer-events: none; }
.car-name { color: #555; font-size: 0.9rem; text-align: center; width: 100%; font-weight: 500; padding: 0 5px; margin-top: auto; }

.carousel-dots { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; z-index: 5; }
.dot { width: 8px; height: 8px; background-color: #ccc; border-radius: 50%; transition: all 0.3s; cursor: pointer; padding: 5px; box-sizing: content-box; background-clip: content-box; }
.dot.active { background-color: var(--primary-color); border-color: var(--primary-color); }

.card-middle { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }

.card-title { font-size: 1.2rem; font-weight: 700; color: #333; margin-bottom: 15px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 12px; column-gap: 10px; margin-bottom: 20px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #444; }
.feature-item i, .feature-item svg { color: var(--primary-color); width: 16px; text-align: center; }
.divider { height: 1px; background-color: #eee; margin: 15px 0; width: 100%; }
.amenities {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}
.amenities::-webkit-scrollbar { display: none; }
.amenity {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-right: 30px;
    margin-right: 0;
}
.amenity:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}
.amenity:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: #ddd;
}
[dir="rtl"] .amenity {
    padding-right: 0;
    padding-left: 30px;
    margin-right: 0;
    margin-left: 0;
}
[dir="rtl"] .amenity:last-child {
    padding-left: 0;
    margin-left: 0;
}
[dir="rtl"] .amenity:not(:last-child)::after {
    right: auto;
    left: 15px;
}

.card-right { background-color: #fcfcfc; width: 25%; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-left: 1px solid #f0f0f0; }

.price-header { font-size: 0.85rem; color: #333; margin-bottom: 5px; text-align: center; }
.old-price { text-decoration: line-through; color: #999; font-size: 0.9rem; margin-bottom: 2px; }
.new-price { color: var(--primary-color); font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.currency-symbol { font-size: 0.9rem; font-weight: 400; }
.price-subtext { font-size: 0.7rem; color: #666; margin-bottom: 15px; text-align: center; }
.free-cancel-badge { display: flex; align-items: center; gap: 5px; color: var(--primary-color); font-size: 0.7rem; font-weight: 600; margin-bottom: 15px; border: 1px solid #ffd8cc; padding: 5px 8px; border-radius: 4px; background: #fff; text-transform: uppercase; white-space: normal; }
.select-btn { background-color: var(--primary-color); color: white; border: none; padding: 12px 0; width: 100%; border-radius: 4px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background 0.2s; }
.select-btn:hover { background-color: var(--primary-hover); }
.select-btn.change-mode { background-color: #1a1a1a; }
.select-btn.change-mode:hover { background-color: #000; }


.details-section, .payment-section { background: #fff; width: 100%; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e0e0e0; padding: 30px;  margin-top: 10px; animation: slideDown 0.5s ease; }
.passenger-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    padding: 15px 25px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    animation: slideDown 0.5s ease;
}
.hidden {
    display: none;
}
.edit-btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: normal;
}
.edit-btn-outline:hover { background-color: var(--selected-bg); }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.section-title { font-size: 1.3rem; font-weight: 700; color: #333; margin-bottom: 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }

.flight-row {
    display: flex;
    gap: 20px;
    grid-column: span 2;
}

.input-error { border: 1px solid var(--error-color) !important; box-shadow: 0 0 0 1px var(--error-color) !important; }
.input-wrapper { background-color: var(--input-bg); border-radius: 6px; display: flex; align-items: center; padding: 0 15px; height: 50px; transition: box-shadow 0.2s; position: relative; border: 1px solid transparent;}
.input-wrapper:focus-within { background-color: #fff; box-shadow: 0 0 0 1px var(--primary-color); border-color: var(--primary-color); }
.input-icon { color: #888; font-size: 1rem; margin-right: 12px; }
[dir="rtl"] .input-icon { margin-right: 0; margin-left: 12px; }
.clean-input { border: none; background: transparent; width: 100%; font-size: 14px; color: #333; outline: none; height: 100%; }
.phone-input-group { display: flex; align-items: center; background: var(--input-bg); border-radius: 6px; position: relative; height: 50px; width: 100%; border: 1px solid transparent; transition: all 0.2s; }
.phone-input-group:focus-within { background-color: #fff; border-color: var(--primary-color); box-shadow: 0 0 0 1px var(--primary-color); }
.country-trigger { display: flex; align-items: center; padding: 0 10px; cursor: pointer; height: 100%; border-right: 1px solid #ccc; min-width: 100px; }
[dir="rtl"] .country-trigger { border-right: none; border-left: 1px solid #ccc; }
.flag-icon-img { width: 22px; height: 15px; object-fit: cover; margin-right: 6px; border-radius: 2px; }
[dir="rtl"] .flag-icon-img { margin-right: 0; margin-left: 6px; }
.dial-code-display { font-weight: 500; font-size: 13px; margin-right: 4px; color: #333; direction: ltr; }
[dir="rtl"] .dial-code-display { margin-right: 0; margin-left: 4px; }
.arrow-icon { font-size: 10px; color: #555; margin-left: auto; }
[dir="rtl"] .arrow-icon { margin-left: 0; margin-right: auto; }
.whatsapp-input { border: none; background: transparent; height: 100%; width: 100%; padding: 0 15px; font-size: 14px; outline: none; color: #333; text-align: left; }
[dir="rtl"] .whatsapp-input { text-align: right; }
.country-dropdown-list { display: none; position: absolute; top: 100%; left: 0; width: 280px; max-height: 250px; background: white; border: 1px solid var(--border-color); box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 100; border-radius: 6px; margin-top: 5px; overflow: hidden; }
[dir="rtl"] .country-dropdown-list { left: auto; right: 0; }
.country-dropdown-list.show { display: block; }
.dropdown-search-box { position: sticky; top: 0; background: #fff; padding: 8px; border-bottom: 1px solid #eee; z-index: 2; }
.search-input { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; outline: none; }
.options-container { max-height: 200px; overflow-y: auto; }
.country-option { display: flex; align-items: center; padding: 10px 15px; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #f9f9f9; }
.country-option:hover { background-color: var(--bg-hover); }
.country-name { flex-grow: 1; font-size: 13px; color: #333; margin-left: 10px; }
[dir="rtl"] .country-name { margin-left: 0; margin-right: 10px; }
.country-dial-code { color: #888; font-size: 12px; font-weight: 500; }
.extras-section { margin-top: 30px; }
.textarea-wrapper { background-color: #f0f0f0; border-radius: 6px; padding: 15px; margin-bottom: 20px; }
.clean-textarea { width: 100%; border: none; background: transparent; outline: none; resize: vertical; min-height: 80px; font-size: 0.95rem; color: #333; }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra-item { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.extra-header { display: flex; align-items: center; gap: 10px; }
.extra-icon { font-size: 1.1rem; color: #444; }
.extra-icon-img { height: 35px; width: auto; object-fit: contain; }
.extra-title { font-weight: 700; font-size: 0.9rem; color: #333; display: block; line-height: 1.3; }
.action-wrapper { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; padding-left: 28px; }
[dir="rtl"] .action-wrapper { padding-left: 0; padding-right: 28px; }
.extra-price { font-weight: 700; color: var(--primary-color); font-size: 0.9rem; }
.extra-price.free { color: var(--primary-color); }
.extra-checkbox { appearance: none; width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 4px; cursor: pointer; position: relative; background-color: white; transition: all 0.2s; flex-shrink: 0; }
.extra-checkbox:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.extra-checkbox:checked::after { content: '\f00c'; font-family: "Font Awesome 7 Free"; font-weight: 900; color: white; font-size: 12px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.next-btn-container { margin-top: 30px; }
.next-btn { background-color: var(--primary-color); color: white; border: none; width: 100%; padding: 15px; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; text-transform: uppercase; }
.next-btn:hover { background-color: var(--primary-hover); }
.file-upload-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; background-color: #fff; border: 1px dashed #ccc; border-radius: 6px; color: #555; font-weight: 500; cursor: pointer; transition: all 0.2s; width: 100%; box-sizing: border-box; height: 50px;}
.file-upload-btn:hover { border-color: var(--primary-color); color: var(--primary-color); background-color: var(--selected-bg); }
.file-name-display { font-size: 0.85rem; color: #666; margin-top: 5px; display: block; text-align: center; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 25px; align-items: start; }
.section-header-small { font-size: 1rem; color: #444; margin-bottom: 10px; font-weight: 500; }
.summary-box { background-color: #f9f9f9; border-radius: 6px; overflow: hidden; height: auto; border: 1px solid #eee; width: 100%; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 20px; font-size: 0.9rem; color: #333; }
.summary-row.total { background-color: #f0f0f0; font-weight: 700; font-size: 1.05rem; border-top: 1px solid #ddd; }

.payment-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.payment-option-card { border: 1px solid #ccc; border-radius: 6px; padding: 15px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.payment-option-card:hover { border-color: #bbb; }
.payment-option-card.selected { border: 1px solid var(--primary-color); background-color: var(--selected-bg); box-shadow: 0 0 0 1px var(--primary-color); }
.pm-label { font-weight: 700; font-size: 1rem; color: #333; width: 55%; line-height: 1.2; }

.pm-icons {
    display: flex;
    gap: 3px;
    width: 45%;
    justify-content: flex-end;
    flex-wrap: wrap;
}
[dir="rtl"] .pm-icons { justify-content: flex-start; }

.pay-icon-box { border: 1px solid #ddd; border-radius: 4px; width: 38px; height: 26px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 2px; }
.pay-icon-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pm-cash-content { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: #555; }

.cash-icon-img { width: 38px; height: 26px; object-fit: contain; }

.voucher-container { display: flex; gap: 10px; width: 100%; }
.voucher-input { background: #f0f0f0; border: none; padding: 0 15px; border-radius: 6px; height: 50px; flex: 1; outline: none; font-size: 14px; min-width: 0; }
.btn-apply { color: var(--primary-color); background: white; border: 1px solid var(--primary-color); font-weight: 700; padding: 0 20px; border-radius: 6px; cursor: pointer; height: 50px; transition: all 0.2s; font-size: 0.9rem; }
.btn-apply:hover { background-color: var(--primary-color); color: white; }
.terms-container { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.term-row { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; color: #555; align-items: center; }
.term-row a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.btn-confirm { background-color: var(--primary-color); color: white; width: 100%; padding: 15px; border: none; border-radius: 6px; font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; margin-top: 20px; transition: background 0.2s; }
.btn-confirm:hover { background-color: var(--primary-hover); }


.journey-card-container {
    background: var(--bg-card);
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #e0e0e0;
}
.header-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.journey-box {
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px 20px;
}
.journey-segment { display: flex; gap: 15px; }
[dir="rtl"] .journey-segment { text-align: right; }
.timeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 24px;
    flex-shrink: 0;
}
.line {
    width: 2px;
    flex-grow: 1;
    background: repeating-linear-gradient(to bottom, #ccc, #ccc 6px, transparent 6px, transparent 12px);
    margin: 10px 0;
    min-height: 80px;
}
.icon-circle { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.icon-from { color: var(--brand-orange); }
.icon-to { color: var(--icon-dark); }
.segment-details { flex-grow: 1; padding-bottom: 60px; }
.segment-details.last { padding-bottom: 0; }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.label { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.tag { font-size: 0.7rem; color: var(--brand-orange); background: rgba(232, 92, 46, 0.1); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.address { font-size: 0.85rem; color: #555; line-height: 1.5; }
.bottom-container { background-color: #f9f9f9; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-light); }
.date-row { padding: 15px 20px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-dark); font-weight: 600; }
.stats-row { display: flex; justify-content: space-around; padding: 15px 0; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-icon { color: var(--brand-orange); font-size: 1.1rem; }
.stat-text { font-size: 0.85rem; color: var(--text-dark); font-weight: 600; }


@media (max-width: 1100px) {
    .main-layout { flex-direction: column; gap: 20px; }
    .left-column { width: 100%; }
    .right-column { width: 100%; position: static; margin-top: 0; }

    .card { flex-wrap: wrap; }

    .card-left {
        width: 28%;
        border-right: 1px solid #f0f0f0;
        border-bottom: none;
        padding-bottom: 20px;
    }

    .card-middle {
        flex: 1;
        padding: 20px;
        border-bottom: none;
    }

    .card-right {
        width: 25%;
        border-top: none;
        border-left: 1px solid #f0f0f0;
        flex-direction: column;
        justify-content: center;
        padding: 15px 20px;
        background-color: #fcfcfc;
    }

    .card-right .price-header { display: block; }
    .card-right .price-subtext { display: block; }
    .card-right .old-price { margin-right: 0; display: block; }
    .card-right .new-price { display: flex; margin-bottom: 5px; }
    .card-right .select-btn { width: 100%; padding: 12px 0; margin-left: 0; }

    .free-cancel-badge { margin-bottom: 15px; margin-right: 0; display: flex; }

    .payment-options-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .info-grid { grid-template-columns: 1fr; gap: 20px; }
    .form-grid { grid-template-columns: 1fr; }

    .flight-row { grid-column: span 1; }
    .extras-grid { grid-template-columns: 1fr; }
    .details-section, .payment-section { padding: 20px; }
    .stepper-card { padding: 15px 30px; }
}


@media (max-width: 777px) {
    .pm-icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
        width: 45%;
    }
    .pm-label { width: 55%; font-size: 0.9rem; }

    /*body { padding: 80px 5px 10px 5px; }*/

    .card {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .card-middle {
        display: contents;
    }

    .card-left {
        width: 40%;
        border-right: 1px solid #f0f0f0;
        border-bottom: none;
        padding-bottom: 20px;
        order: 1;
    }

    .card-features-section {
        width: 60%;
        padding: 24px;
        border-bottom: none;
        order: 2;
    }

    .card-amenities-section {
        width: 100%;
        padding: 12px;
        order: 3;
        border-top: 1px solid #efefef;
    }

    .card-right {
        width: 100%;
        border-top: 1px solid #f0f0f0;
        border-left: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 10px;
        background-color: #fff;
        text-align: center;
        order: 4;
    }

    .card-right .price-header { display: block; margin-bottom: 2px; font-size: 0.75rem; color: #666; font-weight: 500; }
    .card-right .price-subtext {
        display: block;
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    .card-right .old-price { display: block; margin-right: 0; margin-bottom: 0; font-size: 0.8rem; }
    .card-right .new-price { display: flex; justify-content: center; font-size: 1.25rem; margin-bottom: 2px; }

    .card-right .select-btn {
        width: 100%;
        padding: 8px 0;
        margin-left: 0;
        margin-top: 4px;
        font-size: 0.8rem;
        height: auto;
    }
    [dir="rtl"] .card-right .select-btn { margin-left: 0; margin-right: 0; margin-top: 4px; }
    .free-cancel-badge { display: none; }

    .car-image { height: 70px; margin-bottom: 5px; }
    .car-name { font-size: 0.8rem; }
    .most-popular-badge { padding: 2px 0; font-size: 0.7rem; }
    .card-title { font-size: 1rem; margin-bottom: 4px; padding-right: 25px; }
    .features-grid { grid-template-columns: 1fr; gap: 5px; font-size: 0.75rem; margin-bottom: 2px; }
    .feature-item i, .feature-item svg { width: 14px; }
    .card-amenities-section .divider { display: none; }
    .amenities { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

    .fleet-container { gap: 15px; }
    .amenity { font-size: 0.7rem; }

    .details-section, .payment-section { padding: 15px; }
    .stepper-card { padding: 15px 20px; }
    .voucher-container { flex-wrap: wrap; }
    .btn-apply { width: 100%; margin-top: 5px; }

    .stepper-wrapper { height: 50px; }
    .step-label { font-size: 0.7rem; max-width: 80px; top: -22px; }
    .stepper-track { left: 10px; right: 10px; }

    .passenger-summary { flex-direction: row !important; flex-wrap: wrap !important; gap: 10px; padding: 12px; }
    .passenger-summary h2 { font-size: 0.95rem !important; }
    .edit-btn-outline { width: auto !important; padding: 6px 12px; font-size: 0.75rem; }

    @media (max-width: 380px) {
        .card-right .new-price { font-size: 1.1rem; }
        .card-right .select-btn { padding: 6px 0; font-size: 0.75rem; }
    }
}

@media (max-width: 550px) {
    .card-right {
        padding: 12px 10px !important;
        min-height: 120px !important;
        justify-content: center;
    }
    .card-right .price-header { margin-bottom: 4px !important; font-size: 0.75rem !important; line-height: 1.2; }
    .card-right .old-price { font-size: 0.8rem !important; margin-bottom: 2px !important; line-height: 1.2; }
    .card-right .new-price { font-size: 1.25rem !important; margin-bottom: 6px !important; line-height: 1.2; }
    .card-right .select-btn {
        height: 25px !important;
        min-height: 25px !important;
        padding: 0 !important;
        font-size: 11px !important;
        line-height: 25px !important;
        margin-top: 2px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
@media (max-width: 425px) {
    .card-left { padding-bottom: 10px; width: 35%; }
    .car-image { height: 60px; }
    .most-popular-badge { font-size: 0.6rem; padding: 4px 0; }
    .car-name { font-size: 0.75rem; }

    .card-middle { width: 65%; padding: 8px; }
    .card-title { font-size: 0.9rem; margin-bottom: 5px;padding-right: 12px; }
    .features-grid { gap: 2px; font-size: 0.65rem; }
    .feature-item { gap: 4px; }
    .amenities { gap: 5px; margin-top: 5px; }
    .amenity { font-size: 0.65rem; }

    .card-right { padding: 10px; }
    .select-btn { padding: 8px 0; font-size: 0.85rem; }
    .new-price { font-size: 1.1rem; }

    .journey-card-container { padding: 15px; gap: 15px; }
    .header-title { font-size: 1rem; }
    .journey-box { padding: 15px 10px; }
    .line { min-height: 40px; }
    .segment-details { padding-bottom: 30px; }
    .label { font-size: 0.85rem; }
    .address { font-size: 0.75rem; }
    .tag { padding: 1px 6px; font-size: 0.6rem; }

    .date-row { padding: 10px 15px; font-size: 0.8rem; }
    .stats-row { padding: 10px 0; }
    .stat-icon { font-size: 0.9rem; }
    .stat-text { font-size: 0.75rem; }

    .main-layout { gap: 15px; }
}
#package-booking-step .card {
    display: block !important;
    flex-direction: column !important;
    padding: 15px;
    height: auto;
}

#package-booking-step .section-title {
    margin-bottom: 10px;
}

#package-booking-step .form_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #package-booking-step .form_grid {
        grid-template-columns: 1fr;
    }
}


.ribbon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    /*z-index: 1000;*/
    pointer-events: none;
}

#package-booking-step .card {
    position: relative !important;
}

.ribbon {
    background-color: #dc3545;
    color: #fff;
    text-align: center;
    transform: rotate(45deg);
    position: absolute;
    padding: 5px 20px;
    right: -33px;
    top: 7px;
    width: 120px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-sizing: border-box;
}


[dir="rtl"] .ribbon-wrapper {
    right: 0;
    left: auto;
    transform: none;
}

[dir="rtl"] .ribbon {
    transform: rotate(45deg);
    right: -33px;
    left: auto;
}


.pkg-date-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.pkg-date-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pkg-date-row > div:nth-child(1),
.pkg-date-row > div:nth-child(2) {
    flex: 1;
}
.pkg-date-row > div:nth-child(3) {
    flex: 0 0 auto;
}

#add-pkg-date-btn:hover {
    opacity: 0.9;
}


.form_field {
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.form_field:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(232, 92, 46, 0.1);
}
.floating-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 15px 0 45px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    outline: none;
    z-index: 2;
}
[dir='rtl'] .floating-input {
    padding: 0 45px 0 15px;
}
.field_icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 3;
    pointer-events: none;
    color: #888;
}
[dir='rtl'] .field_icon {
    left: auto;
    right: 15px;
}


.time-picker-dropdowns {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    margin-top: 5px;
    border: 1px solid #eee;
}
.time-picker-dropdowns.single-col-time {
    display: none;
    flex-direction: column;
    max-height: 250px;
    height: auto;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    z-index: 1005;
    background: #fff;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.time-picker-list-single {
    list-style: none;
    padding: 0;
    margin: 0;
}
.time-picker-list-single li {
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.time-picker-list-single li:hover {
    background-color: #fff5f2;
    color: var(--primary-color);
}
.time-picker-dropdowns.single-col-time::-webkit-scrollbar { width: 6px; }
.time-picker-dropdowns.single-col-time::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }





@media (max-width: 600px) {
    #package-booking-step .card {
        padding: 20px 15px !important;
    }

    .pkg-date-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background-color: #fcfcfc;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
    }

    .pkg-date-row > div:nth-child(3) {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        margin-top: 5px;
    }

    .remove-row-btn, .add-row-btn {
        width: 100% !important;
    }

    #add-pkg-date-btn {
        width: 100%;
        padding: 12px;
    }
}

#ui-datepicker-div {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    width: 240px;
    display: none;
    position: absolute;
    z-index: 99999;
}
body.ar-mode #ui-datepicker-div { font-family: 'Cairo', sans-serif !important; direction: rtl; }
.ui-datepicker-header {
    background-color: var(--primary-orange);
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.ui-datepicker-prev, .ui-datepicker-next {
    cursor: pointer;
    font-weight: bold;
    color: #fff !important;
    padding: 0 8px;
}
body.ar-mode .ui-datepicker-prev { order: 2; }
body.ar-mode .ui-datepicker-next { order: 0; }
.ui-datepicker-title { display: flex; gap: 5px; font-weight: 600; }
.ui-datepicker-title select {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.ui-datepicker-title select option { color: #333; }
.ui-datepicker-calendar { width: 100%; border-collapse: collapse; }
.ui-datepicker-calendar th { color: #333; padding: 6px 0; font-weight: 600; }
.ui-datepicker-calendar td { text-align: center; padding: 2px; }
.ui-datepicker-calendar td a {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    margin: 0 auto;
    transition: 0.2s;
    cursor: pointer;
}
.ui-datepicker-calendar td a:hover { background-color: var(--light-orange-bg); color: var(--primary-orange); }
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active,
.ui-datepicker .ui-datepicker-calendar td a.ui-state-active,
.ui-datepicker-calendar td a.ui-state-active {
    background-color: var(--dark-orange) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
}
.ui-datepicker-calendar td a.ui-state-disabled {
    color: #ccc !important;
    background: transparent !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
}


@media (max-width: 777px) {
    .features-grid .feature-item:nth-child(3),
    .features-grid .feature-item:nth-child(6) {
        display: none;
    }

    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background-color: transparent;
        gap: 0;
        border: none;
        padding: 0;
    }

    .feature-item {
        background-color: #fff;
        padding: 8px 10px;
        height: 100%;
        margin: 0;
        justify-content: flex-start;
        position: relative;
    }


    .features-grid .feature-item:nth-child(1) {
        grid-column: span 2;
        justify-content: flex-start;
    }

    .features-grid .feature-item:nth-child(5) {
        grid-column: span 2;
        justify-content: flex-start;
    }

    .features-grid::before { display: none; }
    .features-grid .feature-item::after,
    .features-grid .feature-item::before { content: none; display: none; }

    .features-grid .feature-item:nth-child(1)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #eee;
        display: block;
    }

    .features-grid .feature-item:nth-child(5)::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #eee;
        display: block;
    }

    .features-grid .feature-item:nth-child(4)::before { display: none; }

    .features-grid .feature-item:nth-child(2)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 25%;
        height: 50%;
        width: 1px;
        background-color: #eee;
        display: block;
    }


    [dir="rtl"] .features-grid .feature-item:nth-child(1)::after,
    [dir="rtl"] .features-grid .feature-item:nth-child(5)::before {
        left: auto;
        right: 0;
    }
    [dir="rtl"] .features-grid .feature-item:nth-child(2)::after {
        right: auto;
        left: 0;
    }
}

.amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-right: 30px;
    margin-right: 0;
}
.amenity:not(:last-child)::after {
    right: 15px;
}
[dir="rtl"] .amenity { padding-left: 30px; padding-right: 0; }
[dir="rtl"] .amenity:not(:last-child)::after { left: 15px; right: auto; }
@media (max-width: 550px) {
    .amenity {
        font-size: 0.7rem;
        padding-right: 20px;
    }
    .amenity:not(:last-child)::after {
        right: 10px;
    }
    [dir="rtl"] .amenity { padding-left: 20px; padding-right: 0; }
    [dir="rtl"] .amenity:not(:last-child)::after { left: 10px; right: auto; }

    .features-grid .feature-item { font-size: 0.7rem; }
}

.vehicle-selection-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.vehicle-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.qty-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.qty-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.qty-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

.card.vehicle-selected {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(232, 92, 46, 0.15);
}
@media (max-width: 777px) {
    .vehicle-quantity-control {
        margin-top: 5px;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .qty-display {
        font-size: 1rem;
        min-width: 25px;
    }
}
