
/* Apply clean modern font */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.booking-link {
    cursor: pointer;
}

.fc .fc-bg-event {
    opacity: 1 !important;
}

.fc .fc-bg-event .fc-event-title {

    margin-top: 1.5em;
}

/* Hide blue background layer in SVG map */
#Layer_2 {
    display: none !important;
}

/* Unit Details Modal Styles */
#unit-details-modal .modal-body {
    max-height: calc(100vh - 200px);
}

/* Image Gallery Styles */
#unit-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#unit-thumbnail-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#unit-thumbnail-grid img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

#unit-images-section {
    background: #fff;
}

/* FullCalendar styling in modal */
#unit-calendar .fc {
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
}

#unit-calendar .fc-toolbar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

#unit-calendar .fc-button {
    background: #1a202c !important;
    border-color: #1a202c !important;
    text-transform: capitalize;
    padding: 0.5rem 1rem;
}

#unit-calendar .fc-button:hover {
    background: #2d3748 !important;
    border-color: #2d3748 !important;
}

#unit-calendar .fc-button:disabled {
    opacity: 0.5;
}

/* Hide days outside current month */
#unit-calendar .fc-day-other {
    display: none !important;
}

/* Tab styling */
#unit-tabs .nav-link {
    color: #718096;
    transition: all 0.2s ease;
}

#unit-tabs .nav-link:hover {
    color: #1a202c;
}

#unit-tabs .nav-link.active {
    color: #1a202c !important;
    border-bottom: 3px solid #1a202c !important;
    background: transparent !important;
}

/* Amenity list styling */
#unit-amenities li {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-size: 0.9375rem;
    line-height: 1.5;
}

#unit-amenities li i {
    color: #48bb78;
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Modal button styles */
#get-quote-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 30, 77, 0.4) !important;
    background: linear-gradient(135deg, #FF385C 0%, #E61E4D 100%) !important;
}

#get-quote-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230, 30, 77, 0.3) !important;
}

/* Lock fee option box styles */
.lock-fee-option-box {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    min-width: 200px;
    text-align: center;
}

.lock-fee-option-box:hover {
    border-color: #E61E4D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 30, 77, 0.15);
}

.lock-fee-option-box.selected {
    border-color: #E61E4D;
    background: linear-gradient(135deg, rgba(230, 30, 77, 0.05) 0%, rgba(215, 4, 102, 0.05) 100%);
    box-shadow: 0 2px 8px rgba(230, 30, 77, 0.2);
}

.lock-fee-option-box input[type="radio"] {
    display: none;
}

.lock-fee-option-label {
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.lock-fee-option-price {
    color: #48bb78;
    font-weight: 700;
    font-size: 1.125rem;
}

.lock-fee-option-price.free {
    color: #48bb78;
}

.lock-fee-options-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 767px) {
    .unit-modal-footer-inner {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .unit-modal-footer-inner .modal-footer-booking-options {
        width: 100%;
    }

    .lock-fee-options-container {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .lock-fee-option-box {
        min-width: 0;
        flex: 1 1 calc(50% - 0.5rem);
        padding: 0.75rem 0.5rem;
    }

    .lock-fee-book-btn {
        width: 100%;
        text-align: center;
    }

    .unit-modal-footer-inner .btn-secondary {
        width: 100%;
    }
}

.lock-fee-book-btn {
    border-radius: 8px;
    background: linear-gradient(135deg, #E61E4D 0%, #D70466 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(230, 30, 77, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
}

.lock-fee-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 30, 77, 0.4);
    background: linear-gradient(135deg, #FF385C 0%, #E61E4D 100%);
}

.lock-fee-book-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230, 30, 77, 0.3);
}

/* Skeleton loader styles */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

.skeleton-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skeleton-row .skeleton {
    height: 20px;
}

.skeleton-row .skeleton:first-child {
    width: 40%;
}

.skeleton-row .skeleton:last-child {
    width: 30%;
}

/* RV Rental Selection Styles */
.rv-rental-selection-section {
    margin-bottom: 2rem;
}

.rv-rental-selection-section.collapsed {
    margin-bottom: 1rem;
}

.rv-rental-selection-section.collapsed .rv-rental-selection-content {
    display: none;
}

.rv-rental-selection-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rv-rental-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    height: 100%;
    position: relative;
}

.rv-rental-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rv-rental-card.selected {
    border-color: #E61E4D;
    box-shadow: 0 8px 24px rgba(230, 30, 77, 0.3);
}

.rv-rental-card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #f7fafc;
    overflow: hidden;
}

.rv-rental-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f7fafc;
}

.rv-rental-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rv-rental-card-image-container:hover .rv-rental-image-nav {
    opacity: 1;
}

.rv-rental-image-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rv-rental-image-nav.prev {
    left: 8px;
}

.rv-rental-image-nav.next {
    right: 8px;
}

.rv-rental-image-nav i {
    color: #1a202c;
    font-size: 14px;
}

.rv-rental-image-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.rv-rental-image-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    cursor: pointer;
}

.rv-rental-image-indicator.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

.rv-rental-card-body {
    padding: 16px;
}

.rv-rental-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.rv-rental-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.rv-rental-length {
    font-size: 0.875rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rv-rental-price-wrapper {
    text-align: right;
}

.rv-rental-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #E61E4D;
    line-height: 1.2;
}

.rv-rental-price-label {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 400;
}

.rv-rental-selected-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E61E4D;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(230, 30, 77, 0.4);
    z-index: 10;
}

@media (max-width: 768px) {
    .rv-rental-card-image-container {
        height: 160px;
    }

    .rv-rental-card-image {
        height: 160px;
    }

    .rv-rental-card-title {
        font-size: 1rem;
    }
}

/* Category Selection Styles */
.category-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-option {
    position: relative;
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
}

.category-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-option:has(.category-btn:checked) {
    border-color: #E61E4D;
    box-shadow: 0 8px 24px rgba(230, 30, 77, 0.3);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    transition: background 0.3s ease;
}

.category-option:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.category-option .category-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    flex: 1;
}

.category-option .category-btn {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-radio-circle {
    width: 32px;
    height: 32px;
    border: 3px solid white;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.category-radio-inner {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
}

.category-option .category-btn:checked ~ label .category-radio-circle,
.category-option.category-selected .category-radio-circle {
    background: #E61E4D;
    border-color: white;
}

.category-option .category-btn:checked ~ label .category-radio-circle .category-radio-inner,
.category-option.category-selected .category-radio-circle .category-radio-inner {
    width: 12px;
    height: 12px;
}

.form-check .form-check-input {
    float: left;
    margin-left: .5em !important;
}

/* Large Stylized Input Boxes */
.booking-input-large {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 80px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Remove right border on guest input to connect with search button */
.guest-select {
    border-right: none !important;
}

.date-input-wrapper:has(.guest-select) .booking-input-large {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.date-input-wrapper:has(.btn-modern) {
    margin-left: -2px;
    position: relative;
    z-index: 10;
}

.date-input-wrapper:has(.btn-modern) .btn-modern {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 2px solid #1a202c !important;
}

.booking-input-large {
    cursor: pointer;
}

.booking-input-large .booking-input-label,
.booking-input-large .booking-input-value {
    cursor: pointer;
}

.booking-input-large .booking-input-value.airbnb-datepicker {
    cursor: pointer;
    pointer-events: auto;
}

/* Prevent click events from propagating through nested datepicker calendar */
.airbnb-datepicker {
    pointer-events: auto !important;
}

.airbnb-datepicker * {
    pointer-events: auto !important;
}

.booking-input-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1.25rem;
    pointer-events: none;
}

.booking-input-large:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.booking-input-large.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    z-index: 1000;
}

/* Ensure datepicker appears above everything */
.airbnb-date-picker-wrapper {
    z-index: 1001 !important;
}

.booking-input-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #718096;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.booking-input-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    width: calc(100% - 40px);
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-input-value::placeholder {
    color: #a0aec0;
    font-weight: 500;
}

.booking-input-value:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Override for date-selection-card to use grid */
.date-selection-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 2rem;
    overflow: visible !important;
}

.date-input-group {
    display: grid;
    grid-template-columns: 1.35fr 1.15fr 1fr auto auto;
    gap: 0;
    margin-top: 0;
    overflow: visible !important;
    position: relative;
}

@media (max-width: 992px) {
    .date-input-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.date-input-wrapper {
    position: relative;
    overflow: visible !important;
}

/* Connected input boxes on desktop */
@media (min-width: 993px) {
    .date-input-wrapper:not(:first-child) .booking-input-large {
        border-left: none;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .date-input-wrapper:not(:last-child) .booking-input-large {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .date-input-wrapper:not(:first-child):not(:last-child) .booking-input-large {
        border-radius: 0;
    }
}

/* Hide the old label style */
.date-input-wrapper > label {
    display: none;
}

/* Search button styling */
.date-input-wrapper .btn-modern {
    width: 140px;
    height: 80px !important;
    min-height: 80px;
    background: #1a202c;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #1a202c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    padding: 0;
    transform: none !important;
}

/* Connect search button to inputs on desktop */
@media (min-width: 993px) {
    .date-input-wrapper:last-child .btn-modern {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

.date-input-wrapper .btn-modern i {
    font-size: 1.5rem;
}

.date-input-wrapper .btn-modern span {
    font-size: 1rem;
}

.date-input-wrapper .btn-modern:hover {
    background: white;
    border: 2px solid #1a202c;
    border-left: 2px solid #1a202c !important;
    color: #1a202c;
    transform: none !important;
}

.date-input-wrapper .btn-modern:hover i,
.date-input-wrapper .btn-modern:hover span {
    color: #1a202c;
}

.date-input-wrapper .btn-modern:active {
    transform: none !important;
}

/* Flexible Dates Checkbox Styling */
.flexible-dates-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    height: 80px;
    min-height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flexible-dates-wrapper:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.flexible-dates-wrapper input[type="checkbox"] {
    display: none;
}

.flexible-dates-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.flexible-dates-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.flexible-dates-checkbox i {
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flexible-dates-wrapper input[type="checkbox"]:checked + .flexible-dates-label .flexible-dates-checkbox {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.flexible-dates-wrapper input[type="checkbox"]:checked + .flexible-dates-label .flexible-dates-checkbox i {
    opacity: 1;
}

.flexible-dates-text {
    display: flex;
    flex-direction: column;
}

.flexible-dates-text-main {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.flexible-dates-text-sub {
    font-size: 0.75rem;
    color: #718096;
    line-height: 1.2;
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .date-input-group {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .date-input-wrapper:nth-child(1) {
        grid-column: 1 / -1;
    }

    /* First child (date) should have full radius since it spans full width */
    .date-input-wrapper:nth-child(1) .booking-input-large {
        border-radius: 12px !important;
    }

    /* Equipment and Guest inputs side by side should have radius */
    .date-input-wrapper:nth-child(2) .booking-input-large,
    .date-input-wrapper:nth-child(3) .booking-input-large {
        border-radius: 12px !important;
        border: 2px solid #e2e8f0 !important;
    }

    /* Flexible dates wrapper should have full radius */
    .flexible-dates-wrapper {
        border-radius: 12px !important;
    }

    /* Search button should have full radius and full width */
    .date-input-wrapper .btn-modern {
        border-radius: 12px !important;
        width: 100% !important;
    }

    /* Make flexible dates and search button span full width */
    .flexible-dates-wrapper,
    .date-input-wrapper:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .date-input-group {
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: visible !important;
    }

    .date-input-wrapper:nth-child(1) {
        grid-column: auto;
    }

    .date-input-wrapper .btn-modern {
        width: 100%;
    }

    .flexible-dates-wrapper {
        border-radius: 12px !important;
    }

    .booking-input-large {
        min-height: 70px;
        padding: 16px 20px;
        overflow: visible !important;
        border-radius: 12px !important;
        border: 2px solid #e2e8f0 !important;
    }

    .booking-input-value {
        font-size: 1rem;
    }

    /* Fix datepicker positioning on mobile */
    .airbnb-datepicker {
        z-index: 99999 !important;
    }

    .date-input-wrapper {
        overflow: visible !important;
        position: relative !important;
    }

    /* Reset desktop connected styles on mobile */
    .date-input-wrapper .booking-input-large {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
    }

    .date-input-wrapper .btn-modern {
        border-radius: 12px !important;
    }
}

/* Additional mobile fix for smaller screens */
@media (max-width: 720px) {
    .airbnb-datepicker {
        z-index: 99999 !important;
    }

    .date-input-group {
        overflow: visible !important;
    }

    body, html {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .booking-container {
        overflow: visible !important;
    }

    .container {
        overflow: visible !important;
    }

    /* Fix date input positioning on very small screens */
    .date-input-wrapper:first-child .booking-input-value {
        position: relative !important;
    }
}

/* Logo Header Styling */
.booking-logo-header {
    padding-bottom: 15px;

    margin-bottom: 0rem;
}

.booking-logo {
    max-height: 100px;
    max-width: 200px;
    height: auto;
}

.booking-site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Masonry Image Gallery Container */
.quote-image-container {
    margin-bottom: 1.5rem;
}

.quote-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 100px;
    gap: 4px;
    border-radius: 12px;
    overflow: hidden;
}

/* Main large image link wrapper */
.quote-image-link {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
    display: block;
    text-decoration: none;
}

/* Main large image - full width on top */
.quote-image-header {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quote-image-header:hover {
    opacity: 0.95;
}

.quote-image-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

.quote-image-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.quote-image-overlay i {
    font-size: 1rem;
}

/* Masonry Thumbnails - row below main image */
.quote-thumbnail {
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    grid-row: 2 / 3;
}

.quote-thumbnail:hover {
    opacity: 0.9;
}

.quote-thumbnail:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

/* Grid positions for thumbnails - each takes one column */
.quote-thumbnail:nth-child(1) {
    grid-column: 1 / 2;
}

.quote-thumbnail:nth-child(2) {
    grid-column: 2 / 3;
}

.quote-thumbnail:nth-child(3) {
    grid-column: 3 / 4;
}

.quote-thumbnail:nth-child(4) {
    grid-column: 4 / 5;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .quote-image-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 200px repeat(2, 80px);
        gap: 3px;
    }

    .quote-image-header {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .quote-thumbnail {
        grid-row: auto;
    }

    .quote-thumbnail:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .quote-thumbnail:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .quote-thumbnail:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 3;
    }

    .quote-thumbnail:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 3;
    }
}

/* Hidden gallery images for GLightbox */
.quote-gallery-hidden {
    display: none;
}

/* Change Unit Link */
.change-unit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-color, #667eea);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: 0.9;
}

.change-unit-link:hover {
    color: var(--primary-color, #667eea);
    text-decoration: underline;
    opacity: 1;
}

.change-unit-link i {
    font-size: 0.75rem;
}

/* Enhanced Quote Card Styling */
.quote-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.quote-card h5 {
    padding: 1.5rem 2rem;
    margin: 0;
    background: white;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;

}

.quote-card-body {
    padding: 2rem;
}

/* Contact Card Styling */
.contact-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-card h5 {
    padding: 1.5rem 2rem;
    margin: 0;
    background: white;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

.contact-card-body {
    padding: 2rem;
}

/* Form control styling for contact form */
.contact-card-body .form-control,
.contact-card-body .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-card-body .form-control:focus,
.contact-card-body .form-select:focus {
    border-color: var(--primary-color, #667eea);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-card-body .control-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.quote-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 2px solid #e2e8f0;
}

.quote-card .category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0;
}

.quote-details {
    background: #f8fafc;
    padding: 0;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.quote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.quote-row:last-child:not(.total) {
    border-bottom: none;
}

/* Remove border from row right before total */
.quote-details .quote-row + .quote-row.total,
.quote-details .quote-row:has(+ .quote-row.total) {
    border-bottom: none;
}

.quote-row:hover:not(.total) {
    background: #f1f5f9;
}

.quote-row > span:first-child {
    font-weight: 600;
    color: #475569;
}

.quote-row strong {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.125rem;
}

.quote-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.125rem 1.25rem !important;
    border-top: 2px solid #cbd5e0 !important;
    border-bottom: none !important;
    color: #1e293b;
    background: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0 !important;
}

.quote-row.total span {
    color: #1e293b;
    font-weight: 700;
}

.quote-row .quote-nights {
    font-weight: 600;
    color: #475569;
    font-size: inherit;
}

.date-range {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Deposit highlight */
.deposit-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 0;
    border-radius: 12px;
    margin: 1.5rem 0 0 0;
    border: 2px solid rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.deposit-highlight .quote-row {
    margin: 0 !important;
    padding: 1.125rem 1.25rem !important;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: none !important;
    background: transparent;
}

.deposit-highlight .quote-row span:first-child {
    color: #667eea;
    font-weight: 700;
}

.deposit-highlight .quote-row span:last-child {
    color: #667eea;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Promo Code styling */
.promo-row .promo-input-group {
    display: flex;
    gap: 0;
    align-items: stretch;
    flex: 0 0 auto;
    justify-content: flex-end;
    max-width: 210px;
}

.promo-row #promoCode {
    width: 100%;
    min-width: 120px;
    font-size: 0.875rem;
    padding: 0.45rem 0.7rem;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px 0 0 8px;
    border-right: none;
    background: white;
    color: #475569;
    transition: all 0.2s ease;
}

.promo-row #promoCode:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 1;
    border-right: 1.5px solid #667eea;
}

.promo-row .promo-btn {
    padding: 0.45rem 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
}

.promo-row .promo-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.promo-row .promo-btn:active {
    transform: scale(0.98);
}

.discount-row {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.discount-row > span:first-child {
    color: #059669 !important;
}

.discount-row > span:last-child {
    color: #10b981 !important;
    font-weight: 700;
    font-size: 1.125rem;
}

.discount-row .quote-discount {
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Payment section styling */
.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.payment-section label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: block;
}

#card-element {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all 0.2s ease;
}

#card-element:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Complete Reservation button */
#payment-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

#payment-btn:active {
    transform: scale(0.98);
}

#payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Charges collapse styling */
#charges-collapse {
    background: white;
    padding: 0;
    border-radius: 8px;
    margin: 0.75rem 1.25rem;
    border: 1px solid #e2e8f0;
}

.charges-table {
    padding: 0 !important;
}

.charges-table .quote-row {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.charges-table .quote-row:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.charges-table .quote-row:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.charges-table .quote-row:hover {
    background: #f8fafc;
}

.charges-table .quote-row span:first-child {
    color: #64748b;
    font-weight: 600;
}

.charges-table .quote-row span:last-child {
    color: #1e293b;
    font-weight: 700;
}

/* Icon styling for collapsible charges */
.square-collapse {
    transition: transform 0.3s ease;
    color: #667eea;
    font-size: 1rem;
}

.collapsed .square-collapse {
    transform: rotate(0deg);
}

[aria-expanded="true"] .square-collapse {
    transform: rotate(90deg);
}

/* Special styling for collapsible charges row */
.quote-row[data-bs-toggle="collapse"] {
    cursor: pointer;
    user-select: none;
}

.quote-row[data-bs-toggle="collapse"]:hover {
    background: #f8fafc;
}

.quote-row[data-bs-toggle="collapse"] > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced Modal Styling */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid #e2e8f0;
    padding: 25px 30px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 2px solid #e2e8f0;
    padding: 20px 30px;
}

/* Guest Counter in Modal */
.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #e2e8f0;
}

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

.guest-info {
    flex: 1;
}

.guest-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.guest-sublabel {
    font-size: 0.875rem;
    color: #718096;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guest-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4a5568;
    transition: all 0.2s ease;
}

.guest-btn:hover:not(:disabled) {
    border-color: var(--primary-color, #667eea);
    color: var(--primary-color, #667eea);
    background: #f7fafc;
}

.guest-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.guest-count {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2d3748;
}

/* Modal Form Groups */
.modal-form-group {
    margin-bottom: 25px;
}

.modal-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.125rem;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-select:focus {
    outline: none;
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Rig Length Button Grid Styles */
.rig-length-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.rig-length-btn {
    position: relative;
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 1.125rem;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rig-length-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

.rig-length-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.rig-length-btn.selected {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.rig-length-btn.selected span {
    color: rgba(255, 255, 255, 0.8);
}

.rig-length-btn:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .rig-length-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

/* Enhanced Modal Buttons */
.btn-primary-modal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-secondary-modal {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
}

.btn-secondary-modal:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
    color: #4a5568;
}

/* Stylized Radio Options */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar for radio options */
.radio-options::-webkit-scrollbar {
    width: 6px;
}

.radio-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.radio-options::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.radio-options::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.radio-option:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: var(--primary-color, #667eea);
    font-weight: 600;
}

.radio-option input[type="radio"]:checked ~ .radio-icon {
    color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.1);
}

.radio-option input[type="radio"]:checked + label {
    border-color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.05);
}

.radio-option.selected {
    border-color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.05);
}

.radio-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f7fafc;
    color: #718096;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    margin-right: 16px;
    flex-shrink: 0;
}

.radio-content {
    flex: 1;
}

.radio-label {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    transition: all 0.3s ease;
}

.radio-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin-left: auto;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option.selected .radio-checkmark {
    border-color: var(--primary-color, #667eea);
    background: var(--primary-color, #667eea);
}

.radio-option.selected .radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option.selected .radio-label {
    color: var(--primary-color, #667eea);
    font-weight: 600;
}

.radio-option.selected .radio-icon {
    color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.15);
}

/* Lock Fee Modal Styles */
.lock-fee-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lock-fee-option-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.lock-fee-option-btn:hover {
    border-color: #E61E4D;
    background: #fff5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 30, 77, 0.15);
}

.lock-fee-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E61E4D 0%, #D70466 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.lock-fee-icon i {
    font-size: 1.5rem;
    color: white;
}

.lock-fee-content {
    flex: 1;
}

.lock-fee-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.lock-fee-desc {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 8px;
}

.lock-fee-price {
    font-size: 1rem;
    font-weight: 600;
    color: #E61E4D;
}

/* IRM Header Collapse Styles */
.irm-header-section {
    transition: all 0.4s ease;
    overflow: hidden;
}

.irm-header-section.collapsed {
    max-height: 60px;
    margin-bottom: 1rem;
}

.irm-header-section.collapsed .irm-header-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.irm-header-section:not(.collapsed) .irm-header-content {
    opacity: 1;
    max-height: none;
    transition: opacity 0.4s ease 0.1s;
}

/* Toggle Buttons Container */
.booking-toggle-buttons {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0 0 1rem 0;
}

.btn-expand-header {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-expand-header:hover {
    background: white;
    border-color: #cbd5e0;
    color: #2d3748;
}

.btn-expand-header i {
    transition: transform 0.3s ease;
}

.btn-expand-header.collapsed i {
    transform: rotate(0deg);
}

.btn-expand-header:not(.collapsed) i {
    transform: rotate(180deg);
}

.irm-header-section.collapsed + .irm-header-toggle .btn-expand-header span::before {
    content: 'Show ';
}

.irm-header-section:not(.collapsed) + .irm-header-toggle .btn-expand-header span::before {
    content: 'Hide ';
}

/* Since button is now before section, use JS to update text */
.btn-expand-header span::before {
    content: 'Hide ';
}

.btn-expand-header.collapsed span::before {
    content: 'Show ';
}

/* Category Section Collapse Styles */
.category-selection-section {
    transition: all 0.4s ease;
    overflow: hidden;
}

.category-selection-section.collapsed {
    max-height: 0;
    margin-bottom: 0;
}

.category-selection-section.collapsed .category-selection-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.category-selection-section:not(.collapsed) .category-selection-content {
    opacity: 1;
    max-height: none;
    transition: opacity 0.4s ease 0.1s;
}

/* Map Section Collapse Styles */
.map-selection-section {
    transition: all 0.4s ease;
    overflow: hidden;
}

.map-selection-section.collapsed {
    max-height: 0;
    margin-bottom: 0;
}

.map-selection-section.collapsed .map-selection-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.map-selection-section:not(.collapsed) .map-selection-content {
    opacity: 1;
    max-height: none;
    transition: opacity 0.4s ease 0.1s;
}
