/**
 * Search Page Additional Styles
 */

.search-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-header .form-control,
.search-header .form-select {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filters-sidebar {
    top: 100px;
}

.filters-sidebar .card {
    border-radius: 12px;
}

.filters-sidebar .form-check {
    margin-bottom: 0.75rem;
}

.filters-sidebar .form-check-label {
    cursor: pointer;
    user-select: none;
}

.hotel-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.hotel-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .card-img-top {
    transform: scale(1.05);
}

.amenities-icons i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.pagination .page-link {
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

/* Mobile Filters */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        z-index: 1050;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .filters-sidebar.show-mobile {
        left: 0;
    }
    
    .filters-sidebar .card {
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 1000px 100%;
}
