/* Booking Info Step Custom Styles */
.bookinginfo-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #e5f4e7;
    border-radius: 16px;
    position: relative;
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.bookinginfo-content {
    flex: 1 1 0;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.bookinginfo-title {
    font-family: 'Arvo';
    font-weight: 700;
    font-size: 24px;
    color: #007B7C;
    margin-bottom: 1.5rem;
    text-align: left;
}

.bookinginfo-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

    .bookinginfo-image img {
        width: 456px;
        height: 298px;
        border-radius: 8px;
        object-fit: cover;
        opacity: 1;
    }

.bookinginfo-validation-message {
    color: #d9534f;
    font-family: 'Futura';
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
    text-align: left;
    width: 100%;
}

.bookinginfo-btn-row {
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: flex-start;
    position: relative; /* keep buttons above decorative bg */
    z-index: 3;
}

.bookinginfo-label {
    font-family: 'Futura';
    font-size: 1.1rem;
    font-weight: 500;
    color: #242143;
    margin-bottom: 0.3rem;
    width: 100%;
}

.bookinginfo-input,
input.bookinginfo-input {
    font-family: 'Futura';
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #fff;
    padding: 0.7rem 1rem;
    background: #fff;
    width: 100%;
    margin-bottom: 0 !important;
}

    /* Focus styles for bookinginfo inputs */
    .bookinginfo-input:focus,
    input.bookinginfo-input:focus,
    .bookinginfo-input:focus-visible,
    input.bookinginfo-input:focus-visible {
        border-color: #006666 !important;
        outline: none !important;
    }

.bookinginfo-btn, .bookinginfo-btn.primary, .bookinginfo-btn.outline {
    width: 50%;
    min-width: 0;
    box-sizing: border-box;
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0;
    border-radius: 6px;
    padding: 0.7rem 0;
    height: 3.25rem;
}

    .bookinginfo-btn.primary {
        background: #0b8c87;
        color: #fff;
        border: 2px solid #0b8c87;
    }

        .bookinginfo-btn.primary:hover {
            background: #0a726e;
        }

    .bookinginfo-btn.outline {
        background: #e5f4e7 !important;
        color: #201944;
        border: 2px solid #201944;
    }

        .bookinginfo-btn.outline:hover {
            background: #242143 !important;
            color: #fff !important;
            border-color: #201944 !important;
            position: relative;
            z-index: 1;
        }

    .bookinginfo-btn:disabled {
        background: #eee;
        color: #aaa;
        border: 2px solid #eee;
        cursor: not-allowed;
    }

.bookinginfo-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    appearance: none;
    border: 2px solid #000000;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 0.5rem;
    transition: background 0.2s, border 0.2s;
}

    .bookinginfo-checkbox:checked {
        background: #007B7C;
        border-color: #007B7C;
    }

        .bookinginfo-checkbox:checked::after {
            content: '';
            display: block;
            position: absolute;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 12px;
            border: solid #fff;
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
        }

.bookinginfo-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bookinginfo-checkbox-label {
    font-family: 'Futura';
    font-size: 1.1rem;
    font-weight: 500;
    color: #242143;
    margin: 0;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

/* Validation styles */
.bookinginfo-input.is-invalid {
    border-color: #d9534f !important;
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.25) !important;
}

.bookinginfo-checkbox-container.is-invalid {
    border: 1px solid #d9534f;
    border-radius: 4px;
    padding: 0.5rem;
    background-color: rgba(217, 83, 79, 0.05);
}

.validation-message {
    color: #d9534f;
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.bookinginfo-btn:disabled {
    background: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
}

.bookinginfo-bottom-left-img {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 40vw !important;
    max-width: 285px !important;
    height: auto !important;
    object-fit: contain !important;
    z-index: -1 !important; /* push behind all content */
    pointer-events: none !important;
    opacity: 0.4 !important;
    border: none !important;
    margin: 0 !important;
}

@media (max-width: 900px) {
    .bookinginfo-card {
        flex-direction: column;
        padding: 1rem;
        border-radius: 16px !important;
    }

    .bookinginfo-content {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .bookinginfo-image {
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }

        .bookinginfo-image img {
            width: 100%;
            height: auto;
            max-height: 250px;
            object-fit: cover;
        }

    .bookinginfo-bottom-left-img {
        width: 30vw !important;
        max-width: 220px !important;
    }

    .bookinginfo-input,
    input.bookinginfo-input {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .bookinginfo-label {
        font-size: 1rem;
    }
}

/* Mobile sticky footer for booking info */
@media (max-width: 767.98px) {
    .popup-scroll-content {
        padding-bottom: 0px !important;
    }
}


@media (max-width: 600px) {
    .bookinginfo-card {
        min-height: unset !important;
        height: auto !important;
        padding: 1rem 0.5rem 5rem 0.5rem;
        border-radius: 16px !important;
    }

    .bookinginfo-content {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .bookinginfo-image {
        width: 100% !important;
        height: auto !important;
        margin-top: 1rem;
    }

        .bookinginfo-image img {
            width: 100% !important;
            height: auto !important;
            max-height: 200px !important;
            object-fit: cover !important;
        }

    .bookinginfo-input,
    input.bookinginfo-input {
        font-size: 0.95rem;
        padding: 0.5rem 0.7rem;
    }

    .bookinginfo-label {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .bookinginfo-checkbox-label {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .validation-message {
        font-size: 0.85rem;
    }

    .bookinginfo-bottom-left-img {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 40vw !important;
        max-width: 120px !important;
        height: auto !important;
        z-index: 0 !important;
        pointer-events: none !important;
        opacity: 0.7 !important;
    }
}
