/**
 * 餐廳列表頁面樣式
 */

.page-header {
    text-align: center;
    padding: 40px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #666;
    font-size: 16px;
}

/* 篩選器 */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

.filters-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    min-width: 120px;
    transition: border-color 0.3s;
}

.filter-select:focus {
    border-color: #ff6b6b;
    outline: none;
}

.results-info {
    color: #666;
    font-size: 14px;
}

/* 餐廳網格 */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 特色徽章 */
.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* 價格指示器 */
.restaurant-price {
    display: flex;
    gap: 2px;
    color: #ddd;
}

.restaurant-price span.active {
    color: #4caf50;
}

/* 評論數量 */
.rating-count {
    color: #999;
    font-size: 12px;
    margin-left: 4px;
}

/* 分頁 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.pagination-link:hover {
    background: #f5f5f5;
    border-color: #ff6b6b;
}

.pagination-link.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

/* 響應式 */
@media (max-width: 768px) {
    .page-header {
        padding: 24px 0;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .filters-bar {
        flex-direction: column;
        padding: 16px;
    }
    
    .filters-form {
        width: 100%;
    }
    
    .filter-select {
        flex: 1;
        min-width: calc(50% - 6px);
    }
    
    .results-info {
        width: 100%;
        text-align: center;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
}
