
.establishment-card {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    opacity: 1;
    transform: translateY(0);
}
.establishment-card.loading {
    opacity: 0.5;
}
.establishment-card.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.establishment-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.establishment-info {
    padding: 15px;
}
.establishment-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    height: 50px;
    overflow: hidden;
}
.establishment-name a {
    color: #333;
    text-decoration: none;
}
.establishment-name a:hover {
    color: #e74c3c;
}
.establishment-rating {
    margin-bottom: 10px;
}
.star {
    color: #ffd700;
    font-size: 16px;
}
.star-empty {
    color: #ddd;
    font-size: 16px;
}
.rating-value {
    font-weight: 600;
    color: #333;
    margin-left: 5px;
}
.review-count {
    color: #666;
    font-size: 12px;
}
.establishment-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}
.category-badge {
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}
.city-name {
    color: #666;
    font-size: 13px;
}
.city-name i {
    margin-right: 5px;
}
.establishment-address {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    height: 36px;
    overflow: hidden;
}
.btn-details {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
    width: 100%;
}
.btn-details:hover {
    background: #c0392b;
    color: white;
}
.filters-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.filter-group {
    margin-bottom: 15px;
}
.filter-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.sorting-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.results-info {
    background: #e8f4fc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.pagination-custom .page-item.active .page-link {
    background: #e74c3c;
    border-color: #e74c3c;
}
.pagination-custom .page-link {
    color: #e74c3c;
}
.stats-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.stats-number {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}
.stats-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}
.quick-links {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.quick-link {
    display: block;
    padding: 8px 12px;
    margin-bottom: 5px;
    background: white;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.quick-link:hover, .quick-link.active {
    background: #e74c3c;
    color: white;
}
.recent-review {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 10px;
}
.reviews-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}
.no-results-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}
.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #e74c3c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.content-loading {
    opacity: 0.5;
    pointer-events: none;
}
@media (max-width: 768px) {
    .establishment-card {
        margin-bottom: 20px;
    }
    .filters-section .col-md-3 {
        margin-bottom: 10px;
    }
}

.autocomplete-wrapper {
    position: relative;
}

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

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
}

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

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

.autocomplete-item.active {
    background-color: #e9ecef;
}