/* Reservation Modification Flow */

/* White header: default theme menu links are white (homepage); show dark text here */
.theeb-edit-booking-flow #menu-menu-1 > li > a,
.page-edit-booking #menu-menu-1 > li > a,
.page-edit-booking-extras #menu-menu-1 > li > a,
.page-edit-booking-vehicle #menu-menu-1 > li > a,
.page-edit-booking-review #menu-menu-1 > li > a {
    color: #8C959B;
}

.theeb-edit-booking-flow #menu-menu-1 > li > a:hover,
.page-edit-booking #menu-menu-1 > li > a:hover,
.page-edit-booking-extras #menu-menu-1 > li > a:hover,
.page-edit-booking-vehicle #menu-menu-1 > li > a:hover,
.page-edit-booking-review #menu-menu-1 > li > a:hover {
    color: var(--theme-primarty-color);
}

.edit-booking-page {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto 120px;
    padding: 24px 40px 0;
    font-family: TheSansArabic-Light, sans-serif;
}

.edit-booking-hub-page {
    padding-bottom: 180px;
}

.edit-booking-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 16px;
}

.edit-booking-back {
    position: absolute;
    left: 0;
    color: #0F6AA4;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
}

.edit-booking-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #E8F4FC;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
    color: #3F4751;
    font-size: 14px;
}

.edit-booking-info-banner i {
    color: #0F6AA4;
    margin-top: 2px;
}

.edit-booking-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edit-booking-section {
    border: 1px solid #DEE1E2;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.edit-booking-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    user-select: none;
}

.edit-booking-section-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #DEE1E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #3F4751;
    flex-shrink: 0;
}

.edit-booking-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E8F4FC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F6AA4;
    flex-shrink: 0;
}

.edit-booking-section-icon--addons img {
    width: 20px;
    height: 20px;
    display: block;
    color: #0F6AA4;
}

.edit-booking-section-titles {
    flex: 1;
    min-width: 0;
}

.edit-booking-section-titles h3 {
    margin: 0 0 2px;
    font-size: 16px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-section-titles p {
    margin: 0;
    font-size: 13px;
    color: #6B767E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edit-booking-section-chevron {
    color: #0F6AA4;
    font-size: 14px;
    flex-shrink: 0;
}

.edit-booking-section-body {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid #EFF0F1;
}

.edit-booking-section.is-open .edit-booking-section-body {
    display: block;
}

.edit-booking-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #EFF0F1;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.edit-booking-field-row:last-child {
    border-bottom: none;
}

.edit-booking-field-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.edit-booking-field-left i {
    color: #0F6AA4;
    width: 18px;
    text-align: center;
}

.edit-booking-field-label {
    font-size: 12px;
    color: #6B767E;
    margin: 0 0 2px;
}

.edit-booking-field-value {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-field-row.is-disabled {
    opacity: 0.55;
}

.edit-booking-field-row.is-disabled .edit-booking-field-value {
    color: #8C959B;
}

.edit-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.edit-booking-modal[hidden] {
    display: none;
}

.edit-booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 24, 32, 0.45);
}

.edit-booking-modal-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.edit-booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #EFF0F1;
}

.edit-booking-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #6B767E;
    cursor: pointer;
    padding: 0;
}

.edit-booking-modal-body {
    padding: 20px;
}

.edit-booking-modal-search {
    width: 100%;
    border: 1px solid #DEE1E2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 14px;
}

.edit-booking-branch-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow: auto;
}

.edit-booking-branch-item {
    width: 100%;
    text-align: left;
    border: 1px solid #DEE1E2;
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.edit-booking-branch-item:hover {
    border-color: #0F6AA4;
    background: #F8FBFD;
}

.edit-booking-modal-loading,
.edit-booking-modal-empty {
    font-size: 14px;
    color: #6B767E;
    margin: 0;
}

.edit-booking-duration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.edit-booking-duration-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #6B767E;
}

.edit-booking-duration-field input,
.edit-booking-duration-field select {
    border: 1px solid #DEE1E2;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #1E252B;
    background: #fff;
}

.edit-booking-modal-error {
    color: #DC374B;
    font-size: 13px;
    margin: 0 0 12px;
}

body.edit-booking-modal-open {
    overflow: hidden;
}

.edit-booking-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0 4px;
    font-size: 14px;
}

.edit-booking-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #EFF0F1;
}

.edit-booking-summary-row:last-child {
    border-bottom: none;
}

.edit-booking-summary-label {
    font-size: 14px;
    color: #3F4751;
}

.edit-booking-summary-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.edit-booking-badge-included {
    background: #E6F7EE;
    color: #1B8A4B;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.edit-booking-edit-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #0F6AA4;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.edit-booking-edit-btn:hover,
.edit-booking-edit-btn:focus,
.edit-booking-edit-btn:active {
    background-color: #0F6AA4;
    color: #fff !important;
    filter: brightness(85%);
    text-decoration: none;
}

.edit-booking-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #DEE1E2;
    padding: 12px 20px 20px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.edit-booking-footer-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.edit-booking-footer-total-label {
    font-size: 13px;
    color: #6B767E;
    margin: 0 0 2px;
}

.edit-booking-footer-total-note {
    font-size: 11px;
    color: #8C959B;
    margin: 0;
}

.edit-booking-footer-amount {
    font-size: 28px;
    font-weight: 700;
    font-family: TheSansArabic-Bold, sans-serif;
    margin: 0;
}

.edit-booking-footer-status {
    text-align: center;
    margin-bottom: 8px;
}

.edit-booking-footer-status .status-green {
    color: #1B8A4B;
    font-size: 13px;
    font-weight: 600;
}

.edit-booking-footer-status .status-muted {
    color: #8C959B;
    font-size: 11px;
}

.edit-booking-primary-btn,
a.edit-booking-primary-btn,
button.edit-booking-primary-btn {
    width: 100%;
    background-color: #0F6AA4;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-family: TheSansArabic-SemiBold, sans-serif;
    cursor: pointer;
    text-decoration: none !important;
    transition: filter 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.edit-booking-primary-btn:hover,
.edit-booking-primary-btn:focus,
.edit-booking-primary-btn:active,
a.edit-booking-primary-btn:hover,
a.edit-booking-primary-btn:focus,
a.edit-booking-primary-btn:active,
button.edit-booking-primary-btn:hover,
button.edit-booking-primary-btn:focus,
button.edit-booking-primary-btn:active {
    background-color: #0F6AA4;
    color: #fff !important;
    filter: brightness(85%);
    text-decoration: none !important;
}

.edit-booking-primary-btn:visited,
a.edit-booking-primary-btn:visited {
    color: #fff !important;
}

.edit-booking-primary-btn:disabled,
button.edit-booking-primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: none;
}

.edit-booking-alert-error .edit-booking-primary-btn {
    color: #fff !important;
}

.edit-booking-alert-error a.edit-booking-primary-btn:hover,
.edit-booking-alert-error a.edit-booking-primary-btn:focus,
.edit-booking-alert-error a.edit-booking-primary-btn:active {
    color: #fff !important;
    background-color: #0F6AA4;
}

a.edit-booking-section-header:hover,
a.edit-booking-section-header:focus,
a.edit-booking-section-header:active {
    color: inherit;
    text-decoration: none;
}

/* Extras page */
.edit-booking-extras-group {
    margin-bottom: 24px;
}

.edit-booking-extras-group h2 {
    font-size: 16px;
    font-family: TheSansArabic-SemiBold, sans-serif;
    margin: 0 0 12px;
}

.edit-booking-option-card {
    border: 1px solid #DEE1E2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.edit-booking-option-card.is-selected {
    border-color: #0F6AA4;
    background: #F8FBFD;
}

.edit-booking-option-card.recommended {
    margin-top: 18px;
}

.edit-booking-recommended-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #0F6AA4;
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 6px;
}

.edit-booking-option-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-option-desc {
    font-size: 12px;
    color: #6B767E;
    margin: 0;
}

.edit-booking-option-price {
    font-size: 15px;
    font-weight: 700;
    color: #0F6AA4;
    white-space: nowrap;
}

.edit-booking-option-price.is-free {
    color: #3F4751;
}

.theeb-price-with-sar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.theeb-sar-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

.edit-booking-option-price .theeb-price-with-sar,
.edit-booking-review-line .theeb-price-with-sar,
.edit-booking-footer-amount .theeb-price-with-sar {
    justify-content: flex-end;
}

.edit-booking-review-delta .theeb-price-with-sar {
    display: inline-flex;
}

/* Vehicle selection */
.edit-booking-alert-error {
    display: flex;
    gap: 12px;
    background: #FDF1F1;
    border: 1px solid #F5C2C7;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.edit-booking-alert-error > i {
    color: #DC374B;
    font-size: 18px;
    margin-top: 1px;
    flex-shrink: 0;
}

.edit-booking-alert-error strong {
    color: #DC374B;
    display: block;
    margin-bottom: 4px;
}

.edit-booking-alert-error p {
    margin: 0;
    font-size: 13px;
    color: #721C24;
    line-height: 1.45;
}

.edit-booking-vehicle-page {
    max-width: 1140px;
    width: 100%;
    padding: 24px 40px 160px;
    margin-left: auto;
    margin-right: auto;
}

.edit-booking-vehicle-page .edit-booking-header h1 {
    font-size: 24px;
}

.edit-booking-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    gap: 16px;
}

.edit-booking-list-count {
    font-family: TheSansArabic-SemiBold, sans-serif;
    color: #3F4751;
}

.edit-booking-car-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.edit-booking-car-sort-label {
    color: #6B767E;
    font-size: 13px;
    white-space: nowrap;
}

.edit-booking-car-sort {
    border: none;
    background: transparent;
    color: #3F4751;
    font-size: 13px;
    font-family: TheSansArabic-SemiBold, sans-serif;
    padding: 0 18px 0 0;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B767E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.edit-booking-car-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edit-booking-car-card {
    border: 1px solid #DEE1E2;
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 0;
    display: block;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.edit-booking-car-card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.edit-booking-car-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.edit-booking-car-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.edit-booking-car-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1.2;
}

.edit-booking-car-card.is-selected {
    border-color: #0F6AA4;
    background: #F8FBFD;
}

.edit-booking-car-info {
    flex: 1;
    min-width: 0;
}

.edit-booking-car-badge.economy { background: #E6F7EE; color: #1B8A4B; }
.edit-booking-car-badge.compact { background: #E8F4FC; color: #0F6AA4; }
.edit-booking-car-badge.midsize { background: #F0E8FC; color: #6B3FA0; }
.edit-booking-car-badge.luxury { background: #FFF3E6; color: #C46A00; }
.edit-booking-car-badge.suv { background: #E8F0FC; color: #3A6BB5; }
.edit-booking-car-badge.year { background: #EFF0F1; color: #6B767E; }

.edit-booking-car-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
    color: #1E252B;
}

.edit-booking-car-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 28px;
    font-weight: 700;
    color: #0F6AA4;
    margin: 0 0 4px;
    line-height: 1.2;
}

.edit-booking-car-price .theeb-price-with-sar {
    font-size: 28px;
    font-weight: 700;
    color: #0F6AA4;
}

.edit-booking-car-price .edit-booking-price-unit {
    font-size: 15px;
    color: #8C959B;
    font-weight: 400;
}

.edit-booking-car-vat-note {
    font-size: 13px;
    color: #8C959B;
    margin: 0;
}

.edit-booking-car-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}

.edit-booking-car-feature {
    background: #F8FBFD;
    border: 1px solid #D6EAF5;
    border-radius: 10px;
    padding: 12px 8px;
    font-size: 12px;
    color: #3F4751;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    line-height: 1.3;
    min-height: 56px;
}

.edit-booking-car-feature i {
    color: #0F6AA4;
    font-size: 16px;
    flex-shrink: 0;
}

.edit-booking-car-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    width: 340px;
    position: relative;
}

.edit-booking-car-image {
    width: 320px;
    height: 180px;
    object-fit: contain;
    display: block;
}

.edit-booking-car-visual input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.edit-booking-radio {
    width: 26px;
    height: 26px;
    border: 2px solid #DEE1E2;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}

.edit-booking-car-card.is-selected .edit-booking-radio {
    border-color: #0F6AA4;
}

.edit-booking-car-card.is-selected .edit-booking-radio::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: #0F6AA4;
    border-radius: 50%;
}

.edit-booking-vat-note {
    background: #E8F4FC;
    padding: 10px 14px;
    font-size: 12px;
    color: #0F6AA4;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.edit-booking-vat-note i {
    flex-shrink: 0;
}

.edit-booking-vehicle-footer {
    padding: 14px 40px 24px;
}

.edit-booking-vehicle-footer .edit-booking-vat-note {
    margin-bottom: 12px;
    font-size: 13px;
    padding: 12px 16px;
}

.edit-booking-vehicle-footer .edit-booking-primary-btn {
    padding: 18px;
    font-size: 17px;
}

@media (max-width: 900px) {
    .edit-booking-vehicle-page {
        max-width: 100%;
        padding: 16px 20px 150px;
    }

    .edit-booking-car-main {
        align-items: flex-start;
        gap: 16px;
    }

    .edit-booking-car-visual {
        width: 200px;
    }

    .edit-booking-car-image {
        width: 190px;
        height: 110px;
    }

    .edit-booking-car-name {
        font-size: 17px;
    }

    .edit-booking-car-price,
    .edit-booking-car-price .theeb-price-with-sar {
        font-size: 24px;
    }

    .edit-booking-vehicle-footer {
        padding: 12px 20px 20px;
    }
}

@media (max-width: 600px) {
    .edit-booking-car-card {
        padding: 16px;
    }

    .edit-booking-car-main {
        gap: 10px;
    }

    .edit-booking-car-visual {
        width: 120px;
    }

    .edit-booking-car-image {
        width: 112px;
        height: 68px;
    }

    .edit-booking-car-name {
        font-size: 15px;
    }

    .edit-booking-car-price,
    .edit-booking-car-price .theeb-price-with-sar {
        font-size: 20px;
    }

    .edit-booking-car-features {
        gap: 6px;
    }

    .edit-booking-car-feature {
        flex-direction: column;
        font-size: 9px;
        min-height: 48px;
        padding: 8px 4px;
        gap: 4px;
    }

    .edit-booking-car-feature i {
        font-size: 14px;
    }
}

/* Review page */
.edit-booking-review-card {
    border: 1px solid #DEE1E2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.edit-booking-review-card h3 {
    font-size: 15px;
    margin: 0 0 12px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-review-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #EFF0F1;
}

.edit-booking-review-line:last-child {
    border-bottom: none;
}

.edit-booking-review-line.total {
    font-weight: 700;
    font-size: 16px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid #DEE1E2;
}

.edit-booking-review-delta {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.edit-booking-review-delta.positive { background: #FFF3E6; color: #C46A00; }
.edit-booking-review-delta.negative { background: #E6F7EE; color: #1B8A4B; }
.edit-booking-review-delta.neutral { background: #E8F4FC; color: #0F6AA4; }

/* Car details (my-rental) enhancements */
.my-rental-car-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.car-summary-details-my-rental .car-summary-details-info > hr {
    display: none;
}

.car-summary-details-my-rental .car-summary-details-info-car-details-image > div p {
    margin: 0;
}

.my-rental-car-details-actions {
    display: flex;
    gap: 12px;
}

.my-rental-car-details-actions a {
    color: #0F6AA4;
    font-size: 18px;
    text-decoration: none;
}

.my-rental-price-breakdown {
    border: 1px solid #DEE1E2;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.my-rental-price-breakdown h3 {
    font-size: 16px;
    margin: 0 0 12px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.my-rental-price-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #EFF0F1;
}

.my-rental-price-line.discount {
    color: #1B8A4B;
}

.my-rental-price-line.total {
    font-weight: 700;
    font-size: 16px;
    border-bottom: none;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid #DEE1E2;
}

.my-rental-free-km {
    border: 1px solid #DEE1E2;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.my-rental-free-km h3 {
    font-size: 15px;
    margin: 0 0 12px;
}

.my-rental-membership-note {
    font-size: 12px;
    color: #6B767E;
    margin-top: 8px;
}

.get-directions-link{
    display: inline-block;
    margin: 8px 0 12px;
    color: #0F6AA4;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}
.get-directions-link:hover{
    color: #0a4f7a;
}

.edit-booking-section.is-open#edit-section-rental,
.edit-booking-section.is-open#edit-section-rental .edit-booking-section-body {
    overflow: visible;
}

.edit-booking-rental-section-body {
    padding: 0 !important;
    overflow: visible;
}

.edit-booking-rental-booking {
    position: relative;
    overflow: visible;
}

.edit-booking-rental-booking .edit-booking-rental-map-home {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.edit-booking-rental-booking .booking-home-container {
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.edit-booking-rental-booking .input-fields-map {
    width: 50%;
    padding: 16px 20px;
    justify-content: flex-start;
    gap: 10px;
    min-height: auto;
}

.edit-booking-rental-booking .input-fields-map {
    position: relative;
}

.edit-booking-rental-booking .eb-rental-field {
    flex: 1;
    min-width: 0;
}

.edit-booking-rental-booking .eb-rental-field-label {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: #6B767E;
    margin: 0 0 4px;
    font-family: TheSansArabic-SemiBold, sans-serif;
}

.edit-booking-rental-booking .location-picker {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: flex;
    gap: 10px;
    width: 100%;
}

.edit-booking-rental-booking .location-picker > .eb-rental-field {
    flex: 1;
    min-width: 0;
    width: auto;
    margin: 0 !important;
}

.edit-booking-rental-booking .location-picker .home-location-input {
    width: 100% !important;
    max-width: none;
    height: 48px;
    margin: 0 !important;
}

.edit-booking-rental-booking .location-picker .location-input {
    width: 100%;
    box-sizing: border-box;
}

.edit-booking-rental-booking .input-fields-date-time-home .input-fields-date-item-container,
.edit-booking-rental-booking .input-fields-date-time-home .input-fields-time-item-container {
    width: 100%;
    max-width: none;
}

.edit-booking-rental-booking .input-fields-date-time-home {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.edit-booking-rental-booking .map-home {
    width: 50%;
    min-height: 360px;
}

.edit-booking-rental-booking .map-home .map {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border-radius: 0 0 12px 0;
}

.edit-booking-rental-booking .location-picker .form-floating {
    margin-bottom: 0 !important;
}

.edit-booking-rental-booking #eb-pickUpLocation,
.edit-booking-rental-booking #eb-returnLocation {
    position: absolute;
    top: 72px;
    display: none;
    visibility: hidden;
    width: calc(50% - 6px);
    max-width: none;
    height: 220px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 500;
    border: 1px solid #DEE1E2;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    background: #fff;
}

.edit-booking-rental-booking #eb-pickUpLocation {
    left: 0;
}

.edit-booking-rental-booking #eb-returnLocation {
    right: 0;
}

.edit-booking-rental-booking #eb-pickup-time,
.edit-booking-rental-booking #eb-return-time {
    position: absolute;
    display: none;
    visibility: hidden;
    flex-direction: row;
    align-items: stretch;
    width: calc(50% - 6px);
    height: 240px;
    max-height: 240px;
    overflow: hidden;
    padding: 8px;
    right: 0;
    z-index: 500;
    top: auto;
    left: auto;
    border: 1px solid #DEE1E2;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    background: #fff;
}

.edit-booking-rental-booking #eb-pickup-time {
    top: 132px;
}

.edit-booking-rental-booking #eb-return-time {
    top: 196px;
}

.edit-booking-rental-booking .city-branch-selector-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    margin: 0;
    border-bottom: 1px solid #eff0f1;
    box-sizing: border-box;
}

.edit-booking-rental-booking .city-branch-selector-item:last-child {
    border-bottom: none;
}

.edit-booking-rental-booking .eb-branch-label {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #3f4751;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
}

.edit-booking-rental-booking .city-branch-selector-item .location-icon {
    flex-shrink: 0;
    position: static !important;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    padding: 0;
}

.edit-booking-rental-booking #eb-pickup-time .timeRange-item,
.edit-booking-rental-booking #eb-return-time .timeRange-item {
    flex: 1;
    overflow-y: auto;
    width: auto !important;
}

.edit-booking-rental-booking #eb-pickup-time .timeRange-pm-am,
.edit-booking-rental-booking #eb-return-time .timeRange-pm-am {
    position: static !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 4px;
    flex-shrink: 0;
}

.edit-booking-rental-booking .timeRange-items {
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.2;
}

.edit-booking-rental-booking .timeRange-pm-am p {
    margin: 0;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: 1px solid #0f6aa4;
}

.edit-booking-rental-booking .daterangepicker {
    z-index: 10060 !important;
}

@media (max-width: 900px) {
    .edit-booking-rental-booking .booking-home-container {
        flex-direction: column;
    }

    .edit-booking-rental-booking .input-fields-map,
    .edit-booking-rental-booking .map-home {
        width: 100%;
    }

    .edit-booking-rental-booking .map-home .map {
        min-height: 280px;
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .edit-booking-page:not(.edit-booking-vehicle-page) {
        padding-top: 32px;
    }

    .edit-booking-footer:not(.edit-booking-vehicle-footer) {
        max-width: 1140px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 16px 16px 0 0;
    }

    .edit-booking-vehicle-footer {
        max-width: 1140px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 16px 16px 0 0;
    }

    .edit-booking-section-header {
        padding: 18px 20px;
    }

    .edit-booking-section-body {
        padding: 0 20px 20px;
    }
}

@media (max-width: 767px) {
    .edit-booking-page {
        padding: 16px 20px 0;
    }

    .edit-booking-duration-grid {
        grid-template-columns: 1fr;
    }
}
