/* Skeleton loading animation for discount code input */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

.countdown-banner {
    align-items: center;
    background-color: #ffe8ed;
    border: 1px solid #ffe8ed;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0 0 12px 0;
    padding: 8px 16px;
    width: auto;
}

.countdown-banner__content {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.countdown-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c72a3d;
    flex-shrink: 0;
    line-height: 1;
}

.countdown-banner__icon svg,
.countdown-banner__icon i {
    width: 16px;
    height: 16px;
    fill: #c72a3d;
    color: #c72a3d;
    display: block;
}

.countdown-banner__message {
    font-size: 14px;
    font-weight: 500;
    color: #1a2b49;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.countdown-banner__message strong {
    font-weight: 600;
    color: #1a2b49;
    margin-left: 4px;
}

.countdown-banner__duration {
    font-weight: 600;
    color: #1a2b49;
}

.personal-details-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b49;
    margin: 0 0 4px 0;
}

@media (max-width: 768px) {
    .personal-details-heading {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007850;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.security-badge i {
    font-size: 16px;
}

.tour-confirm-container {
    max-width: 1400px;
    margin: 0;
    padding: 4px 60px 24px 60px;
    overflow: visible !important;
}

.tour-confirm-header {
    margin-bottom: 16px;
}

.tour-confirm-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 8px;
}

.tour-confirm-header .security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.tour-confirm-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 32px;
    align-items: start;
    max-width: 1300px;
    margin: 0;
}

@media (max-width: 991px) {
    .tour-confirm-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
    }
}

.personal-details-section {
    background: #fff;
    border-radius: 8px;
    padding: 4px 16px 16px 16px;
    box-shadow: none;
    max-width: 550px;
    overflow: visible !important;
}

.form-field-wrapper {
    margin-bottom: 16px;
    position: relative;
    overflow: visible !important;
    max-width: 100%;
}

.form-field-wrapper:last-child {
    margin-bottom: 0;
}

/* Ensure phone wrapper doesn't clip dropdown */
.form-field-wrapper#phone-wrapper {
    overflow: visible !important;
    z-index: auto;
}

.form-field-wrapper input {
    max-width: 100%;
}

.form-field-wrapper label {
    position: absolute;
    top: 6px;
    left: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #63687a;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 1;
    background: transparent;
    line-height: 1;
}

.form-field-wrapper .required::after {
    content: '*';
    color: #dc2626;
    margin-left: 2px;
}

.form-field-wrapper input {
    width: 100%;
    height: 44px;
    padding: 20px 40px 8px 12px;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #1a2b49;
    transition: border-color 0.3s;
    background: #fff;
    box-shadow: none;
}

.form-field-wrapper input[value]:not([value=""]) {
    padding-top: 20px;
}

.form-field-wrapper input:not([value=""]) {
    padding-top: 20px;
}

.form-field-wrapper input:focus {
    outline: none;
    border-color: #0071eb;
    box-shadow: none;
}

.form-field-wrapper input.error,
.form-field-wrapper.valid input.error {
    border-color: #c72a3d;
}

.form-field-wrapper input:focus+label,
.form-field-wrapper input:not(:placeholder-shown)+label,
.form-field-wrapper input:valid+label,
.form-field-wrapper input[value]:not([value=""])+label,
.form-field-wrapper input:not([value=""])+label {
    top: 6px;
    font-size: 11px;
}

.form-field-wrapper input:not(:placeholder-shown),
.form-field-wrapper input[value]:not([value=""]),
.form-field-wrapper input:not([value=""]) {
    padding-top: 20px;
    padding-bottom: 8px;
}

.form-field-wrapper .field-checkmark {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #007850;
    font-size: 16px;
    display: none;
    z-index: 2;
}

.form-field-wrapper.valid .field-checkmark {
    display: block;
}

.form-field-wrapper.valid input {
    border-color: #007850;
    padding-right: 38px;
}

/* Country dropdown styles */
.country-dropdown-wrapper {
    position: relative;
}

.custom-select-dropdown {
    position: relative;
}

.custom-select-dropdown input[readonly] {
    cursor: pointer;
    background-color: #fff;
    padding-right: 32px;
    padding-left: 44px;
    border: 1px solid #dcdfe4 !important;
    height: 44px;
}

.custom-select-dropdown input[readonly]:focus {
    border-color: #0071eb !important;
}

.custom-select-dropdown input[readonly]:hover {
    border-color: #9ca3af;
}

/* Country Flag Display */
.country-flag-display {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.country-flag-display .fi {
    font-size: 20px;
    line-height: 1;
}

.country-flag-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    vertical-align: middle;
    flex-shrink: 0;
    width: 28px;
    height: 20px;
    text-align: center;
}

.country-flag-item .fi {
    font-size: 20px;
    line-height: 1;
}

.country-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 18px;
    transition: transform 0.2s ease;
    z-index: 10;
}

.country-dropdown-wrapper.active .country-dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-wrap {
    padding: 10px 0;
    background-color: #fff;
    border: 2px solid #dcdfe4 !important;
    border-radius: 10px;
    width: 100%;
    max-height: 285px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);
    display: none;
    transform: scaleY(0);
    transform-origin: top;
    min-width: 100%;
    margin-top: 5px;
    flex-direction: column;
}

.custom-select-wrap.active {
    display: flex;
    transform: scaleY(1);
}

.custom-select-search-area {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    flex-shrink: 0;
}

.custom-select-search-area i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 1;
}

.custom-select-search-area input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 2px solid #dcdfe4 !important;
    outline: none;
    background: #fff !important;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
}

.custom-select-search-area input:focus {
    border-color: #0071eb !important;
    box-shadow: 0 0 0 3px rgba(0, 113, 235, 0.1);
}

.custom-select-search-area input::placeholder {
    color: #6c757d;
}

.custom-select-search-area input::placeholder {
    color: #6c757d;
}

.option-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.option-list li {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.option-list li:hover {
    background: #f3f4f6;
}

.option-list li h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #1a2b49;
    flex: 1;
}

.option-list li .country-checkmark {
    color: #007850;
    font-size: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

.option-list li.selected {
    background: #f0f9ff;
}

/* Mobile dropdown styles */
.mobile-dropdown-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-dropdown-backdrop.show {
    display: none;
}

.mobile-dropdown-header {
    display: none;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b49;
}

.mobile-dropdown-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.country-dropdown-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 767px) {
    .mobile-dropdown-backdrop.show {
        display: block;
    }

    .custom-select-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .mobile-dropdown-header {
        display: flex;
    }

    .option-list {
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

/* Special handling for country field with flag */
.form-field-wrapper#country-wrapper .country-dropdown-wrapper {
    position: relative;
}

.form-field-wrapper#country-wrapper .country-dropdown-wrapper label {
    left: 45px;
    position: absolute;
    top: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #63687a;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 1;
    line-height: 1;
}

.form-field-wrapper#country-wrapper input {
    padding-left: 45px;
    padding-top: 20px;
    height: 44px;
}

.form-field-wrapper#country-wrapper input:focus+label,
.form-field-wrapper#country-wrapper input:not(:placeholder-shown)+label,
.form-field-wrapper#country-wrapper input:valid+label {
    top: 6px;
    font-size: 11px;
}

.form-field-wrapper#country-wrapper .country-dropdown-icon {
    right: 10px;
    font-size: 16px;
}

.form-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

/* Phone Input Wrapper Styles */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    background: #fff;
    overflow: visible !important;
    position: relative;
    height: 44px;
}

/* Divider between phone code and phone number - extends full height */
.phone-code-wrapper .custom-select-dropdown::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #dcdfe4;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.phone-input-wrapper:focus-within {
    border-color: #0071eb;
    outline: none;
}

.phone-country-code-selector {
    flex-shrink: 0;
    position: relative;
    overflow: visible !important;
    z-index: 1002;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.phone-code-wrapper {
    position: relative;
    z-index: 1002;
    overflow: visible !important;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.phone-code-wrapper .custom-select-dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    height: 100%;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
    gap: 8px;
    min-width: 110px;
    line-height: normal;
    align-self: stretch;
    box-sizing: border-box;
}

.phone-code-wrapper .custom-select-dropdown::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #dcdfe4;
    z-index: 1;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .phone-code-wrapper .custom-select-dropdown {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
    }

    .phone-code-wrapper .custom-select-dropdown::after {
        right: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        margin: 0;
        padding: 0;
    }

    .phone-input-wrapper {
        height: 44px;
        overflow: visible;
    }

    .phone-country-code-selector {
        height: 44px;
        display: flex;
        align-items: stretch;
    }

    .phone-code-wrapper {
        height: 44px;
        display: flex;
        align-items: stretch;
    }
}

.phone-code-wrapper .custom-select-dropdown>* {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}


/* Phone code dropdown wrapper - ensure it displays outside */
#phone_code_dropdown_wrap {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    z-index: 10000 !important;
    min-width: 320px !important;
    max-width: 400px !important;
    width: auto !important;
    overflow: visible !important;
    transform-origin: top left !important;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15) !important;
}

#phone_code_dropdown_wrap:not(.active) {
    display: none !important;
    transform: scaleY(0) !important;
}

#phone_code_dropdown_wrap.active {
    display: flex !important;
    transform: scaleY(1) !important;
}

/* Ensure dropdown content isn't compressed */
.phone-code-wrapper .custom-select-wrap .option-list {
    width: 100% !important;
    min-width: 100% !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
}

.phone-code-wrapper .custom-select-wrap .option-list li {
    width: 100% !important;
    min-width: 100% !important;
    white-space: normal !important;
    padding: 12px 16px !important;
    display: flex;
    align-items: center !important;
}

.phone-code-wrapper .custom-select-wrap .option-list li[style*="display: none"] {
    display: none !important;
}

.phone-code-wrapper .custom-select-wrap .option-list li h6 {
    white-space: normal !important;
    word-wrap: break-word !important;
    flex: 1 !important;
}

.phone-code-wrapper .custom-select-dropdown:hover {
    background: #f8f9fa;
}

.phone-code-wrapper .phone-flag-display {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.phone-code-wrapper .phone-flag-display .fi {
    font-size: 20px;
    line-height: 1;
}

.phone-code-display {
    font-weight: 600;
    color: #1a2b49;
    white-space: nowrap;
    margin: 10px 0 0 40px;
    padding: 0;
    font-size: 14px;
    line-height: normal;
}

.phone-code-wrapper .country-dropdown-icon {
    margin-left: auto;
    font-size: 14px;
    color: #858995;
    flex-shrink: 0;
}

.phone-code-wrapper.active .country-dropdown-icon {
    transform: rotate(180deg);
}

.phone-number-input {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.phone-number-input input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 20px 12px 8px 12px;
    font-size: 14px;
    background: transparent;
    color: #1a2b49;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.phone-number-input input:focus {
    outline: none;
    box-shadow: none;
}

.phone-flag-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    vertical-align: middle;
    flex-shrink: 0;
    width: 28px;
    height: 20px;
    text-align: center;
}

.phone-flag-item .fi {
    font-size: 20px;
    line-height: 1;
}

.option-list li .phone-checkmark {
    color: #007850;
    font-size: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Phone wrapper label positioning */
.form-field-wrapper#phone-wrapper {
    position: relative;
}

.form-field-wrapper#phone-wrapper label {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #63687a;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 1;
}

.form-field-wrapper#phone-wrapper.valid label,
.form-field-wrapper#phone-wrapper .phone-input-wrapper:focus-within~label {
    top: 6px;
    font-size: 11px;
    left: 130px;
    color: #63687a;
}

/* Move label up when phone input has value */
.form-field-wrapper#phone-wrapper .phone-number-input input:focus~label,
.form-field-wrapper#phone-wrapper .phone-number-input input:not(:placeholder-shown)~label,
.form-field-wrapper#phone-wrapper:has(.phone-number-input input:not(:placeholder-shown)) label,
.form-field-wrapper#phone-wrapper:has(.phone-number-input input[value]:not([value=""])) label {
    top: 6px;
    font-size: 11px;
    left: 130px;
    color: #63687a;
}

.order-summary-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.order-summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 24px;
}

.order-item {
    display: flex;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.order-item-image {
    width: 100%;
    height: auto;
    max-height: 240px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.order-item-details {
    flex: 1;
    width: 100%;
}

.order-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b49;
    margin-bottom: 4px;
}

.order-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4b5563;
}

.cart-item__description--details {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-top: -8px;
}

.cart-item__description--details--entry {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cart-item__description--details--entry:last-of-type {
    margin-bottom: 0;
}

.c-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.c-icon i {
    font-size: 18px;
    color: #6b7280;
}

.cart-item__description--details--entry>div {
    flex: 1;
    color: #1a2b49 !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5rem !important;
}

.cart-item__description--details--entry>div strong {
    font-weight: 700 !important;
    color: #1a2b49 !important;
}

.cart-item__description--details {
    font-weight: 600 !important;
}

.cart-item__description--details--edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #0071eb;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 0;
    transition: color 0.2s;
}

.cart-item__description--details--edit:hover {
    color: #0056b3;
}

.c-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.c-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-button__icon i {
    font-size: 16px;
}

.c-button__text {
    display: inline-block;
}

.cancellation-info {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.cancellation-info i {
    color: #10b981;
}

.value-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #4b5563;
}

.value-info i {
    color: #10b981;
    font-size: 18px;
    margin-top: 2px;
}

.promo-code-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #006ce4;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    cursor: pointer;
}

.promo-code-link:hover {
    text-decoration: underline;
}

.order-total {
    border-top: 2px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}

.order-total-label {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 8px;
}

.order-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b49;
    margin-bottom: 4px;
}

.order-total-note {
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

.order-total-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 4px;
}

.order-total-terms {
    font-size: 13px;
    color: #4b5563;
    text-align: left;
}

.order-total-terms a {
    color: #0068D9;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    margin-top: 12px;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-button:disabled:hover {
    background-color: var(--black-color);
}


@media (max-width: 767px) {
    .tour-confirm-container {
        padding: 16px;
    }

    .personal-details-section,
    .order-summary-section {
        padding: 16px;
    }

    .tour-confirm-header h1 {
        font-size: 24px;
    }

    .tour-confirm-header {
        margin-bottom: 16px;
    }

    .order-summary-section {
        position: static;
    }

    .form-field-wrapper {
        margin-bottom: 16px;
    }

    /* Mobile dropdown fullscreen */
    .custom-select-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100vh !important;
        height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important;
        transform: translateY(0) !important;
        padding: 0 !important;
        display: none !important;
    }

    .custom-select-wrap.active {
        display: flex !important;
    }

    .mobile-dropdown-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .mobile-dropdown-backdrop.show {
        display: block;
    }

    .mobile-dropdown-header {
        display: none;
    }

    .custom-select-wrap.active .mobile-dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: #fff;
        border-bottom: 1px solid #dee2e6;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-dropdown-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .mobile-dropdown-close {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: #666;
        font-size: 24px;
        min-width: 44px;
        min-height: 44px;
    }

    .custom-select-search-area {
        position: sticky;
        top: 59px;
        z-index: 9;
        background: #fff;
        padding: 12px 15px !important;
        border-bottom: 1px solid #dee2e6;
    }

    .custom-select-search-area input {
        font-size: 16px !important;
        padding: 12px 10px !important;
        min-height: 44px;
    }

    .custom-select-wrap .option-list {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }

    .option-list li {
        padding: 14px 15px !important;
        min-height: 48px;
        border-bottom: 1px solid #f5f5f5;
    }

    body.country-dropdown-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Prevent page movement when modal opens/closes */
html {
    scrollbar-gutter: stable;
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Override Bootstrap's padding-right that causes layout shift */
body[style*="padding-right"] {
    padding-right: 0 !important;
}

/* Prevent any padding-right from being applied */
body.modal-open[style*="padding-right"] {
    padding-right: 0 !important;
}

/* Ensure modal doesn't cause layout shift */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* Change Booking Modal Styles */
.change-booking-field {
    position: relative;
}

.change-booking-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    padding: 12px 16px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s;
}

.change-booking-input-wrapper:hover {
    border-color: #0071eb;
}

.change-booking-display {
    flex: 1;
    font-size: 14px;
    color: #1a2b49;
    font-weight: 500;
}

.change-booking-calendar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1060;
    padding: 12px;
    width: 320px;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Calendar styles for modal */
#changeBookingModal .booking-calendar {
    margin-bottom: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#changeBookingModal .calendar-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

#changeBookingModal .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    cursor: default;
    user-select: none;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f9fafb;
}

#changeBookingModal .calendar-nav-btn {
    width: 28px;
    height: 28px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a2b49;
    flex-shrink: 0;
    padding: 0;
}

#changeBookingModal .calendar-nav-btn:hover {
    border-color: #006ce4;
    background: #f0f7ff;
    color: #006ce4;
}

#changeBookingModal .calendar-nav-btn i {
    font-size: 14px;
}

#changeBookingModal .calendar-month-year {
    font-size: 15px;
    font-weight: 600;
    color: #1a2b49;
    flex: 1;
    text-align: center;
}

#changeBookingModal .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
}

#changeBookingModal .weekday {
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#changeBookingModal .calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}

#changeBookingModal .calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    color: #1a2b49;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: 2px solid transparent;
    padding: 6px 4px;
    min-height: 32px;
    font-weight: 500;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

#changeBookingModal .calendar-date.empty {
    cursor: default;
    pointer-events: none;
}

#changeBookingModal .calendar-date:hover:not(.disabled):not(.closed):not(.empty) {
    background: #f0f7ff;
    border-color: #006ce4;
    color: #006ce4;
}

#changeBookingModal .calendar-date.selected {
    background: #006ce4;
    color: #fff;
    font-weight: 600;
    border-color: #006ce4;
    position: relative;
}

#changeBookingModal .calendar-date.selected::before {
    content: '\2713';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    pointer-events: none;
    line-height: 1;
}

#changeBookingModal .calendar-date.disabled {
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.5;
    background: #f9fafb;
    border-color: #e5e7eb;
}

#changeBookingModal .calendar-date.available {
    color: #1a2b49;
}

#changeBookingModal .calendar-date.available:hover {
    background: #f0f7ff;
    border-color: #006ce4;
    color: #006ce4;
}

.change-booking-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1045;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Calendar dropdown should be above time/attendees dropdowns */
#date-calendar-dropdown {
    z-index: 1060 !important;
}

/* Time and attendees dropdowns should be below calendar */
#time-dropdown,
#attendees-dropdown {
    z-index: 1045 !important;
}

/* Style time and attendees dropdown lists to match form fields */
#changeBookingModal .change-booking-dropdown .option-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#changeBookingModal .change-booking-dropdown .option-list li {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #1a2b49;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#changeBookingModal .change-booking-dropdown .option-list li:last-child {
    border-bottom: none;
}

#changeBookingModal .change-booking-dropdown .option-list li:hover {
    background-color: #f8f9fa;
}

#changeBookingModal .change-booking-dropdown .option-list li.selected {
    background-color: #f0f7ff;
    color: #006ce4;
    font-weight: 500;
}

#changeBookingModal .change-booking-dropdown .option-list li.selected::after {
    content: '\2713';
    color: #006ce4;
    font-weight: bold;
    margin-left: 8px;
}

/* Prevent custom.js niceSelect from affecting modal selects */
#changeBookingModal select {
    display: none !important;
}

#changeBookingModal select+.nice-select {
    display: none !important;
}

/* Prevent modal body and content from scrolling to avoid double scrollbars */
#changeBookingModal .modal-body {
    overflow: visible !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    padding: 24px !important;
}

#changeBookingModal .modal-content {
    overflow: visible !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    border-radius: 12px !important;
}

#changeBookingModal .modal-dialog {
    overflow: visible !important;
    max-height: none !important;
    overflow-y: visible !important;
    max-width: 500px !important;
}

/* Ensure modal doesn't create scrollbar */
#changeBookingModal {
    overflow: hidden !important;
}

/* Prevent body from scrolling when modal is open */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Prevent html from scrolling when modal is open */
html.modal-open {
    overflow: hidden !important;
}

/* Specifically target Bootstrap modal backdrop and ensure no overflow */
#changeBookingModal.modal.show {
    overflow: hidden !important;
}

/* Only the attendees dropdown should scroll - hide browser scrollbar if not needed */
#changeBookingModal #attendees-dropdown {
    overflow-y: auto;
    overflow-x: hidden;
    /* Use scrollbar styling to make it more subtle */
    scrollbar-width: thin;
    scrollbar-color: #dcdfe4 #fff;
}

/* Webkit scrollbar styling for attendees dropdown */
#changeBookingModal #attendees-dropdown::-webkit-scrollbar {
    width: 8px;
}

#changeBookingModal #attendees-dropdown::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

#changeBookingModal #attendees-dropdown::-webkit-scrollbar-thumb {
    background: #dcdfe4;
    border-radius: 4px;
}

#changeBookingModal #attendees-dropdown::-webkit-scrollbar-thumb:hover {
    background: #c0c4c9;
}

/* Participants selector styling */
#changeBookingModal #attendees-selection-content {
    padding: 12px;
    overflow: visible;
}

#changeBookingModal .participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

#changeBookingModal .participant-row:last-child {
    border-bottom: none;
}

#changeBookingModal .participant-label {
    font-size: 14px;
    color: #1a2b49;
    font-weight: 500;
}

#changeBookingModal .participant-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

#changeBookingModal .participant-quantity {
    font-size: 14px;
    color: #1a2b49;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

#changeBookingModal .participant-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1a2b49;
    font-size: 18px;
    font-weight: 600;
}

#changeBookingModal .participant-btn:hover {
    border-color: #006ce4;
    background: #f0f7ff;
    color: #006ce4;
}

#changeBookingModal .participant-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.change-booking-cancel {
    font-size: 14px;
}

.change-booking-cancel:hover {
    text-decoration: none;
}
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.error-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.error-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.error-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0068D9;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 0 8px;
}

.error-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

@media (max-width: 768px) {
    .error-image {
        width: 150px;
        height: 150px;
    }

    .error-title {
        font-size: 20px;
    }
}



     .payment-form-section {
          max-width: 100%;
     }

     .order-summary-section {
          background-color: #f9fafb;
          border-radius: 8px;
          padding: 24px;
          position: sticky;
          top: 20px;
     }

     @media (max-width: 991px) {
          .tour-pay-layout {
               grid-template-columns: 1fr;
               gap: 24px;
               padding: 20px;
          }

          .order-summary-section {
               position: static;
          }

          .tour-confirm-container {
               padding: 16px;
          }
     }


     
     /* Payment Button Styles - Matching tour-confirm button style (primary-btn1) */
     .btn-purple {
          background-color: #0068D9 !important;
          border-color: #0068D9 !important;
          color: #fff !important;
          font-weight: 600;
          font-size: 15px;
          letter-spacing: 0.48px;
          line-height: 1;
          padding: 20px 24px;
          border-radius: 10px !important;
          transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
          position: relative;
          overflow: hidden;
          z-index: 1;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          white-space: nowrap;
     }

/* Payment method options */
.payment-method-option {
    width: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-method-option + .payment-method-option {
    margin-top: 12px;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-option.is-selected {
    box-shadow: none;
    background: #f8fafc;
}

.payment-method-check {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
    color: #1a2b49;
    background: transparent;
}

.payment-method-check::after {
    content: '';
    width: 8px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0;
}

.payment-method-option.is-selected .payment-method-check {
    background: transparent;
    border-color: transparent;
}

.payment-method-option.is-selected .payment-method-check::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .payment-method-option {
        align-items: flex-start !important;
        gap: 12px;
    }

    .payment-method-option input[type="radio"] {
        margin-top: 2px;
    }

    .payment-method-option > div {
        width: 100%;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}
     
     .btn-purple::after {
          content: "";
          position: absolute;
          z-index: -1;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          transform: translateY(110%);
          background-color: #00305c;
          overflow: hidden;
          transition: opacity 0.5s, transform 0.5s;
          border-radius: inherit;
     }
     
     .btn-purple:hover,
     .btn-purple:focus {
          color: #fff !important;
     }
     
     .btn-purple:hover::after {
          transform: translate(0);
          border-radius: 0;
     }
     
     /* PayPal button hover (yellow) */
     #paypal-pay-btn.btn-purple {
          background-color: #FFC439 !important;
          border-color: #FFC439 !important;
          color: #003087 !important;
     }
     
     #paypal-pay-btn.btn-purple::after {
          background-color: #FFB800;
     }
     
     #paypal-pay-btn.btn-purple:hover,
     #paypal-pay-btn.btn-purple:focus {
          color: #003087 !important;
     }
     
     .btn-block {
          display: block;
          width: 100%;
     }
     
     /* Payment method option active state */
     .payment-method-option:has(input[type="radio"]:checked) {
          background-color: #f0f9ff;
          border-left: 3px solid #0068D9;
     }
     
     /* Fallback for browsers that don't support :has() */
     .payment-method-option.active {
          background-color: #f0f9ff;
          border-left: 3px solid #0068D9;
     }