/**
 * Hotel Booking Engine - Public CSS
 * 
 * @package Hotel_Booking_Engine
 * @version 1.0.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --hbe-primary-color: #007cba;
    --hbe-primary-dark: #005a8b;
    --hbe-secondary-color: #28a745;
    --hbe-secondary-dark: #218838;
    --hbe-danger-color: #dc3545;
    --hbe-warning-color: #ffc107;
    --hbe-info-color: #17a2b8;
    --hbe-light-color: #f8f9fa;
    --hbe-dark-color: #343a40;
    
    --hbe-text-primary: #2c3e50;
    --hbe-text-secondary: #6c757d;
    --hbe-text-muted: #95a5a6;
    
    --hbe-border-color: #e9ecef;
    --hbe-border-radius: 8px;
    --hbe-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --hbe-transition: all 0.3s ease;
    
    --hbe-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --hbe-font-size-sm: 14px;
    --hbe-font-size-base: 16px;
    --hbe-font-size-lg: 18px;
    --hbe-font-size-xl: 24px;
    --hbe-font-size-xxl: 32px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

.hbe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hbe-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.hbe-col {
    padding: 0 15px;
    flex: 1;
}

.hbe-text-center {
    text-align: center;
}

.hbe-text-left {
    text-align: left;
}

.hbe-text-right {
    text-align: right;
}

.hbe-mb-0 { margin-bottom: 0; }
.hbe-mb-1 { margin-bottom: 0.25rem; }
.hbe-mb-2 { margin-bottom: 0.5rem; }
.hbe-mb-3 { margin-bottom: 1rem; }
.hbe-mb-4 { margin-bottom: 1.5rem; }
.hbe-mb-5 { margin-bottom: 3rem; }

.hbe-mt-0 { margin-top: 0; }
.hbe-mt-1 { margin-top: 0.25rem; }
.hbe-mt-2 { margin-top: 0.5rem; }
.hbe-mt-3 { margin-top: 1rem; }
.hbe-mt-4 { margin-top: 1.5rem; }
.hbe-mt-5 { margin-top: 3rem; }

/* ==========================================================================
   Search Form Styles
   ========================================================================== */

.hbe-search-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: var(--hbe-border-radius);
    box-shadow: var(--hbe-box-shadow);
    font-family: var(--hbe-font-family);
}

.hbe-search-header {
    text-align: center;
    margin-bottom: 30px;
}

.hbe-search-title {
    margin: 0 0 10px 0;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-xxl);
    font-weight: 600;
    line-height: 1.2;
}

.hbe-search-subtitle {
    margin: 0;
    color: var(--hbe-text-secondary);
    font-size: var(--hbe-font-size-base);
    line-height: 1.4;
}

.hbe-search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.hbe-inline .hbe-search-fields {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.hbe-field-group {
    display: flex;
    flex-direction: column;
}

.hbe-field-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-sm);
}

.hbe-label-icon {
    margin-right: 6px;
    font-size: 16px;
}

.hbe-date-input,
.hbe-select-input {
    padding: 12px;
    border: 2px solid var(--hbe-border-color);
    border-radius: 6px;
    font-size: var(--hbe-font-size-base);
    font-family: var(--hbe-font-family);
    transition: var(--hbe-transition);
    background: #fff;
}

.hbe-date-input:focus,
.hbe-select-input:focus {
    outline: none;
    border-color: var(--hbe-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hbe-search-button {
    background: linear-gradient(135deg, var(--hbe-primary-color), var(--hbe-primary-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: var(--hbe-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbe-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--hbe-font-family);
}

.hbe-search-button:hover {
    background: linear-gradient(135deg, var(--hbe-primary-dark), #004a73);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.4);
}

.hbe-search-button:active {
    transform: translateY(0);
}

.hbe-search-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modern Style Variations */
.hbe-style-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.hbe-style-modern .hbe-search-title,
.hbe-style-modern .hbe-search-subtitle,
.hbe-style-modern .hbe-field-label {
    color: white;
}

.hbe-style-modern .hbe-date-input,
.hbe-style-modern .hbe-select-input {
    background: rgba(255,255,255,0.9);
    border: none;
    backdrop-filter: blur(10px);
}

.hbe-style-modern .hbe-search-button {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hbe-style-modern .hbe-search-button:hover {
    background: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Room List Styles
   ========================================================================== */

.hbe-room-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--hbe-font-family);
}

.hbe-room-filters {
    background: var(--hbe-light-color);
    border: 1px solid var(--hbe-border-color);
    border-radius: var(--hbe-border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.hbe-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hbe-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hbe-filter-group label {
    font-weight: 600;
    color: var(--hbe-text-primary);
    margin: 0;
    white-space: nowrap;
}

.hbe-filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--hbe-border-color);
    border-radius: 4px;
    font-size: var(--hbe-font-size-sm);
    font-family: var(--hbe-font-family);
}

.hbe-view-buttons {
    display: flex;
    gap: 2px;
    background: var(--hbe-border-color);
    border-radius: 4px;
    padding: 2px;
}

.hbe-view-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--hbe-transition);
    color: var(--hbe-text-secondary);
}

.hbe-view-btn:hover {
    background: rgba(255,255,255,0.5);
}

.hbe-view-btn.active {
    background: var(--hbe-primary-color);
    color: white;
}

.hbe-results-info {
    color: var(--hbe-text-secondary);
    font-size: var(--hbe-font-size-sm);
}

/* Grid Layout */
.hbe-style-grid .hbe-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hbe-columns-2 .hbe-rooms-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.hbe-columns-4 .hbe-rooms-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* List Layout */
.hbe-style-list .hbe-rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbe-style-list .hbe-room-item {
    display: flex;
    background: #fff;
    border: 1px solid var(--hbe-border-color);
    border-radius: var(--hbe-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hbe-style-list .hbe-room-image {
    flex: 0 0 300px;
}

.hbe-style-list .hbe-room-content {
    flex: 1;
    padding: 20px;
}

/* Room Item */
.hbe-room-item {
    background: #fff;
    border: 1px solid var(--hbe-border-color);
    border-radius: var(--hbe-border-radius);
    overflow: hidden;
    box-shadow: var(--hbe-box-shadow);
    transition: var(--hbe-transition);
}

.hbe-room-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

/* Room Image */
.hbe-room-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hbe-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--hbe-transition);
}

.hbe-room-item:hover .hbe-room-image img {
    transform: scale(1.05);
}

.hbe-room-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--hbe-light-color);
    color: var(--hbe-text-secondary);
}

.hbe-room-placeholder .dashicons {
    font-size: 48px;
    margin-bottom: 10px;
}

.hbe-image-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hbe-availability-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hbe-availability-badge.hbe-available {
    background: var(--hbe-secondary-color);
    color: white;
}

/* Room Content */
.hbe-room-content {
    padding: 20px;
}

.hbe-room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.hbe-room-title {
    margin: 0;
    font-size: var(--hbe-font-size-lg);
    font-weight: 600;
    line-height: 1.3;
}

.hbe-room-title a {
    color: var(--hbe-text-primary);
    text-decoration: none;
    transition: var(--hbe-transition);
}

.hbe-room-title a:hover {
    color: var(--hbe-primary-color);
}

.hbe-room-price {
    text-align: right;
    flex-shrink: 0;
}

.hbe-total-price,
.hbe-base-price {
    display: block;
    font-size: var(--hbe-font-size-xl);
    font-weight: 700;
    color: var(--hbe-primary-color);
    line-height: 1;
}

.hbe-price-period,
.hbe-per-night {
    display: block;
    font-size: 12px;
    color: var(--hbe-text-secondary);
    margin-top: 2px;
}

.hbe-room-capacity {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--hbe-text-secondary);
    font-size: var(--hbe-font-size-sm);
}

.hbe-capacity-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hbe-room-description {
    margin: 10px 0;
    color: var(--hbe-text-secondary);
    font-size: var(--hbe-font-size-sm);
    line-height: 1.5;
}

.hbe-room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.hbe-feature-tag {
    background: var(--hbe-light-color);
    color: var(--hbe-text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.hbe-more-features {
    color: var(--hbe-text-secondary);
    font-size: 12px;
    font-style: italic;
}

.hbe-room-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.hbe-view-details-btn {
    flex: 1;
    padding: 10px 16px;
    background: #fff;
    color: var(--hbe-primary-color);
    border: 2px solid var(--hbe-primary-color);
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--hbe-transition);
    font-family: var(--hbe-font-family);
}

.hbe-view-details-btn:hover {
    background: var(--hbe-primary-color);
    color: white;
}

.hbe-book-now-btn,
.hbe-select-dates-btn {
    flex: 1;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--hbe-secondary-color), #20c997);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbe-transition);
    font-family: var(--hbe-font-family);
}

.hbe-book-now-btn:hover,
.hbe-select-dates-btn:hover {
    background: linear-gradient(135deg, var(--hbe-secondary-dark), #1ea97d);
    transform: translateY(-1px);
}

/* ==========================================================================
   Single Room Styles
   ========================================================================== */

.hbe-room-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--hbe-font-family);
}

/* Room Gallery */
.hbe-room-gallery {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--hbe-box-shadow);
}

.hbe-gallery-main {
    position: relative;
}

.hbe-gallery-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hbe-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hbe-gallery-slide.active {
    opacity: 1;
}

.hbe-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbe-gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.hbe-gallery-prev,
.hbe-gallery-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--hbe-transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbe-gallery-prev:hover,
.hbe-gallery-next:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

.hbe-gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--hbe-light-color);
    overflow-x: auto;
}

.hbe-gallery-thumb {
    flex: 0 0 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--hbe-transition);
    background: none;
    padding: 0;
}

.hbe-gallery-thumb.active,
.hbe-gallery-thumb:hover {
    border-color: var(--hbe-primary-color);
}

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

.hbe-room-no-image {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--hbe-light-color);
    color: var(--hbe-text-secondary);
    font-size: var(--hbe-font-size-lg);
}

.hbe-room-no-image .dashicons {
    font-size: 64px;
    margin-bottom: 15px;
}

/* Room Content */
.hbe-room-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.hbe-room-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hbe-border-color);
}

.hbe-room-title {
    margin: 0 0 15px 0;
    font-size: var(--hbe-font-size-xxl);
    color: var(--hbe-text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.hbe-room-meta {
    color: var(--hbe-text-secondary);
}

.hbe-room-capacity {
    display: flex;
    gap: 20px;
    font-size: var(--hbe-font-size-base);
}

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

.hbe-room-price-section {
    text-align: right;
    flex-shrink: 0;
}

.hbe-search-price .hbe-total-price,
.hbe-base-price .hbe-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--hbe-primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.hbe-price-from {
    font-size: var(--hbe-font-size-sm);
    color: var(--hbe-text-secondary);
    margin-bottom: 5px;
}

.hbe-price-details,
.hbe-price-period {
    font-size: var(--hbe-font-size-sm);
    color: var(--hbe-text-secondary);
    margin-top: 5px;
}

.hbe-availability-status {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--hbe-font-size-sm);
}

.hbe-availability-status.hbe-available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.hbe-availability-status.hbe-unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Room Description */
.hbe-room-description {
    margin-bottom: 40px;
}

.hbe-room-description h2 {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-xl);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

.hbe-description-content {
    font-size: var(--hbe-font-size-base);
    line-height: 1.6;
    color: var(--hbe-text-secondary);
}

/* Room Features */
.hbe-room-features {
    margin-bottom: 40px;
}

.hbe-room-features h2 {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-xl);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

.hbe-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.hbe-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--hbe-light-color);
    border: 1px solid var(--hbe-border-color);
    border-radius: var(--hbe-border-radius);
    transition: var(--hbe-transition);
}

.hbe-feature-item:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hbe-feature-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.hbe-feature-name {
    font-weight: 500;
    color: var(--hbe-text-primary);
}

/* Booking Section */
.hbe-booking-section {
    grid-column: 2;
    grid-row: 1 / -1;
}

.hbe-booking-widget {
    background: white;
    border: 2px solid var(--hbe-border-color);
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 20px;
    box-shadow: var(--hbe-box-shadow);
}

.hbe-booking-widget h3 {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-lg);
    color: var(--hbe-text-primary);
    text-align: center;
    font-weight: 600;
}

.hbe-booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.hbe-date-group {
    display: flex;
    flex-direction: column;
}

.hbe-date-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-sm);
}

.hbe-date-group input {
    padding: 10px;
    border: 1px solid var(--hbe-border-color);
    border-radius: 6px;
    font-size: var(--hbe-font-size-base);
    font-family: var(--hbe-font-family);
    transition: var(--hbe-transition);
}

.hbe-date-group input:focus {
    outline: none;
    border-color: var(--hbe-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hbe-booking-guests {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.hbe-guest-group {
    display: flex;
    flex-direction: column;
}

.hbe-guest-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-sm);
}

.hbe-guest-group select {
    padding: 10px;
    border: 1px solid var(--hbe-border-color);
    border-radius: 6px;
    font-size: var(--hbe-font-size-base);
    font-family: var(--hbe-font-family);
    background: #fff;
    transition: var(--hbe-transition);
}

.hbe-guest-group select:focus {
    outline: none;
    border-color: var(--hbe-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hbe-check-availability-btn,
.hbe-book-now-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--hbe-border-radius);
    font-size: var(--hbe-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbe-transition);
    font-family: var(--hbe-font-family);
}

.hbe-check-availability-btn {
    background: var(--hbe-text-secondary);
    color: white;
}

.hbe-check-availability-btn:hover {
    background: #5a6268;
}

.hbe-book-now-btn {
    background: linear-gradient(135deg, var(--hbe-secondary-color), #20c997);
    color: white;
}

.hbe-book-now-btn:hover {
    background: linear-gradient(135deg, var(--hbe-secondary-dark), #1ea97d);
    transform: translateY(-1px);
}

/* ==========================================================================
   Booking Form Styles
   ========================================================================== */

.hbe-booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--hbe-font-family);
}

.hbe-booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.hbe-booking-title {
    margin: 0 0 15px 0;
    font-size: var(--hbe-font-size-xxl);
    color: var(--hbe-text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.hbe-booking-subtitle {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-base);
    color: var(--hbe-text-secondary);
    line-height: 1.4;
}

.hbe-booking-summary {
    background: var(--hbe-light-color);
    border: 1px solid var(--hbe-border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

.hbe-booking-summary h2 {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-xl);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

.hbe-summary-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--hbe-border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hbe-summary-image {
    flex: 0 0 150px;
    height: 120px;
    border-radius: var(--hbe-border-radius);
    overflow: hidden;
}

.hbe-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbe-summary-placeholder {
    width: 100%;
    height: 100%;
    background: var(--hbe-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hbe-text-secondary);
}

.hbe-summary-details {
    flex: 1;
}

.hbe-summary-room-name {
    margin: 0 0 15px 0;
    font-size: var(--hbe-font-size-lg);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

.hbe-summary-info > div {
    margin-bottom: 10px;
}

.hbe-summary-label {
    font-weight: 600;
    color: var(--hbe-text-primary);
    margin-right: 8px;
}

.hbe-summary-value {
    color: var(--hbe-text-primary);
}

.hbe-booking-form-section {
    background: white;
    border: 1px solid var(--hbe-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--hbe-box-shadow);
}

.hbe-booking-form-section h2 {
    margin: 0 0 30px 0;
    font-size: var(--hbe-font-size-xl);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

.hbe-form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--hbe-border-color);
}

.hbe-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hbe-form-section h3 {
    margin: 0 0 15px 0;
    font-size: var(--hbe-font-size-lg);
    color: var(--hbe-text-primary);
    font-weight: 600;
}

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

.hbe-form-group {
    display: flex;
    flex-direction: column;
}

.hbe-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-sm);
}

.hbe-form-group input,
.hbe-form-group select,
.hbe-form-group textarea {
    padding: 12px;
    border: 2px solid var(--hbe-border-color);
    border-radius: 6px;
    font-size: var(--hbe-font-size-base);
    font-family: var(--hbe-font-family);
    transition: var(--hbe-transition);
    background: #fff;
}

.hbe-form-group input:focus,
.hbe-form-group select:focus,
.hbe-form-group textarea:focus {
    outline: none;
    border-color: var(--hbe-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.hbe-form-help {
    margin-top: 5px;
    font-size: 12px;
    color: var(--hbe-text-secondary);
}

.hbe-submit-button {
    background: linear-gradient(135deg, var(--hbe-primary-color), var(--hbe-primary-dark));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: var(--hbe-border-radius);
    font-size: var(--hbe-font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbe-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hbe-font-family);
}

.hbe-submit-button:hover {
    background: linear-gradient(135deg, var(--hbe-primary-dark), #004a73);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.hbe-submit-button:disabled {
    background: var(--hbe-text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Calendar Widget Styles
   ========================================================================== */

.hbe-calendar-widget {
    background: #fff;
    border: 1px solid var(--hbe-border-color);
    border-radius: var(--hbe-border-radius);
    overflow: hidden;
    box-shadow: var(--hbe-box-shadow);
    font-family: var(--hbe-font-family);
}

.hbe-calendar-header {
    background: var(--hbe-primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hbe-calendar-title {
    margin: 0;
    font-size: var(--hbe-font-size-lg);
    font-weight: 600;
}

.hbe-calendar-nav {
    display: flex;
    gap: 10px;
}

.hbe-calendar-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--hbe-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbe-calendar-nav button:hover {
    background: rgba(255,255,255,0.3);
}

.hbe-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.hbe-calendar-day-header {
    background: var(--hbe-light-color);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: var(--hbe-font-size-sm);
    color: var(--hbe-text-primary);
    border-bottom: 1px solid var(--hbe-border-color);
}

.hbe-calendar-day {
    aspect-ratio: 1;
    border: 1px solid var(--hbe-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hbe-transition);
    position: relative;
    background: #fff;
}

.hbe-calendar-day:hover {
    background: var(--hbe-light-color);
}

.hbe-calendar-day.available {
    background: #d4edda;
    color: #155724;
}

.hbe-calendar-day.booked {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
}

.hbe-calendar-day.selected {
    background: var(--hbe-primary-color);
    color: white;
}

.hbe-calendar-day.other-month {
    color: var(--hbe-text-muted);
    background: #fafafa;
}

.hbe-calendar-day-number {
    font-weight: 600;
}

.hbe-calendar-day-price {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: 600;
    color: var(--hbe-primary-color);
}

/* ==========================================================================
   Loading and Error States
   ========================================================================== */

.hbe-loading {
    text-align: center;
    padding: 40px;
}

.hbe-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--hbe-light-color);
    border-top: 4px solid var(--hbe-primary-color);
    border-radius: 50%;
    animation: hbe-spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.hbe-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    margin: 20px 0;
}

.hbe-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin: 20px 0;
}

.hbe-info-message {
    background: #cce7ff;
    color: #004085;
    padding: 15px;
    border: 1px solid #b3d7ff;
    border-radius: 6px;
    margin: 20px 0;
}

/* ==========================================================================
   No Results States
   ========================================================================== */

.hbe-no-rooms,
.hbe-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--hbe-text-secondary);
}

.hbe-no-rooms-icon,
.hbe-no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--hbe-border-color);
}

.hbe-no-rooms h3,
.hbe-no-results h3 {
    margin: 0 0 10px 0;
    color: var(--hbe-text-primary);
    font-size: var(--hbe-font-size-xl);
}

.hbe-no-rooms p,
.hbe-no-results p {
    margin: 0 0 20px 0;
    font-size: var(--hbe-font-size-base);
    line-height: 1.5;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hbe-container {
        padding: 0 15px;
    }
    
    .hbe-search-fields {
        grid-template-columns: 1fr;
    }
    
    .hbe-inline .hbe-search-fields {
        grid-template-columns: 1fr;
    }
    
    .hbe-filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hbe-filter-group {
        justify-content: space-between;
    }
    
    .hbe-style-list .hbe-room-item {
        flex-direction: column;
    }
    
    .hbe-style-list .hbe-room-image {
        flex: none;
        height: 200px;
    }
    
    .hbe-room-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hbe-room-price-section {
        text-align: left;
    }
    
    .hbe-room-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hbe-booking-section {
        grid-column: 1;
        grid-row: auto;
    }
    
    .hbe-booking-dates,
    .hbe-booking-guests {
        grid-template-columns: 1fr;
    }
    
    .hbe-room-actions {
        flex-direction: column;
    }
    
    .hbe-form-row {
        grid-template-columns: 1fr;
    }
    
    .hbe-summary-card {
        flex-direction: column;
    }
    
    .hbe-summary-image {
        flex: none;
        height: 200px;
    }
    
    .hbe-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hbe-room-list-container,
    .hbe-room-single,
    .hbe-booking-form-container {
        padding: 15px;
    }
    
    .hbe-search-title,
    .hbe-booking-title,
    .hbe-room-title {
        font-size: 24px;
    }
    
    .hbe-stat-box {
        flex-direction: column;
        text-align: center;
    }
    
    .hbe-gallery-container {
        height: 250px;
    }
    
    .hbe-gallery-nav {
        padding: 0 10px;
    }
    
    .hbe-gallery-prev,
    .hbe-gallery-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hbe-calendar-grid {
        font-size: var(--hbe-font-size-sm);
    }
    
    .hbe-calendar-day {
        min-height: 40px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .hbe-search-form-container,
    .hbe-room-filters,
    .hbe-booking-section,
    .hbe-gallery-nav,
    .hbe-gallery-thumbs,
    .hbe-room-actions,
    .hbe-form-actions,
    .button,
    .hbe-button {
        display: none !important;
    }
    
    .hbe-room-content {
        grid-template-columns: 1fr;
    }
    
    .hbe-room-item {
        break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 20px;
    }
    
    .hbe-room-image {
        height: 200px;
    }
    
    .hbe-booking-form-container {
        break-inside: avoid;
    }
}

/* ==========================================================================
   Dark Mode Support
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --hbe-text-primary: #ffffff;
        --hbe-text-secondary: #b0b0b0;
        --hbe-text-muted: #808080;
        --hbe-border-color: #404040;
        --hbe-light-color: #2a2a2a;
    }
    
    .hbe-search-form-container,
    .hbe-room-item,
    .hbe-booking-widget,
    .hbe-booking-form-section,
    .hbe-calendar-widget {
        background: #1a1a1a;
        border-color: var(--hbe-border-color);
    }
    
    .hbe-date-input,
    .hbe-select-input,
    .hbe-form-group input,
    .hbe-form-group select,
    .hbe-form-group textarea {
        background: #2a2a2a;
        border-color: var(--hbe-border-color);
        color: var(--hbe-text-primary);
    }
    
    .hbe-feature-item {
        background: #2a2a2a;
        border-color: var(--hbe-border-color);
    }
    
    .hbe-calendar-day {
        background: #2a2a2a;
        border-color: var(--hbe-border-color);
    }
    
    .hbe-calendar-day-header {
        background: #404040;
        color: var(--hbe-text-primary);
    }
}