/* 分页导航样式 */
.tablenav-pages {
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.tablenav-pages a, 
.tablenav-pages span {
    display: inline-block;
    min-width: 17px;
    border: 1px solid #ddd;
    padding: 3px 5px 5px;
    margin: 0 2px;
    text-align: center;
    text-decoration: none;
    color: #555;
    background: #f7f7f7;
}

.tablenav-pages a:hover {
    background: #eee;
}

.tablenav-pages .current {
    color: #fff;
    background: #0073aa;
    border-color: #006799;
}

.tablenav .tablenav-pages {
    line-height: 2em;
    float: right;
    margin: 0 0 10px 0;
}
/* 主容器 */
.points-bank-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 账户概览 */
.points-bank-account-summary {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 8px;
    border: 1px solid #e0e4e7;
}

.points-bank-account-summary h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.5em;
}

.account-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-balance .label {
    font-weight: 600;
    color: #7f8c8d;
    font-size: 1.1em;
}

.account-balance .value {
    font-size: 2em;
    font-weight: 700;
    color: #27ae60;
}

/* 操作标签页 */
.action-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.tab-button {
    padding: 12px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 1em;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    color: #3498db;
}

.tab-button.active {
    color: #2980b9;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2980b9;
    border-radius: 3px 3px 0 0;
}

/* 操作内容区 */
.action-content {
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e4e7;
}

.tab1-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab1-content.active {
    display: block;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 按钮样式 */
.button {
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

/* 交易记录表格 */
.points-bank-transactions {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.points-bank-transactions th,
.points-bank-transactions td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.points-bank-transactions th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.points-bank-transactions tr:hover {
    background-color: #f8f9fa;
}

.points-bank-transactions .positive {
    color: #27ae60;
    font-weight: 600;
}

.points-bank-transactions .negative {
    color: #e74c3c;
    font-weight: 600;
}

/* 通知样式 */
.points-bank-notice {
    padding: 15px;
    background: #fff3cd;
    border-radius: 6px;
    text-align: center;
    color: #856404;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .points-bank-container {
        padding: 15px;
        margin: 10px;
    }
    
    .action-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 0 50%;
        text-align: center;
    }
    
    .account-balance {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .account-balance .value {
        margin-top: 5px;
    }
}