/**
 * HotelPlanner Frontend Styles
 */

/* Search Form */
.hotelplanner-search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hp-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-search-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.hp-search-vertical .hp-search-row {
    grid-template-columns: 1fr;
}

.hp-search-compact .hp-search-row {
    grid-template-columns: 1fr 1fr;
}

.hp-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hp-field label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.hp-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.hp-input:focus {
    outline: none;
    border-color: #2271b1;
}

.hp-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Guest Selector */
.hp-guests-selector {
    position: relative;
}

.hp-guests-toggle {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-guests-toggle:after {
    content: "▼";
    font-size: 12px;
}

.hp-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-top: 5px;
    display: none;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hp-guests-dropdown.active {
    display: block;
}

.hp-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.hp-counter-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* Search Button */
.hp-search-button {
    padding: 12px 30px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.hp-search-button:hover {
    background: #135e96;
}

/* Advanced Options */
.hp-advanced-options {
    margin-top: 20px;
}

.hp-advanced-toggle {
    background: none;
    border: none;
    color: #2271b1;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.hp-advanced-fields {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.hp-advanced-fields.active {
    display: grid;
}

.hp-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-price-inputs input {
    flex: 1;
}

.hp-amenities-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-amenities-list label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

/* Search Results */
.hotelplanner-search-results {
    margin-top: 30px;
}

.hp-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.hp-results-count {
    font-size: 18px;
    font-weight: 500;
}

.hp-results-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hp-sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-sort-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hp-view-controls {
    display: flex;
    gap: 5px;
}

.hp-view-btn {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.hp-view-btn.active {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

/* Results Container */
.hp-results-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.hp-results-list {
    order: 2;
}

.hp-results-sidebar {
    order: 1;
}

/* With Map Layout */
.hp-results-container:has(.hp-results-map-container) {
    grid-template-columns: 350px 1fr 300px;
}

.hp-results-map-container {
    order: 1;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
}

.hp-results-map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Loading State */
.hp-loading {
    text-align: center;
    padding: 60px 20px;
}

.hp-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    animation: hp-spin 1s linear infinite;
}

@keyframes hp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hotel Card */
.hp-hotel-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.hp-hotel-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hp-hotel-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

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

.hp-hotel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.hp-hotel-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.hp-hotel-rating {
    display: flex;
    gap: 2px;
    color: #ff9800;
}

.hp-hotel-location {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hp-hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-amenity-tag {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

.hp-hotel-pricing {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hp-price {
    font-size: 24px;
    font-weight: 600;
    color: #2271b1;
}

.hp-price-info {
    font-size: 12px;
    color: #666;
}

.hp-view-rooms-btn {
    padding: 10px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.hp-view-rooms-btn:hover {
    background: #135e96;
}

/* Grid View */
.hp-results-items[data-view="grid"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.hp-results-items[data-view="grid"] .hp-hotel-card {
    flex-direction: column;
}

.hp-results-items[data-view="grid"] .hp-hotel-image {
    width: 100%;
    height: 200px;
}

/* Filters Sidebar */
.hp-filters {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.hp-filters h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.hp-filter-group {
    margin-bottom: 25px;
}

.hp-filter-group h4 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.hp-price-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-price-slider {
    width: 100%;
}

.hp-price-display {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.hp-rating-filter,
.hp-amenities-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-rating-filter label,
.hp-amenities-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.hp-stars {
    color: #ff9800;
}

.hp-apply-filters,
.hp-clear-filters {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
}

.hp-apply-filters {
    background: #2271b1;
    color: white;
}

.hp-apply-filters:hover {
    background: #135e96;
}

.hp-clear-filters {
    background: #f0f0f0;
    color: #666;
}

.hp-clear-filters:hover {
    background: #e0e0e0;
}

/* Pagination */
.hp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    padding: 20px;
}

.hp-pagination a,
.hp-pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.hp-pagination a:hover {
    background: #f0f0f0;
}

.hp-pagination .current {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

/* Room Availability */
.hp-room-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hp-room-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.hp-room-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.hp-room-features {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.hp-room-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hp-cancel-policy {
    font-size: 14px;
    color: #4caf50;
    margin-top: 10px;
}

.hp-cancel-policy.non-refundable {
    color: #f44336;
}

.hp-room-pricing {
    text-align: right;
}

.hp-book-btn {
    padding: 10px 25px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.hp-book-btn:hover {
    background: #45a049;
}

/* Booking Form */
.hp-booking-form {
    max-width: 800px;
    margin: 0 auto;
}

.hp-booking-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.hp-booking-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.hp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.hp-form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hp-form-field label {
    font-weight: 500;
    font-size: 14px;
}

.hp-form-field input,
.hp-form-field select,
.hp-form-field textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.hp-payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.hp-payment-icons img {
    height: 30px;
}

/* My Bookings */
.hotelplanner-my-bookings {
    max-width: 1200px;
    margin: 0 auto;
}

.hp-bookings-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.hp-filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.hp-filter-btn.active {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.hp-booking-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
}

.hp-booking-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.hp-booking-status.confirmed {
    background: #d4f4dd;
    color: #00a32a;
}

.hp-booking-status.cancelled {
    background: #ffd6d6;
    color: #d63638;
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-results-container {
        grid-template-columns: 1fr;
    }
    
    .hp-results-container:has(.hp-results-map-container) {
        grid-template-columns: 1fr;
    }
    
    .hp-results-map-container {
        height: 400px;
        position: relative;
        order: 0;
    }
    
    .hp-results-list {
        order: 1;
    }
    
    .hp-results-sidebar {
        order: 2;
    }
    
    .hp-filters {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .hp-search-row {
        grid-template-columns: 1fr;
    }
    
    .hp-field-group {
        grid-template-columns: 1fr;
    }
    
    .hp-hotel-card {
        flex-direction: column;
    }
    
    .hp-hotel-image {
        width: 100%;
    }
    
    .hp-form-row {
        grid-template-columns: 1fr;
    }
    
    .hp-booking-item {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.hp-text-center {
    text-align: center;
}

.hp-mt-20 {
    margin-top: 20px;
}

.hp-mb-20 {
    margin-bottom: 20px;
}

.hp-error {
    padding: 15px;
    background: #ffd6d6;
    color: #d63638;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hp-success {
    padding: 15px;
    background: #d4f4dd;
    color: #00a32a;
    border-radius: 4px;
    margin-bottom: 20px;
} {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.hp-counter-btn:hover {
    background: #f0f0f0;
}

.hp-counter
/* Add these styles to your existing frontend.css file */

/* Empty State */
.hp-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.hp-empty-state p {
    margin: 0 0 20px 0;
}

/* Modal Styles */
.hp-modal {
    display: block;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: hp-fade-in 0.3s;
}

@keyframes hp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hp-modal-content {
    background-color: #fefefe;
    margin: 50px auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.hp-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.hp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.hp-modal-close:hover,
.hp-modal-close:focus {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
}

.hp-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Room Modal Specific */
.hp-room-modal .hp-modal-content {
    max-width: 1200px;
}

.hp-room-modal .hp-room-list {
    gap: 20px;
}

/* Fix Guest Selector Display */
.hp-guests-summary {
    display: block;
    text-align: left;
}

/* Counter Styles Fix */
.hp-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    line-height: 1;
}

.hp-counter-btn:hover {
    background: #f0f0f0;
    border-color: #2271b1;
}

.hp-counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .hp-modal-content {
        margin: 20px auto;
        width: 95%;
    }
    
    .hp-modal-body {
        padding: 15px;
    }
    
    .hp-room-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hp-room-pricing {
        border-top: 1px solid #e0e0e0;
        padding-top: 15px;
    }
}

/* Badge Styles */
.hp-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #2271b1;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 5px;
}

/* Promotion Styles */
.hp-promotion {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4caf50;
    font-size: 14px;
    margin-top: 10px;
}

.hp-promotion .dashicons {
    color: #4caf50;
}

/* Error state in fields */
.hp-input.error,
input.error,
select.error,
textarea.error {
    border-color: #d63638;
}

/* No results styling */
.hp-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.hp-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Fix counter buttons display */
.hp-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.hp-counter-btn:hover {
    background: #f0f0f0;
    border-color: #2271b1;
}

.hp-counter-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 14px;
}

/* Fix guest row spacing */
.hp-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 0;
}

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

.hp-guest-row label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* Fix guests dropdown */
.hp-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 5px;
    display: none;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 280px;
}

.hp-guests-dropdown.active {
    display: block;
}

/* Fix hotel card layout */
.hp-hotel-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
    align-items: stretch;
}

.hp-hotel-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.hp-hotel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Fix text overflow */
}

.hp-hotel-pricing {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 150px;
}

/* Fix hotel location display */
.hp-hotel-location {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.hp-distance {
    font-size: 13px;
    color: #999;
}

/* Fix star rating display */
.hp-hotel-rating {
    display: flex;
    gap: 2px;
    color: #ff9800;
    font-size: 16px;
}

.hp-hotel-rating .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Fix price display */
.hp-price {
    font-size: 28px;
    font-weight: 600;
    color: #2271b1;
    margin-bottom: 5px;
}

.hp-price-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

/* Fix view rooms button */
.hp-view-rooms-btn {
    padding: 10px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.hp-view-rooms-btn:hover {
    background: #135e96;
    color: white;
}

/* Fix sidebar layout */
.hp-results-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Fix filters box */
.hp-filters {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

/* Empty state styling */
.hp-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.hp-empty-state p {
    margin: 0 0 20px 0;
    font-size: 18px;
}

/* Loading state fix */
.hp-loading {
    text-align: center;
    padding: 60px 20px;
    background: transparent;
}

/* Fix results container layout */
.hp-results-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.hp-results-list {
    order: 2;
}

.hp-results-sidebar {
    order: 1;
}

/* Fix search form layout */
.hp-search-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr auto;
    gap: 15px;
    align-items: end;
}

@media (max-width: 1200px) {
    .hp-search-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .hp-field-group {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hp-search-row {
        grid-template-columns: 1fr;
    }
    
    .hp-field-group {
        grid-column: span 1;
    }
    
    .hp-results-container {
        grid-template-columns: 1fr;
    }
    
    .hp-hotel-card {
        flex-direction: column;
    }
    
    .hp-hotel-image {
        width: 100%;
        height: 200px;
    }
    
    .hp-hotel-pricing {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-top: 1px solid #e0e0e0;
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .hp-price-info {
        margin-bottom: 0;
    }
}

/* Hotel placeholder image */
.hp-hotel-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-hotel-image-placeholder .dashicons {
    font-size: 48px;
    color: #ccc;
    width: 48px;
    height: 48px;
}
/* CRITICAL FIXES - Add these to your frontend.css */

/* Fix counter button text color and display */
.hp-counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    transition: all 0.3s;
    color: #333; /* Ensure text is visible */
    font-weight: bold;
}

.hp-counter-btn:hover {
    background: #f0f0f0;
    border-color: #2271b1;
    color: #2271b1;
}

/* Fix guest dropdown z-index to stay on top */
.hp-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 5px;
    display: none;
    z-index: 1000; /* Increased z-index */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 280px;
}

/* Fix results layout */
.hp-results-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.hp-results-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 20px;
}

.hp-results-list {
    flex: 1;
    min-width: 0;
}

/* Fix hotel card to prevent text overflow */
.hp-hotel-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
    overflow: hidden; /* Prevent overflow */
}

.hp-hotel-info {
    flex: 1;
    min-width: 0; /* Allow shrinking */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-hotel-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-hotel-location {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Fix price display */
.hp-hotel-pricing {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 120px;
}

.hp-price {
    font-size: 24px;
    font-weight: 600;
    color: #2271b1;
    white-space: nowrap;
}

/* Fix guest selector position */
.hp-guests-selector {
    position: relative;
}

/* Ensure toggle button stays styled */
.hp-guests-toggle {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333; /* Ensure text is visible */
}

/* Fix star rating display */
.hp-hotel-rating {
    display: inline-flex;
    gap: 2px;
    color: #ff9800;
    font-size: 14px;
    line-height: 1;
}

/* Fix hotel description */
.hp-hotel-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 5px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Fix view rooms button */
.hp-view-rooms-btn {
    padding: 10px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    white-space: nowrap;
    margin-top: auto;
}

/* Fix filter sidebar positioning */
.hp-filters {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .hp-results-container {
        flex-direction: column;
    }
    
    .hp-results-sidebar {
        position: relative;
        top: 0;
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hp-hotel-card {
        flex-direction: column;
    }
    
    .hp-hotel-image {
        width: 100%;
        height: 200px;
    }
    
    .hp-hotel-name {
        white-space: normal;
    }
    
    .hp-hotel-pricing {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #e0e0e0;
        padding-top: 15px;
        margin-top: 10px;
    }
}
.hp-hotel-name-link {
    color: #135e96;
    text-decoration: none;
    transition: color 0.2s;
}

.hp-hotel-name-link:hover {
    color: #2271b1;
    text-decoration: underline;
}

/* Add these Expedia-style CSS to your frontend.css file */

/* Expedia Style Container */
.hp-expedia-style-container {
    display: flex;
    gap: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

.hp-main-column {
    flex: 1;
    min-width: 0;
}

.hp-sidebar-column {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: fit-content;
}

/* Hotel Gallery */
.hp-hotel-gallery {
    margin-bottom: 24px;
}

.hp-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4px;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.hp-main-photo {
    position: relative;
    grid-row: span 2;
}

.hp-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.hp-thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.hp-thumb {
    aspect-ratio: 1;
    overflow: hidden;
}

.hp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hotel Header */
.hp-hotel-header-section {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.hp-hotel-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hp-hotel-title-area h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.hp-star-rating {
    display: flex;
    gap: 2px;
}

.hp-star-rating .star {
    color: #e0e0e0;
    font-size: 18px;
}

.hp-star-rating .star.filled {
    color: #ffd700;
}

.hp-hotel-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #666;
    font-size: 14px;
}

.hp-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Property Highlights */
.hp-property-highlights {
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

.hp-property-highlights h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
}

.hp-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hp-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hp-highlight-item .dashicons {
    color: #2271b1;
    font-size: 20px;
}

/* Rooms Section */
.hp-rooms-section {
    padding: 24px 0;
}

.hp-rooms-section h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
}

/* Room Filter Bar */
.hp-room-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
}

.hp-room-filter {
    background: white;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hp-room-filter:hover {
    background: #f5f5f5;
}

.hp-room-filter.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.hp-room-filter .hp-badge {
    background: #e21c6f;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Room Tiles */
.hp-rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-room-tile {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    position: relative;
    transition: box-shadow 0.2s;
}

.hp-room-tile:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hp-member-badge {
    position: absolute;
    top: 0;
    left: 20px;
    background: #e21c6f;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
}

/* Room Image */
.hp-room-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 180px;
}

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

.hp-room-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-room-image-placeholder .dashicons {
    font-size: 48px;
    color: #ccc;
}

.hp-more-images {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

/* Room Details */
.hp-room-details {
    flex: 1;
}

.hp-room-details h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.hp-room-features-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.hp-feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Room Badges */
.hp-room-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hp-badge-green,
.hp-badge-blue,
.hp-badge-red {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.hp-badge-green {
    background: #e6f7ed;
    color: #0a7c3d;
}

.hp-badge-blue {
    background: #e6f2ff;
    color: #0066cc;
}

.hp-badge-red {
    background: #fee;
    color: #c00;
}

/* Room Extras */
.hp-room-extras {
    margin-bottom: 12px;
}

.hp-room-extras ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.hp-room-extras li {
    position: relative;
    padding-left: 16px;
}

.hp-room-extras li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0a7c3d;
}

.hp-cancellation-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* Room Pricing */
.hp-room-pricing-section {
    text-align: right;
    min-width: 180px;
}

.hp-savings-tag {
    display: inline-block;
    background: #c00;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hp-price-box {
    margin-bottom: 16px;
}

.hp-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.hp-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.hp-price-breakdown {
    font-size: 14px;
    color: #666;
}

.hp-price-taxes {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.hp-reserve-btn {
    width: 100%;
    background: #f4d03f;
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.hp-reserve-btn:hover {
    background: #e5c230;
}

/* Sidebar Styles */
.hp-search-card,
.hp-map-section,
.hp-amenities-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.hp-search-card h4,
.hp-map-section h4,
.hp-amenities-section h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}

.hp-search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

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

.hp-search-row .dashicons {
    color: #666;
    font-size: 20px;
}

.hp-text-muted {
    color: #666;
    font-size: 14px;
}

/* Map */
.hp-map-container {
    height: 300px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hp-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-map-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

/* Amenities List */
.hp-amenities-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.hp-amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hp-amenity .dashicons {
    color: #0a7c3d;
    font-size: 16px;
}

.hp-see-all-amenities {
    background: none;
    border: 1px solid #0066cc;
    color: #0066cc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.hp-see-all-amenities:hover {
    background: #0066cc;
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .hp-expedia-style-container {
        flex-direction: column;
    }
    
    .hp-sidebar-column {
        width: 100%;
        position: relative;
    }
}

@media (max-width: 768px) {
    .hp-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hp-thumb-grid {
        display: none;
    }
    
    .hp-highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .hp-room-tile {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hp-room-image {
        width: 100%;
        height: 200px;
    }
    
    .hp-room-pricing-section {
        text-align: left;
        border-top: 1px solid #e0e0e0;
        padding-top: 16px;
    }
}
/* Update these modal styles in your frontend.css */
/* Update these modal styles in your frontend.css */

/* Wider modal for Expedia-style layout */
.hp-room-modal .hp-modal-content {
    max-width: 1400px;
    width: 95%;
    height: 90vh;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hp-room-modal .hp-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    max-height: calc(90vh - 60px);
}

/* Modal header adjustments */
.hp-room-modal .hp-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-room-modal .hp-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.hp-room-modal .hp-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.hp-room-modal .hp-modal-close:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

/* Loading state for Expedia style */
.hp-room-modal .hp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    text-align: center;
}

.hp-room-modal .hp-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    animation: hp-spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes hp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scrolling for the main content */
.hp-expedia-style-container::-webkit-scrollbar {
    width: 8px;
}

.hp-expedia-style-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.hp-expedia-style-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.hp-expedia-style-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Featured Hotels Grid Styles - Add to frontend.css */

/* Featured Hotels Container */
.hotelplanner-featured-hotels {
    margin: 40px 0;
}

.hp-featured-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Hotels Grid */
.hp-hotels-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 30px;
}

.hp-hotels-grid.hp-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hp-hotels-grid.hp-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hp-hotels-grid.hp-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Hotel Card Grid Style */
.hp-hotel-card-grid {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hp-hotel-card-grid:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hotel Image Container */
.hp-hotel-card-grid .hp-hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hp-hotel-card-grid .hp-hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hp-hotel-card-grid:hover .hp-hotel-image img {
    transform: scale(1.05);
}

.hp-hotel-card-grid .hp-hotel-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-hotel-card-grid .hp-hotel-image-placeholder .dashicons {
    font-size: 60px;
    color: #ddd;
    width: 60px;
    height: 60px;
}

/* Price Tag Overlay */
.hp-price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hp-price-tag .hp-from {
    font-size: 12px;
    opacity: 0.8;
}

.hp-price-tag .hp-price {
    font-size: 20px;
    font-weight: 600;
}

.hp-price-tag .hp-per-night {
    font-size: 12px;
    opacity: 0.8;
}

/* Hotel Info */
.hp-hotel-card-grid .hp-hotel-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-hotel-card-grid .hp-hotel-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.hp-hotel-card-grid .hp-hotel-name-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.hp-hotel-card-grid .hp-hotel-name-link:hover {
    color: #2271b1;
}

.hp-hotel-card-grid .hp-hotel-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.hp-hotel-card-grid .hp-hotel-rating .star {
    color: #e0e0e0;
    font-size: 14px;
}

.hp-hotel-card-grid .hp-hotel-rating .star.filled {
    color: #ffd700;
}

.hp-hotel-card-grid .hp-hotel-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 14px;
    margin-bottom: auto;
}

.hp-hotel-card-grid .hp-hotel-location .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.hp-hotel-card-grid .hp-view-rooms-btn {
    margin-top: 12px;
    width: 100%;
    padding: 10px 16px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.hp-hotel-card-grid .hp-view-rooms-btn:hover {
    background: #135e96;
}

/* Loading State */
.hp-hotels-grid .hp-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* Error State */
.hp-hotels-grid .hp-error,
.hp-hotels-grid .hp-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hp-hotels-grid.hp-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-hotels-grid.hp-cols-3,
    .hp-hotels-grid.hp-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hp-featured-title {
        font-size: 24px;
    }
    
    .hp-hotels-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hp-hotels-grid.hp-cols-2,
    .hp-hotels-grid.hp-cols-3,
    .hp-hotels-grid.hp-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .hp-hotel-card-grid .hp-hotel-image {
        height: 180px;
    }
}

/* Modal Styles */
.hp-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-modal-content {
    background-color: #fff;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.hp-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.hp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-modal-close:hover {
    color: #333;
}

.hp-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.hp-loading {
    text-align: center;
    padding: 60px;
}

.hp-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hp-availability-content {
    /* Content will be styled by room-availability.php */
}
