/* 复制ideas.css相关表格和卡片样式，适配forum.html */
.list-container {
    padding: 0 35px;
}
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}
.card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    flex: 1;
}
.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.card-subtitle {
    font-size: 14px;
    color: #777;
}
.card-body {
    padding: 0;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table th,
table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}
table th {
    background-color: #f8f8f8;
    color: #555;
    font-weight: bold;
    font-size: 13px;
}
table tbody tr:last-child td {
    border-bottom: none;
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.pagination-info {
    font-size: 14px;
    color: #555;
}
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.records-per-page select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
    cursor: pointer;
}
.btn-delete, .btn-jump{
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 5px;
    transition: all 0.3s ease;
    background-color: #fff;
}
.pagination-buttons {
    display: flex;
}
.page-btn {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    margin: 0;
    transition: background-color 0.2s, color 0.2s;
}
.page-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.page-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.page-btn:not(:first-child) {
    border-left: none;
}
.page-btn.active {
    background-color: #444;
    border-color: #444;
    color: white;
}
.total-records {
    font-size: 14px;
    color: #555;
}
.goto-page {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}
.goto-page input[type="text"] {
    width: 40px;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 14px;
    text-align: center;
    outline: none;
}
