/* 分页样式 */
.pagination-container {
    margin-top: 30px;
    text-align: center;
}
.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination-item {
    margin: 0 5px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s;
}
.pagination-item:hover {
    background: #f5f5f5;
}
.pagination-item.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}
.pagination-item.disabled {
    color: #ccc;
    cursor: not-allowed;
}
.pagination-item.disabled:hover {
    background: #fff;
}
.pagination-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}
.loading, .error, .no-data {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* 内容详情模态框样式 */
.content-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
}

.content-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 20px auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body .content-html {
    line-height: 1.6;
    color: #333;
}

.modal-body .content-html img {
    max-width: 100%;
    height: auto;
}

.modal-body .content-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.modal-body .content-html table,
.modal-body .content-html th,
.modal-body .content-html td {
    border: 1px solid #ddd;
}

.modal-body .content-html th,
.modal-body .content-html td {
    padding: 8px 12px;
    text-align: left;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal-date {
    color: #666;
    font-size: 14px;
}

.gonggao-info-item.expired {
    pointer-events: none;
    opacity: 0.5;
    color: #999;
}