/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tarjetas de hotel */
.hotel-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.hotel-img {
    height: 200px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hotel-img {
        height: 100%;
        min-height: 200px;
    }
}

/* Rating */
.rating-stars {
    color: #FFD700;
    font-size: 1.1rem;
}

/* Precios */
.price-highlight {
    font-size: 1.75rem;
    font-weight: bold;
    color: #0d6efd;
}

/* Amenities */
.amenities .badge {
    font-weight: normal;
    margin-right: 5px;
    padding: 5px 8px;
}

/* Filtros */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Paginación */
.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Estilos para el date range picker */
.daterangepicker {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #0d6efd;
}

.daterangepicker .drp-buttons .btn {
    padding: 5px 15px;
    border-radius: 4px;
}

.daterangepicker .drp-buttons .btn.applyBtn {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    min-width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.daterangepicker .ranges li.active {
    background-color: #0d6efd;
    color: white;
}

.daterangepicker .ranges li:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hotel-card .row {
        flex-direction: column;
    }

    .hotel-img {
        border-radius: 8px 8px 0 0 !important;
        height: 180px;
    }
}

/* Estilos para el selector de huéspedes */
#guestRoomsInput {
    cursor: pointer;
    background-color: white;
}

/* Botones de incremento/decremento */
.btn-minus, .btn-plus {
    width: 40px;
}

/* Modal de huéspedes */
#guestRoomsModal .input-group {
    width: 140px;
}

#guestRoomsModal .modal-body {
    padding: 1.5rem;
}

#guestRoomsModal .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* Selects de edad de niños */
.child-age {
    max-width: 200px;
}

/* Responsive */
@media (max-width: 576px) {
    #guestRoomsModal .input-group {
        width: 120px;
    }

    #guestRoomsModal .col-6 {
        margin-bottom: 1rem;
    }
}

/*Habitaciones*/
.room-selector-popup {
    width: 350px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 1000;
    background: white;
}

.room-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.room-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.btn-room-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-counter {
    min-width: 30px;
    text-align: center;
    margin: 0 8px;
}

.child-age-select {
    width: 80px;
    margin-left: 10px;
}

.child-item {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

#room-summary {
    cursor: pointer;
}