/**
 * 美食清單頁面樣式
 */

.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;
    margin-bottom: 20px;
}

/* 清單網格 */
.lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 清單卡片 */
.list-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.list-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.list-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.list-item-count {
    font-size: 13px;
    opacity: 0.9;
}

.list-card-body {
    padding: 20px;
}

.list-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.list-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.list-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.list-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.list-author span {
    font-size: 13px;
    color: #666;
}

.list-date {
    font-size: 12px;
    color: #999;
}

/* 分頁 */
.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;
}

.mt-2 {
    margin-top: 16px;
}

/* 響應式 */
@media (max-width: 768px) {
    .page-header {
        padding: 24px 0;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .lists-grid {
        grid-template-columns: 1fr;
    }
}
