/* Estilos para Shortcode Langas Bookings */
.mwm-langas-bookings-container {
    margin-top: 50px;
}

/* Filtros */
.mwm-langas-filters {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 15px;
    align-items: flex-end;
}

.mwm-langas-filter {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    align-self: center;
}

.mwm-langas-filter label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

.mwm-langas-filter select {
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    width: 100%;
}

.mwm-langas-filter.husdjur_tillatet {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mwm-langas-filter.husdjur_tillatet label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.mwm-langas-filter.husdjur_tillatet input[type="checkbox"] {
    margin-right: 5px;
}

/* Contenedor de bookings */
.mwm-langas-bookings-container {
    position: relative;
    min-height: 200px;
}

/* Loader de AJAX */
.mwm-langas-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.mwm-langas-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mensaje de no resultados */
.mwm-langas-no-results {
    padding: 30px;
    text-align: center;
    font-size: 18px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin: 20px 0;
}

/* Grid de productos */
.mwm-langas-bookings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    transition: opacity 0.3s ease;
}

.mwm-langas-bookings-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mwm-langas-bookings-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mwm-langas-bookings-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Item de reserva */
.mwm-langas-booking-item {
    border: 1px solid #eee;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.mwm-langas-booking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mwm-langas-booking-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.mwm-langas-booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Amenidades e íconos */
.mwm-langas-booking-amenities {
    display: flex;
    padding: 10px;
    gap: 15px;
    align-items: center;
}

.mwm-langas-booking-amenities .amenity img {
    width: 24px;
    height: 24px;
}

.pets-allowed {
    margin-left: auto;
    background-color: #f5f5f5;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
}

/* Título y detalles */
.mwm-langas-booking-title {
    padding: 0 15px;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.mwm-langas-booking-details {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.mwm-langas-booking-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.mwm-langas-booking-price .price-label {
    font-weight: 600;
    color: #444;
}

.mwm-langas-booking-price .price-amount {
    font-weight: 600;
    color: #4CAF50;
}


/* Responsividad */
@media (max-width: 768px) {
    .mwm-langas-filters {
        flex-direction: column;
    }
    
    .mwm-langas-filter {
        width: 100%;
    }
    
    .mwm-langas-bookings-grid.columns-2,
    .mwm-langas-bookings-grid.columns-3,
    .mwm-langas-bookings-grid.columns-4 {
        grid-template-columns: 1fr;
    }
} 