/* ===== 表格樣式 ===== */

.table-container {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin: var(--space-lg) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: var(--space-sm);
    font-weight: bold;
}

td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

tr:hover {
    background: var(--bg-section);
}

/* 文章內容中的表格 */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: var(--bg-white);
    border-radius: var(--radius-small);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.post-content table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: var(--space-sm);
    font-weight: bold;
}

.post-content table td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.post-content table tr:hover td {
    background: var(--bg-section);
}

