/* Hero Search Component */
.modern-hero-search {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 0; 
    padding: 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.search-form-modern {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.search-segment {
    padding: 20px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-segment:hover {
    background: #fcfcfc;
}

.search-segment:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #eee;
}

.search-segment label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1.2px;
    padding-left: 2px;
}

.search-segment select {
    display: none !important; /* Hide native select completely */
}

.search-segment input[type="date"] {
    border: none !important;
    background: transparent !important;
    font-size: 16px;
    font-weight: 700;
    color: #120D4A; /* Deep Navy */
    outline: none !important;
    cursor: pointer;
    padding: 8px 0 !important;
    width: 100%;
    font-family: 'Rubik', sans-serif;
    box-shadow: none !important;
    height: auto;
    transition: color 0.2s ease;
}

/* Premium date picker styling with vertically centered calendar icon at right edge */
.search-segment input[type="date"] {
    padding-right: 24px !important;
    position: relative;
}

.search-segment input[type="date"]::-webkit-calendar-picker-indicator {
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8461F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e") no-repeat;
    background-size: 16px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    margin: 0;
    padding: 0;
}

.search-segment input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}

/* Custom Dropdown Wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* Frameless Trigger Button */
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #120D4A;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: color 0.2s ease;
    font-family: 'Rubik', sans-serif;
}

.custom-select-trigger:hover {
    color: var(--wa-secondary-color);
}

.custom-select-trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    border: solid var(--wa-primary-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
    margin-top: -3px;
    flex-shrink: 0;
}

.custom-select-wrapper.is-open .custom-select-trigger::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

/* Spacious Options Container with custom shadow */
.custom-options {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    min-width: 280px;
    background: white;
    border: 1px solid #eef0f6;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(18, 13, 74, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
}

.custom-select-wrapper.is-open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Option item with generous horizontal and vertical padding so it is never smushed */
.custom-option {
    padding: 12px 24px !important;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Rubik', sans-serif;
    white-space: nowrap;
}

.custom-option:hover {
    background-color: #fafbfc;
    color: var(--wa-primary-color);
}

.custom-option.is-selected {
    background-color: #f4f6fb;
    color: var(--wa-secondary-color);
    font-weight: 700;
}

.search-segment--region {
    flex: 2;
    min-width: 300px;
}

.search-segment--date {
    flex: 1;
    min-width: 140px;
    position: relative; /* Context for indicator positioning */
}

.search-segment:hover label {
    color: var(--wa-secondary-color);
}

.search-segment input[type="date"]:hover {
    color: var(--wa-secondary-color);
}

.search-button-container {
    padding: 0;
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

.modern-search-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 60px;
    height: auto;
    border-radius: 0;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.modern-search-btn:hover {
    background: var(--wa-primary-color);
    filter: none;
}

.modern-search-btn:active {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .modern-hero-search {
        border-radius: 0;
        padding: 10px;
        background: white;
    }
    .search-form-modern {
        flex-direction: column;
        align-items: stretch;
    }
    .search-segment {
        flex: 1 1 auto;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .search-segment:not(:last-of-type)::after {
        display: none;
    }
    .search-button-container {
        width: 100%;
        padding: 0;
    }
    .modern-search-btn {
        width: 100%;
        height: 60px;
    }
}

/* Alert Component */
.wa-alert {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 0;
    margin-bottom: 24px;
    position: relative;
    gap: 15px;
    border: 1px solid transparent;
    animation: slideDown 0.3s ease-out;
}

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

.wa-alert-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-alert-content {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.wa-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0 5px;
    color: inherit;
}
.wa-alert-close:hover { opacity: 1; }

/* Alert Type Variations */
.wa-alert-error {
    background-color: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}
.wa-alert-error .wa-alert-icon { color: #f56565; }

.wa-alert-success {
    background-color: #f0fff4;
    border-color: #9ae6b4;
    color: #276749;
}
.wa-alert-success .wa-alert-icon { color: #48bb78; }

.wa-alert-info {
    background-color: #ebf8ff;
    border-color: #90cdf4;
    color: #2c5282;
}
.wa-alert-info .wa-alert-icon { color: #4299e1; }

.wa-alert-warning {
    background-color: #fffaf0;
    border-color: #fbd38d;
    color: #744210;
}
.wa-alert-warning .wa-alert-icon { color: #ed8936; }

/* Booking Success Component */
.success-premium-card {
    background: white;
    border-radius: 0;
    padding: 60px;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.celebration-icon {
    width: 90px;
    height: 90px;
    background: #2ecc71;
    color: white;
    font-size: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

.success-title { font-size: 36px; font-weight: 900; color: var(--wa-primary-color); margin-bottom: 15px; letter-spacing: -1px; }
.success-subtitle { font-size: 16px; color: #777; margin-bottom: 40px; }
.success-subtitle strong { color: var(--wa-primary-color); }

.premium-reference-box {
    background: #fcfcfc;
    border: 2px dashed #eee;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 40px;
}
.ref-label { font-size: 12px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.ref-number { font-size: 32px; font-weight: 950; color: var(--wa-primary-color); letter-spacing: 4px; margin-bottom: 10px; }
.ref-status { font-size: 13px; font-weight: 700; color: #2ecc71; display: flex; align-items: center; justify-content: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

.booking-recap-card {
    text-align: left;
    background: #fafafa;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 40px;
}
.recap-title { font-size: 18px; font-weight: 800; color: var(--wa-primary-color); margin-bottom: 20px; }
.recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.recap-item { display: flex; flex-direction: column; gap: 4px; }
.recap-label { font-size: 11px; font-weight: 800; color: #bbb; text-transform: uppercase; }
.recap-value { font-size: 14px; font-weight: 700; color: var(--wa-primary-color); }

.success-actions-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px;
}
.btn-premium-home {
    padding: 18px;
    border-radius: 0;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(216, 70, 31, 0.2);
    transition: all 0.3s ease;
}
.btn-premium-home:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216, 70, 31, 0.4); background: #c23d19; }

.btn-outline-print {
    background: transparent;
    border: 2px solid #eee;
    padding: 14px;
    border-radius: 0;
    color: #777;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline-print:hover { border-color: var(--wa-primary-color); color: var(--wa-primary-color); }

.success-support-footer { border-top: 1px solid #f0f0f0; padding-top: 30px; }
.support-title { font-size: 16px; font-weight: 800; color: var(--wa-primary-color); margin-bottom: 15px; }
.support-links { display: flex; justify-content: center; gap: 30px; }
.support-link { color: var(--wa-secondary-color); text-decoration: none; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.support-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .success-premium-card { padding: 40px 20px; }
    .success-title { font-size: 28px; }
    .recap-grid { grid-template-columns: 1fr; }
    .support-links { flex-direction: column; gap: 15px; }
}

/* Expanded Resort View Component */
.expanded-resort-view {
    animation: slideInUp 0.4s ease-out;
    padding-top: 0;
}

.expanded-header-inner {
    padding-top: 0;
}

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

/* Header Styling */
.expanded-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.btn-back-link {
    background: transparent;
    border: none;
    color: #888;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}
.btn-back-link:hover { color: var(--wa-secondary-color); }

.resort-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expanded-resort-name {
    font-size: 34px;
    font-weight: 900;
    color: var(--wa-primary-color);
    margin: 0;
    letter-spacing: -1.5px;
    line-height: 1;
}

.resort-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

.meta-divider {
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
}

.meta-item { display: flex; align-items: center; gap: 6px; }

/* Unit Grid */
.units-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Unit Card */
.unit-premium-card {
    background: #fff;
    border-radius: 0;
    display: flex;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}
.unit-premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--wa-secondary-color);
}

.unit-main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

.unit-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.unit-icon-box {
    width: 54px;
    height: 54px;
    background: #f8f9fa;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--wa-primary-color);
}

.unit-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--wa-primary-color);
}

.unit-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-occupancy { background: #eef2ff; color: #4338ca; }
.badge-rooms { background: #fef2f2; color: #b91c1c; }

/* Schedule Layout */
.unit-schedule {
    display: flex;
    align-items: center;
    background: #fafafa;
    padding: 15px 20px;
    border-radius: 0;
    max-width: fit-content;
}

.schedule-block {
    display: flex;
    flex-direction: column;
}

.schedule-label {
    font-size: 10px;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-date {
    font-weight: 700;
    color: var(--wa-primary-color);
    font-size: 14px;
}

.schedule-arrow {
    margin: 0 20px;
    color: #ddd;
}

/* Action Sidebar */
.unit-action-sidebar {
    width: 240px;
    background: #fcfcfc;
    border-left: 1px solid #f0f0f0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unit-pricing-block {
    margin-bottom: 20px;
}

.price-total-label {
    font-size: 11px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.price-value-large {
    font-size: 32px;
    font-weight: 900;
    color: var(--wa-primary-color);
}

.price-value-large .currency {
    font-size: 16px;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}

.price-subtext {
    font-size: 12px;
    color: #e53e3e;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

.btn-premium-book {
    width: 100%;
    background: var(--wa-secondary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 0;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(216, 70, 31, 0.2);
}
.btn-premium-book:hover {
    background: #c23d19;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(216, 70, 31, 0.4);
}

/* Empty State */
.empty-units-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 0;
    border: 2px dashed #eee;
}

.empty-art {
    font-size: 64px;
    color: #eee;
    margin-bottom: 20px;
}

.empty-units-state h3 {
    color: var(--wa-primary-color);
    margin-bottom: 10px;
}

.empty-units-state p {
    color: #888;
    margin-bottom: 30px;
}

.btn-outline-back {
    background: transparent;
    border: 2px solid var(--wa-primary-color);
    color: var(--wa-primary-color);
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline-back:hover {
    background: var(--wa-primary-color);
    color: white;
}

/* Responsive Expanded View */
@media (max-width: 768px) {
    .unit-premium-card { flex-direction: column; }
    .unit-action-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        background: #fafafa;
    }
    .expanded-resort-name { font-size: 28px; }
    .unit-schedule { width: 100%; justify-content: space-between; }
}

/* Shared Animations */
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Search Summary Component */
.results-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 0;
}

.results-header {
    margin-bottom: 5px;
}

.results-header-inner {
    padding-top: 0;
}

.results-title {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
    margin: 0 !important;
    letter-spacing: -1.8px;
    line-height: 0.9;
    text-transform: none;
}


.results-count {
    color: #777;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* Resort Grid */
.resorts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Premium Resort Card */
.resort-premium-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}

.resort-card-interactive-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.resort-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--wa-secondary-color);
}

.resort-card-body {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.resort-main-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.resort-icon-placeholder {
    width: 80px;
    height: 80px;
    background: #fcf9f5;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--wa-secondary-color);
    flex-shrink: 0;
    border: 1px solid #eee;
}

.resort-text-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.resort-name-large {
    font-size: 26px;
    font-weight: 900;
    color: var(--wa-primary-color);
    margin: 0;
    letter-spacing: -1px;
}

.resort-location-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resort-location-tag .myresorts-icon-location {
    color: var(--wa-secondary-color);
}

.resort-status-area {
    display: flex;
    align-items: center;
    gap: 40px;
}

.availability-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 25px;
    border-radius: 0;
    min-width: 120px;
    border: 1px solid #eee;
}

.availability-badge .count {
    font-size: 24px;
    font-weight: 900;
    color: var(--wa-secondary-color);
    line-height: 1;
}

.availability-badge .label {
    font-size: 10px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
    letter-spacing: 1px;
}

.view-units-action {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wa-primary-color);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.resort-premium-card:hover .view-units-action {
    opacity: 1;
    color: var(--wa-secondary-color);
    transform: translateX(5px);
}

/* Search Error Alert */
.search-error-alert {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 16px 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* Empty State */
.empty-resorts-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 0;
    border: 1px solid #eee;
}

.empty-art { font-size: 64px; color: #eee; margin-bottom: 20px; }
.empty-resorts-state h3 { color: var(--wa-primary-color); margin-bottom: 10px; font-weight: 900; }
.empty-resorts-state p { color: #888; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

.btn-reset-search {
    display: inline-block;
    background: var(--wa-primary-color);
    color: white;
    padding: 16px 40px;
    border-radius: 0;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}
.btn-reset-search:hover {
    background: var(--wa-secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 70, 31, 0.3);
}

/* Responsive Search Summary */
@media (max-width: 900px) {
    .resort-card-body { 
        flex-direction: column; 
        align-items: stretch; 
        padding: 25px;
    }
    .resort-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .resort-status-area { 
        justify-content: space-between; 
        margin-top: 25px; 
        border-top: 1px solid #f0f0f0; 
        padding-top: 20px; 
        gap: 20px;
    }
    .resort-icon-placeholder {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .resort-name-large {
        font-size: 22px;
    }
}

@media (max-width: 500px) {
    .resort-status-area {
        flex-direction: column;
        align-items: stretch;
    }
    .availability-badge {
        width: 100%;
    }
    .view-units-action {
        justify-content: center;
    }
}

/* Shared Components */
.booking-overhaul-wrapper,
.booking-success-wrapper,
#payment-view-content { 
    padding-top: 60px; 
    padding-bottom: 100px; 
}

/* Spinner Styles */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
    margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* HTMX Indicator Logic */
.htmx-request .btn-text { display: none !important; }
.htmx-request .btn-icon { display: none !important; }
.htmx-request .btn-spinner { display: inline-block !important; }
.htmx-request.btn-premium-action,
.htmx-request.btn-book-nav,
.htmx-request.modern-search-btn,
.htmx-request.btn-premium-book,
.htmx-request.btn-reset-search,
.htmx-request.btn-outline-back,
.htmx-request.btn-back-link,
.htmx-request.btn-back-minimal,
.htmx-request.resort-card-interactive-link { 
    pointer-events: none; 
    opacity: 0.8; 
}

.btn-back-minimal {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.btn-back-minimal:hover { color: var(--secondary); }
.premium-page-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.booking-resort-stripe {
    background: white;
    border-radius: 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border-left: 6px solid var(--secondary);
    box-shadow: var(--shadow-soft);
}
.stripe-icon {
    font-size: 32px;
    color: var(--secondary);
    opacity: 0.8;
}
.stripe-resort-name { margin: 0; font-size: 22px; color: var(--primary); font-weight: 800; }
.stripe-meta { display: flex; gap: 20px; margin-top: 5px; }
.stripe-tag { font-size: 13px; color: #777; }
.stripe-tag strong { color: var(--primary); }

.form-premium-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.summary-itinerary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fcf9f5;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
}
.itinerary-node { display: flex; flex-direction: column; }
.node-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 800; }
.node-date { font-weight: 800; color: var(--primary); font-size: 15px; margin-top: 4px; }
.itinerary-divider { color: #ddd; font-size: 12px; }

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}
.item-label { color: #666; font-weight: 500; }
.item-value { color: var(--primary); font-weight: 700; }

.trust-indicators { margin-top: 30px; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #777;
    font-weight: 600;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .form-premium-row-2 { grid-template-columns: 1fr; gap: 0; }
    .premium-page-title { font-size: 28px; }
    .booking-resort-stripe { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.loading-placeholder {
    padding: 100px 60px;
    text-align: center;
    color: #bbb;
    font-weight: 600;
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
    max-width: 800px;
}


