/**
 * Hotel Booking System - Frontend Styles
 * Inspired by Booking.com design
 */

/* ========================================
   VARIABLES Y COLORES
   ======================================== */
:root {
    --wkhbs-primary: #003580;
    --wkhbs-primary-dark: #00224f;
    --wkhbs-secondary: #0071c2;
    --wkhbs-accent: #febb02;
    --wkhbs-success: #008009;
    --wkhbs-danger: #cc0000;
    --wkhbs-warning: #ff8c00;
    --wkhbs-gray-50: #f5f5f5;
    --wkhbs-gray-100: #e7e7e7;
    --wkhbs-gray-200: #d4d4d4;
    --wkhbs-gray-300: #bdbdbd;
    --wkhbs-gray-700: #3f3f3f;
    --wkhbs-gray-900: #1a1a1a;
    --wkhbs-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --wkhbs-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --wkhbs-radius: 4px;
    --wkhbs-transition: all 0.3s ease;
}

/* ========================================
   FORMULARIO DE BÚSQUEDA - HOMEPAGE
   ======================================== */
.wkhbs-home-search {
    background: linear-gradient(0deg,rgba(250, 250, 250, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: var(--wkhbs-radius);
}

.wkhbs-home-search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wkhbs-home-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.wkhbs-home-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wkhbs-home-header p {
    font-size: 18px;
    opacity: 0.9;
}

.wkhbs-home-form {
    background: white;
    padding: 30px;
    border-radius: var(--wkhbs-radius);
    box-shadow: var(--wkhbs-shadow-lg);
}

.wkhbs-home-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.wkhbs-home-field {
    position: relative;
}

.wkhbs-home-field label {
    display: flex;
    align-items: center;
    font-size: 18px !important;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 8px;
    text-shadow: 5px 2px 10px black !important;
}

.wkhbs-home-field label .material-icons {
    font-size: 18px;
    margin-right: 6px;
    color: var(--wkhbs-primary);
}

.wkhbs-field-submit {
    min-width: 200px;

}

/* ========================================
   INPUTS Y CONTROLES
   ======================================== */
.wkhbs-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    transition: var(--wkhbs-transition);
    background: white;
}

.wkhbs-input:focus {
    outline: none;
    border-color: var(--wkhbs-primary);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

.wkhbs-input::placeholder {
    color: var(--wkhbs-gray-300);
}

/* ========================================
   AUTOCOMPLETAR
   ======================================== */
.wkhbs-autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    box-shadow: var(--wkhbs-shadow);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.wkhbs-autocomplete-results.active {
    display: block;
}

.wkhbs-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--wkhbs-gray-100);
    transition: var(--wkhbs-transition);
}

.wkhbs-autocomplete-item:hover,
.wkhbs-autocomplete-item.active {
    background: var(--wkhbs-gray-50);
}

.wkhbs-autocomplete-item:last-child {
    border-bottom: none;
}

.wkhbs-autocomplete-item strong {
    color: var(--wkhbs-primary);
}

/* ========================================
   SELECTOR DE HUÉSPEDES
   ======================================== */
.wkhbs-guests-selector,
.wkhbs-guests-compact {
    position: relative;
}

.wkhbs-guests-trigger,
.wkhbs-guests-trigger-compact {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 2px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--wkhbs-transition);
    font-size: 15px;
}

.wkhbs-guests-trigger:hover,
.wkhbs-guests-trigger-compact:hover {
    border-color: var(--wkhbs-primary);
}

.wkhbs-guests-dropdown,
.wkhbs-guests-dropdown-compact {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    box-shadow: var(--wkhbs-shadow);
    padding: 20px;
    z-index: 1000;
}

.wkhbs-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--wkhbs-gray-100);
}

.wkhbs-guest-row:last-of-type {
    border-bottom: none;
}

.wkhbs-guest-row span {
    font-weight: 600;
    color: var(--wkhbs-gray-700);
}

.wkhbs-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wkhbs-btn-minus,
.wkhbs-btn-plus {
    width: 32px;
    height: 32px;
    border: 2px solid var(--wkhbs-primary);
    background: white;
    color: var(--wkhbs-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: var(--wkhbs-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkhbs-btn-minus:hover,
.wkhbs-btn-plus:hover {
    background: var(--wkhbs-primary);
    color: white;
}

.wkhbs-btn-minus:disabled,
.wkhbs-btn-plus:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wkhbs-counter input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

.wkhbs-guests-done {
    width: 100%;
    padding: 10px;
    background: var(--wkhbs-primary);
    color: white;
    border: none;
    border-radius: var(--wkhbs-radius);
    cursor: pointer;
    font-weight: 600;
    margin-top: 12px;
    transition: var(--wkhbs-transition);
}

.wkhbs-guests-done:hover {
    background: var(--wkhbs-primary-dark);
}

/* ========================================
   BOTONES
   ======================================== */
.wkhbs-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--wkhbs-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--wkhbs-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.wkhbs-btn-primary {
    background: #038e20;
    color: white;
}

.wkhbs-btn-primary:hover {
    background: var(--wkhbs-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--wkhbs-shadow);
}

.wkhbs-btn-secondary {
    background: var(--wkhbs-secondary);
    color: white;
}

.wkhbs-btn-secondary:hover {
    background: var(--wkhbs-primary);
}

.wkhbs-btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

.wkhbs-btn .material-icons {
    font-size: 20px;
}

/* ========================================
   CARACTERÍSTICAS (HOME)
   ======================================== */
.wkhbs-home-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.wkhbs-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
}

.wkhbs-feature .material-icons {
    font-size: 20px;
    color: var(--wkhbs-accent);
}

/* ========================================
   PÁGINA DE RESULTADOS
   ======================================== */
.wkhbs-search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wkhbs-search-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: var(--wkhbs-radius);
    box-shadow: var(--wkhbs-shadow);
    margin-bottom: 30px;
}

.wkhbs-form-row {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr auto;
    gap: 15px;
    align-items: end;
}

.wkhbs-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wkhbs-gray-700);
    margin-bottom: 6px;
}

.wkhbs-dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
}

.wkhbs-date-separator {
    align-self: flex-end;
    padding-bottom: 12px;
    font-size: 20px;
    color: var(--wkhbs-gray-300);
}

/* ========================================
   ALERTAS
   ======================================== */
.wkhbs-alert {
    padding: 15px 20px;
    border-radius: var(--wkhbs-radius);
    margin-bottom: 20px;
}

.wkhbs-alert-danger {
    background: #fee;
    color: var(--wkhbs-danger);
    border-left: 4px solid var(--wkhbs-danger);
}

.wkhbs-alert-warning {
    background: #fff3cd;
    color: var(--wkhbs-warning);
    border-left: 4px solid var(--wkhbs-warning);
}

/* ========================================
   RESULTADOS
   ======================================== */
.wkhbs-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wkhbs-gray-100);
}

.wkhbs-results-count h2 {
    font-size: 24px;
    color: var(--wkhbs-gray-900);
    margin-bottom: 5px;
}

.wkhbs-results-count p {
    color: var(--wkhbs-gray-700);
    font-size: 14px;
}

.wkhbs-sort select {
    padding: 10px 16px;
    border: 2px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    font-size: 14px;
    cursor: pointer;
}

/* ========================================
   CARDS DE HOTELES
   ======================================== */
.wkhbs-hotels-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wkhbs-hotel-card {
    display: grid;
    grid-template-columns: 250px 1fr auto;
    gap: 20px;
    background: white;
    border: 1px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    overflow: hidden;
    transition: var(--wkhbs-transition);
}

.wkhbs-hotel-card:hover {
    box-shadow: var(--wkhbs-shadow-lg);
    transform: translateY(-2px);
}

.wkhbs-hotel-image {
    position: relative;
    width: 250px;
    height: 200px;
}

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

.wkhbs-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--wkhbs-danger);
    color: white;
    padding: 6px 12px;
    border-radius: var(--wkhbs-radius);
    font-weight: 700;
    font-size: 14px;
}

.wkhbs-hotel-info {
    padding: 20px 0;
}

.wkhbs-hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.wkhbs-hotel-header h3 {
    font-size: 20px;
    color: var(--wkhbs-primary);
    margin: 0;
}

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

.wkhbs-rating .material-icons {
    font-size: 18px;
    color: var(--wkhbs-accent);
}

.wkhbs-hotel-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--wkhbs-gray-700);
    font-size: 14px;
    margin-bottom: 12px;
}

.wkhbs-hotel-location .material-icons {
    font-size: 18px;
}

.wkhbs-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--wkhbs-radius);
    font-size: 13px;
    font-weight: 600;
}

.wkhbs-available {
    background: #e8f5e9;
    color: var(--wkhbs-success);
}

.wkhbs-availability-badge .material-icons {
    font-size: 16px;
}

.wkhbs-hotel-price {
    padding: 20px;
    background: var(--wkhbs-gray-50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    min-width: 180px;
}

.wkhbs-price-wrapper {
    text-align: right;
}

.wkhbs-price-label {
    display: block;
    font-size: 13px;
    color: var(--wkhbs-gray-700);
}

.wkhbs-price-amount {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--wkhbs-primary);
    margin: 4px 0;
}

.wkhbs-total-price {
    font-size: 14px;
    color: var(--wkhbs-gray-700);
    text-align: right;
}

.wkhbs-total-price strong {
    color: var(--wkhbs-primary);
}

.wkhbs-total-price small {
    display: block;
    margin-top: 4px;
}

/* ========================================
   NO RESULTS
   ======================================== */
.wkhbs-no-results {
    text-align: center;
    padding: 60px 20px;
}

.wkhbs-no-results .material-icons {
    font-size: 80px;
    color: var(--wkhbs-gray-300);
    margin-bottom: 20px;
}

.wkhbs-no-results h3 {
    font-size: 24px;
    color: var(--wkhbs-gray-700);
    margin-bottom: 10px;
}

.wkhbs-no-results p {
    color: var(--wkhbs-gray-700);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .wkhbs-home-form-grid {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-form-row {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-dates {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-date-separator {
        display: none;
    }
    
    .wkhbs-hotel-card {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-hotel-image {
        width: 100%;
        height: 250px;
    }
    
    .wkhbs-hotel-price {
        min-width: auto;
        align-items: flex-start;
    }
    
    .wkhbs-price-wrapper,
    .wkhbs-total-price {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .wkhbs-home-search {
        padding: 40px 15px;
    }
    
    .wkhbs-home-header h2 {
        font-size: 24px;
    }
    
    .wkhbs-home-form {
        padding: 20px;
    }
    
    .wkhbs-home-features {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   PÁGINA DE DETALLES DEL HOTEL
   ======================================== */
.wkhbs-hotel-details {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   GALERÍA DE IMÁGENES
   ======================================== */
.wkhbs-hotel-gallery {
    margin-bottom: 30px;
}

.wkhbs-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 10px;
    border-radius: var(--wkhbs-radius);
    overflow: hidden;
}

.wkhbs-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--wkhbs-transition);
}

.wkhbs-gallery-item:hover {
    opacity: 0.9;
}

.wkhbs-gallery-main {
    grid-row: 1 / 3;
}

.wkhbs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--wkhbs-transition);
}

.wkhbs-gallery-item:hover img {
    transform: scale(1.05);
}

.wkhbs-gallery-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 20px;
    border-radius: var(--wkhbs-radius);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.wkhbs-gallery-overlay .material-icons {
    font-size: 20px;
}

.wkhbs-no-images {
    background: var(--wkhbs-gray-50);
    padding: 80px 20px;
    text-align: center;
    border-radius: var(--wkhbs-radius);
}

.wkhbs-no-images .material-icons {
    font-size: 80px;
    color: var(--wkhbs-gray-300);
    margin-bottom: 10px;
}

/* ========================================
   LAYOUT DE DETALLES
   ======================================== */
.wkhbs-details-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 30px;
}

.wkhbs-details-main {
    min-width: 0;
}

.wkhbs-details-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* ========================================
   HEADER DEL HOTEL
   ======================================== */
.wkhbs-hotel-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wkhbs-gray-100);
}

.wkhbs-hotel-title {
    margin-bottom: 15px;
}

.wkhbs-hotel-title h2 {
    font-size: 32px;
    color: var(--wkhbs-gray-900);
    margin: 0 0 10px 0;
}

.wkhbs-hotel-location {
    display: flex;
    gap: 12px;
    color: var(--wkhbs-gray-700);
}

.wkhbs-hotel-location .material-icons {
    font-size: 24px;
    color: var(--wkhbs-primary);
}

.wkhbs-address {
    font-weight: 600;
    margin: 0 0 5px 0;
}

.wkhbs-city {
    margin: 0;
    font-size: 14px;
}

/* ========================================
   SECCIONES DE CONTENIDO
   ======================================== */
.wkhbs-section {
    margin-bottom: 40px;
}

.wkhbs-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: var(--wkhbs-gray-900);
    margin-bottom: 20px;
}

.wkhbs-section h3 .material-icons {
    color: var(--wkhbs-primary);
}

.wkhbs-description {
    line-height: 1.8;
    color: var(--wkhbs-gray-700);
}

/* ========================================
   SERVICIOS
   ======================================== */
.wkhbs-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.wkhbs-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--wkhbs-gray-50);
    border-radius: var(--wkhbs-radius);
}

.wkhbs-amenity-item .material-icons {
    color: var(--wkhbs-success);
    font-size: 20px;
}

/* ========================================
   HABITACIONES DISPONIBLES
   ======================================== */
.wkhbs-dates-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--wkhbs-gray-50);
    padding: 12px 16px;
    border-radius: var(--wkhbs-radius);
    margin-bottom: 20px;
    color: var(--wkhbs-gray-700);
}

.wkhbs-dates-info .material-icons {
    color: var(--wkhbs-primary);
}

.wkhbs-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wkhbs-room-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    transition: var(--wkhbs-transition);
}

.wkhbs-room-card:hover {
    border-color: var(--wkhbs-primary);
    box-shadow: var(--wkhbs-shadow);
}

.wkhbs-room-info h4 {
    font-size: 20px;
    color: var(--wkhbs-primary);
    margin: 0 0 10px 0;
}

.wkhbs-room-description {
    color: var(--wkhbs-gray-700);
    margin: 0 0 15px 0;
}

.wkhbs-room-capacity {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--wkhbs-gray-700);
}

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

.wkhbs-room-capacity .material-icons {
    font-size: 18px;
}

.wkhbs-room-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.wkhbs-price-info {
    text-align: right;
}

.wkhbs-price-label {
    display: block;
    font-size: 13px;
    color: var(--wkhbs-gray-700);
    margin-bottom: 5px;
}

.wkhbs-price-amount {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--wkhbs-primary);
    margin-bottom: 5px;
}

.wkhbs-total-label {
    display: block;
    font-size: 14px;
    color: var(--wkhbs-gray-700);
}

.wkhbs-btn-reserve {
    min-width: 180px;
}

/* ========================================
   BOOKING BOX (SIDEBAR)
   ======================================== */
.wkhbs-booking-box {
    background: white;
    border: 2px solid var(--wkhbs-gray-200);
    border-radius: var(--wkhbs-radius);
    overflow: hidden;
}

.wkhbs-box-header {
    background: var(--wkhbs-primary);
    color: white;
    padding: 20px;
}

.wkhbs-box-header h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.wkhbs-from-price {
    margin: 0;
    font-size: 14px;
}

.wkhbs-from-price strong {
    font-size: 18px;
}

#wkhbs-booking-form {
    padding: 20px;
}

#wkhbs-booking-form .wkhbs-form-group {
    margin-bottom: 15px;
}

#wkhbs-booking-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wkhbs-gray-700);
    margin-bottom: 8px;
}

#wkhbs-booking-form label .material-icons {
    font-size: 18px;
    color: var(--wkhbs-primary);
}

.wkhbs-btn-block {
    width: 100%;
}

.wkhbs-box-features {
    padding: 20px;
    background: var(--wkhbs-gray-50);
    border-top: 1px solid var(--wkhbs-gray-200);
}

.wkhbs-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--wkhbs-gray-700);
}

.wkhbs-feature-item .material-icons {
    font-size: 18px;
    color: var(--wkhbs-success);
}

/* ========================================
   MAPA
   ======================================== */
.wkhbs-map {
    height: 400px;
    background: var(--wkhbs-gray-50);
    border-radius: var(--wkhbs-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkhbs-map-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wkhbs-gray-700);
    font-size: 16px;
}

.wkhbs-map-placeholder .material-icons {
    font-size: 32px;
    color: var(--wkhbs-primary);
}

/* ========================================
   ALERTAS
   ======================================== */
.wkhbs-alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

.wkhbs-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--wkhbs-radius);
}

.wkhbs-alert .material-icons {
    font-size: 24px;
}

.wkhbs-alert p {
    margin: 0;
}

/* ========================================
   PAGINACIÓN
   ======================================== */
.wkhbs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.wkhbs-pagination-btn {
    padding: 10px 16px;
    border: 2px solid var(--wkhbs-gray-200);
    background: white;
    color: var(--wkhbs-gray-700);
    border-radius: var(--wkhbs-radius);
    cursor: pointer;
    transition: var(--wkhbs-transition);
    font-weight: 600;
}

.wkhbs-pagination-btn:hover {
    border-color: var(--wkhbs-primary);
    color: var(--wkhbs-primary);
}

.wkhbs-pagination-btn.active {
    background: var(--wkhbs-primary);
    color: white;
    border-color: var(--wkhbs-primary);
}

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

/* ========================================
   RESPONSIVE - DETALLES
   ======================================== */
@media (max-width: 1200px) {
    .wkhbs-details-container {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 992px) {
    .wkhbs-details-container {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-details-sidebar {
        position: relative;
        top: 0;
    }
    
    .wkhbs-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 250px;
    }
    
    .wkhbs-room-card {
        grid-template-columns: 1fr;
    }
    
    .wkhbs-room-price {
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .wkhbs-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .wkhbs-gallery-main {
        grid-row: auto;
    }
    
    .wkhbs-hotel-title h2 {
        font-size: 24px;
    }
    
    .wkhbs-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   VISTA DE CIUDADES
   ======================================== */
.wkhbs-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.wkhbs-city-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wkhbs-city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.wkhbs-city-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wkhbs-city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wkhbs-city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

.wkhbs-city-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
}

.wkhbs-city-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.wkhbs-city-footer {
    padding: 20px;
}

.wkhbs-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .wkhbs-cities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   AUTOCOMPLETAR MEJORADO
   ======================================== */
.wkhbs-autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wkhbs-autocomplete-results.active {
    display: block;
}

.wkhbs-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.wkhbs-autocomplete-item:last-child {
    border-bottom: none;
}

.wkhbs-autocomplete-item:hover {
    background: #f5f5f5;
}

.wkhbs-autocomplete-item .material-icons {
    color: #0066cc;
    margin-right: 12px;
    font-size: 20px;
}

.wkhbs-autocomplete-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wkhbs-autocomplete-city {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.wkhbs-autocomplete-count {
    font-size: 13px;
    color: #666;
}

.wkhbs-autocomplete-item.wkhbs-no-results {
    cursor: default;
    color: #999;
    justify-content: center;
}

.wkhbs-autocomplete-item.wkhbs-no-results:hover {
    background: white;
}

.wkhbs-field-location {
    position: relative;
}

/* Estilos para el select de ciudades */
.wkhbs-select {
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.wkhbs-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.wkhbs-select option {
    padding: 10px;
}


/* ========================================
   FORMULARIO COMPACTO - UNA SOLA FILA
   ======================================== */
.wkhbs-home-search {
    
    padding: 30px 20px 30px 20px !important;
    margin: 20px 0 !important;
}

.wkhbs-home-form {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.wkhbs-home-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr auto;
    gap: 12px;
    align-items: end;
}

.wkhbs-home-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wkhbs-gray-700);
    margin-bottom: 6px;
    display: block;
}

.wkhbs-input {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--wkhbs-gray-300);
    border-radius: var(--wkhbs-radius);
    background: white;
    transition: var(--wkhbs-transition);
}

.wkhbs-input:focus {
    outline: none;
    border-color: var(--wkhbs-primary);
    box-shadow: 0 0 0 2px rgba(0, 53, 128, 0.1);
}

/* Botón de búsqueda más compacto */
.wkhbs-btn-search {
    padding: 10px 20px !important;
    min-width: 120px;
    height: 40px;
    font-size: 14px;
    white-space: nowrap;
}

.wkhbs-field-submit {
    min-width: auto;
}

/* Selector de huéspedes compacto */
.wkhbs-guests-trigger-compact {
    padding: 10px 12px;
    font-size: 14px;
}

.wkhbs-guests-display {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
}

/* Responsive para el diseño de una fila */
@media (max-width: 1200px) {
    .wkhbs-home-form-grid {
        grid-template-columns: 1fr 1fr 1fr 1.5fr auto;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .wkhbs-home-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wkhbs-btn-search {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .wkhbs-home-search {
        padding: 15px 0 !important;
        margin: 15px 0 !important;
    }
    
    .wkhbs-home-field label {
        font-size: 11px;
    }
    
    .wkhbs-input {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .wkhbs-btn-search {
        padding: 8px 16px !important;
        font-size: 13px;
        min-width: 100px;
    }
}

/* Input con icono integrado */
.wkhbs-input-with-icon {
    position: relative;
    padding-left: 45px !important; /* Espacio para el icono */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 16px 16px;
}

/* Para usar FontAwesome como fuente de iconos */
.wkhbs-input-with-icon::before {
    content: '\f073'; /* Código Unicode del icono de calendario */
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    font-size: 16px;
}

/* Asegurar que el texto no se superponga */
.wkhbs-input-with-icon::placeholder {
    margin-left: 5px;
}

/* Select con icono de ubicación */
.wkhbs-select-with-icon {
    padding-left: 45px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23666' d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 16px 16px;
    appearance: none; /* Quita el estilo por defecto del select */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Flecha personalizada del select */
.wkhbs-select-with-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23666' d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z'/%3E%3C/svg%3E"), 
                     url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23333' d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-position: 15px center, right 15px center;
    background-size: 16px 16px, 16px 16px;
    padding-right: 45px !important; /* Espacio para la flecha */
}