/* Airbnb-inspired styling */
.bravo_single_book_wrap {
    max-width: 380px;
    margin: 0;
}

.bravo_single_book {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    position: relative;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    border: 1px solid #ebebeb;
}

/* Discount Tag */
.discount-tag {
    position: absolute;
    top: 0px;
    right: 2px;
    z-index: 10;
    background: #FF385C;
    color: white;
    width: 37px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Head */
.form-head {
    background: transparent;
    padding: 24px 24px 12px;
    text-align: left;
    border-bottom: none;
}

.price-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
}

.price-label {
    font-size: 14px;
    color: #222222;
    margin-left: 4px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
}

.price-value {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.original-price {
    text-decoration: line-through;
    font-size: 15px;
    color: #717171;
    margin-right: 8px;
}

.final-price {
    font-size: 22px;
    font-weight: 600;
    color: #222222;
}

/* Navigation */
.booking-nav {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #EBEBEB;
    margin: 0 24px;
    padding: 0;
}

.booking-nav-item {
    flex: initial;
    text-align: left;
    padding: 16px 8px 16px 0;
    cursor: pointer;
    font-weight: 600;
    color: #222222;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-right: 24px;
}

.booking-nav-item.active {
    color: #222222;
    border-bottom-color: #222222;
}

.booking-nav-item:hover:not(.active) {
    border-bottom-color: #DDDDDD;
    background-color: transparent;
}

/* Form Content */
.form-book {
    padding: 16px 24px 24px;
}

.form-content>div {
    margin-bottom: 16px;
}

/* Date Picker */
.date-picker-wrapper {
    margin-bottom: 16px;
}

.date-picker-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 12px;
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-picker-field:hover {
    border-color: #222222;
    box-shadow: none;
}

.date-picker-info label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #222222;
    font-size: 12px;
}

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

.date-note {
    margin-top: 4px;
}

.date-note small {
    color: #717171;
    font-size: 12px;
}

.date-icon {
    color: #222222;
    font-size: 18px;
}

/* Guest Selector */
.guest-selector {
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.guest-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid #EBEBEB;
}

.guest-option:last-child {
    border-bottom: none;
}

.guest-info label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #222222;
    font-size: 14px;
}

.guest-desc {
    font-size: 12px;
    color: #717171;
}

.guest-controls {
    display: flex;
    align-items: center;
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #b0b0b0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #222222;
}

.guest-btn:hover {
    border-color: #222222;
    background: #f7f7f7;
    color: #222222;
}

.guest-count {
    width: 32px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin: 0 8px;
}

/* Extras Section */
.extras-section,
.discount-section,
.fees-section {
    border: none;
    border-radius: 0;
    padding: 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #EBEBEB;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222222;
    padding-bottom: 0;
    border-bottom: none;
}

.extra-item,
.discount-item,
.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: none;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    margin-bottom: 0;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: #222222;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #222222;
    border-color: #222222;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    font-weight: 400;
    color: #222222;
    font-size: 14px;
}

.extra-desc,
.fee-desc {
    font-size: 12px;
    color: #717171;
    margin-top: 2px;
}

.extra-price,
.fee-amount {
    font-weight: 400;
    color: #222222;
    font-size: 14px;
}

.discount-amount {
    color: #008A05;
    font-weight: 400;
}

.discount-text,
.fee-name {
    font-size: 14px;
    color: #222222;
}

/* Discount Information Section */
.discount-info-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.discount-header {
    margin-bottom: 10px;
}

.discount-header .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.discount-header .section-title:before {
    content: "\f295";
    font-family: FontAwesome;
    margin-right: 8px;
    color: #FF385C;
}

.discount-list ul {
    margin-bottom: 0;
}

.discount-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #484848;
}

.discount-item:last-child {
    margin-bottom: 0;
}

.discount-badge {
    display: inline-block;
    background-color: #FF385C;
    color: white;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 12px;
}

/* Hover effect for discount items */
.discount-item:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 5px;
    margin: -5px 0 3px -5px;
    transition: all 0.2s ease;
}

/* Total Section */
.total-section {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    margin-bottom: 24px;
    border-top: 1px solid #EBEBEB;
    border-bottom: 1px solid #EBEBEB;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.total-row:first-child {
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

.total-value {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

/* Booking Actions */
.booking-actions {
    text-align: center;
}

.max-guests-note {
    font-size: 12px;
    color: #717171;
    font-style: normal;
    margin-bottom: 16px;
    text-align: left;
}

.book-now-btn {
    display: inline-block;
    background: #FF385C;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.book-now-btn:hover {
    background: #E61E4D;
    transform: none;
    box-shadow: none;
}

.book-now-btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.book-now-btn.success {
    background: #008A05;
}

.message-box {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.message-box.error {
    background-color: #FFF8F6;
    color: #C13515;
    border: 1px solid #FFAFA0;
}

.message-box.success {
    background-color: #F2FAF5;
    color: #008A05;
    border: 1px solid #B8E4C5;
}

/* Enquiry Button */
.enquiry-form {
    padding: 24px;
    text-align: center;
}

.enquiry-btn {
    display: inline-block;
    background: #222222;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.enquiry-btn:hover {
    background: #000000;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .bravo_single_book {
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }

    .form-head {
        padding: 16px;
    }

    .booking-nav {
        margin: 0 16px;
    }

    .form-book {
        padding: 16px;
    }

    .final-price {
        font-size: 20px;
    }

    .book-now-btn,
    .enquiry-btn {
        padding: 12px 16px;
    }
}

/* Booking Type Selector Styles */
.booking-type-selector {
    margin-bottom: 20px;
}

.booking-type-options {
    display: flex;
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    overflow: hidden;
}

.booking-type-option {
    flex: 1;
    margin: 0;
    position: relative;
    cursor: pointer;
    text-align: center;
    padding: 12px 0;
    transition: all 0.2s ease;
}

.booking-type-option:first-child {
    border-right: 1px solid #B0B0B0;
}

.booking-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.booking-type-label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #222222;
    cursor: pointer;
}

.booking-type-option input[type="radio"]:checked + .booking-type-label {
    color: #FF385C;
    font-weight: 600;
}

.booking-type-option:hover {
    background-color: #f7f7f7;
}

.booking-type-option input[type="radio"]:checked + .booking-type-label::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF385C;
}

/* Long Term Booking Section */
.long-term-booking-section {
    padding: 16px 0;
}

.long-term-booking-section .alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Modal Styles */
#long_term_modal .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

#long_term_modal .modal-header {
    border-bottom: none;
    padding: 20px 24px;
}

#long_term_modal .modal-body {
    padding: 0 24px 24px;
}

#long_term_modal .modal-footer {
    border-top: none;
    padding: 16px 24px 24px;
}

#long_term_modal .form-control {
    border-radius: 8px;
    border: 1px solid #B0B0B0;
    padding: 10px 12px;
    height: auto;
    transition: all 0.2s ease;
}

#long_term_modal .form-control:focus {
    border-color: #222222;
    box-shadow: none;
}

#long_term_modal .card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #EBEBEB;
}

#long_term_modal .card-header {
    background-color: #F8F9FA;
    padding: 12px 16px;
    border-bottom: 1px solid #EBEBEB;
}

#long_term_modal .card-body {
    padding: 16px;
}

#long_term_modal .btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

#long_term_modal .btn-primary {
    background-color: #FF385C;
    border-color: #FF385C;
}

#long_term_modal .btn-primary:hover {
    background-color: #E61E4D;
    border-color: #E61E4D;
}

#long_term_modal .btn-success {
    background-color: #008A05;
    border-color: #008A05;
}

#long_term_modal .btn-success:hover {
    background-color: #007004;
    border-color: #007004;
}

/* Progress Steps */
.progress-steps {
    margin-bottom: 30px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F8F9FA;
    color: #6C757D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    border: 2px solid #DEE2E6;
    transition: all 0.3s ease;
}

.step-circle.active {
    background-color: #FF385C;
    color: white;
    border-color: #FF385C;
}

.step-text {
    font-size: 14px;
    color: #6C757D;
    text-align: center;
    transition: all 0.3s ease;
}

.progress {
    height: 4px;
    background-color: #DEE2E6;
    margin-top: 12px;
}

.progress-bar {
    background-color: #FF385C;
    transition: width 0.3s ease;
}

/* Summary Boxes */
.summary-box {
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #F8F9FA;
}

.summary-box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Form validation */
.error-message {
    color: #DC3545;
    font-size: 14px;
    margin: 0 0 16px;
    padding: 8px 12px;
    background-color: #F8D7DA;
    border: 1px solid #F5C6CB;
    border-radius: 4px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .booking-type-label {
        font-size: 13px;
    }
    
    #long_term_modal .modal-dialog {
        margin: 10px;
    }
    
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-text {
        font-size: 12px;
    }
}