/* ===== Modal Layout ===== */
.br-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
}

.br-modal-content {
    background: #fff;
    width: 600px;
    max-width: 95%;
    padding: 25px 30px;
    border-radius: 10px;
    position: relative; /* ensure loader centers relative to this box */
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: slideIn .3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.br-close {
    position: absolute; top: 10px; right: 15px;
    cursor: pointer; font-size: 20px; font-weight: bold;
    color: #333;
}

/* ===== Steps Header ===== */
.br-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.br-step {
    flex: 1;
    text-align: center;
    /*padding: 10px;*/
    background: #f2f2f2;
    border-radius: 6px;
    margin: 0 5px;
    font-weight: 500;
    font-size: 14px;
    color: #444;
    transition: background 0.3s, color 0.3s;
}

.br-step.active {
    background: #007cba;
    color: #fff;
}

/* ===== Form Fields ===== */
.br-field input {
    margin-bottom: 15px;
}

.br-field input,
.br-field select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: border 0.3s;
    margin-bottom: 6px;
}

.br-field input:focus,
.br-field select:focus {
    border-color: #007cba;
    outline: none;
}

/* ===== Passenger Section ===== */
/* ===== Passenger Section (Improved Layout) ===== */
#br_passengers_wrapper {
    max-height: 250px;
    overflow-y: auto;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
}

#br_passengers_wrapper .br-passenger {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}
#br_passengers_wrapper .br-remove-passenger {
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 50%;
    height: 24px;
    float: right;
    cursor: pointer;
    font-weight: bold;
    line-height: 0px !important;
    text-align: center;
    padding: 8px !important;
    font-size: smaller;
    font-style: normal;
}
button#br_add_passenger {
    padding: 10px;
    border: none;
    background: #007cba;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    text-transform: uppercase;
    font-size: small;
    font-style: normal;
}
button.button.br-prev, button.button.br-next {
    font-size: 15px !important;
    font-style: normal !important;
    border-radius: 5px !important;
}
#br_passengers_wrapper .br-passenger label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Two-column layout for first/last name */
#br_passengers_wrapper .br-passenger .br-name-fields {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#br_passengers_wrapper .br-passenger .br-name-fields input {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: #fff;
    transition: border-color 0.3s;
}

#br_passengers_wrapper .br-passenger .br-name-fields input:focus {
    border-color: #007cba;
}

/* Responsive fix for mobile */
@media (max-width: 480px) {
    #br_passengers_wrapper .br-passenger .br-name-fields {
        flex-direction: column;
    }
}

/* ===== Navigation / Footer Buttons ===== */
.br-nav-buttons,
.br-modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.br-modal-footer button,
.br-nav-buttons button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.br-modal-footer .button-primary,
.br-nav-buttons .button-primary {
    background: #007cba;
    color: #fff;
}

.br-modal-footer .button-primary:hover,
.br-nav-buttons .button-primary:hover {
    background: #005f95;
}

.br-modal-footer .br-cancel {
    background: #eee;
    color: #333;
}

.br-modal-footer .br-cancel:hover {
    background: #ddd;
}

/* ===== Quantity Step ===== */
.br-quantity-field {
    margin-top: 25px;
    text-align: right;
}

.br-qty-wrap {
    display: inline-flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 5px 10px;
}

.br-qty-wrap button {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
    transition: background 0.3s;
}

.br-qty-wrap button:hover {
    background: #005f95;
}

.br-qty-wrap input {
    width: 50px;
    text-align: center;
    margin: 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ===== Loader Overlay ===== */
.br-loader {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    pointer-events: none; /* prevents blocking clicks when invisible */
}


.br-loader.active {
    display: flex;
    pointer-events: all;
}


.br-loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007cba;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Departure Time Display ===== */
.br-time-display {
    font-weight: 600;
    color: #007cba;
    margin-top: 8px;
    display: block;
}

/* ===== Validation Error ===== */
.br-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .br-modal-content {
        padding: 20px;
    }
    .br-step {
        font-size: 12px;
        padding: 6px;
    }
}

/*:::::: ShortCode :::::::*/
.container-booking {
    width: 100%;
    max-width: 600px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 15px;
    border-left: 5px solid #9370db; /* Purple border for the first two */
}

.card.blue-border {
    border-left: 5px solid #4169e1; /* Blue border for the last one */
}

.date-section {
    flex-basis: 80px;
    text-align: center;
    margin-right: 15px;
}

.month-day {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.time {
    font-size: 14px;
    color: #777;
}

.details-section {
    flex-grow: 1;
}

.title {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.status.open {
    color: #32cd32; /* Lime green color */
    font-size: 14px;
    font-weight: bold;
}

.price-section {
    text-align: right;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #4169e1; /* Blue color for price */
    margin-bottom: 5px;
}

.reserve-btn {
    background-color: #191970; /* Dark blue color */
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.product-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: white;
            border-radius: 12px;
            /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
            overflow: scroll;
            height: 50vh;
        }

        .product-layout {
            display: flex;
            flex-wrap: wrap;
        }

        /* .product-image {
            flex: 0 0 350px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 350px;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .placeholder-image {
            color: white;
            font-size: 24px;
            text-align: center;
            padding: 20px;
        } */

        .product-details {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .product-title {
            font-size: 28px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .product-description {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .product-info {
            border-top: 1px solid #e0e0e0;
            padding-top: 20px;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px 0;
        }

        .info-label {
            font-weight: bold;
            color: #555;
            font-size: 14px;
        }

        .info-value {
            color: #333;
            font-size: 16px;
        }

        .product-info .price {
            font-size: 32px;
            font-weight: bold;
            color: #8b00ff;
        }

        .date-info {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-top: 10px;
        }

        .date-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .date-row:last-child {
            margin-bottom: 0;
        }

        .date-label {
            font-weight: 600;
            color: #555;
            font-size: 14px;
        }

        .date-value {
            color: #333;
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .product-image {
                flex: 0 0 100%;
                min-height: 250px;
            }

            .product-details {
                padding: 20px;
            }

           .product-info .product-title {
                font-size: 24px;
            }

            .product-info .price {
                font-size: 28px;
            }
}
.woocommerce-cart .woocommerce-product-details__short-description,
.woocommerce-checkout .woocommerce-product-details__short-description,
.wc-block-components-product-metadata__description {
    display: none !important;
}