.user-page {
    width: 100%;
    min-height: 130vh;
    background-image: url('../images/userpage.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    min-height: 800px;
    padding: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.content-inner {
    padding: 100px;
    height: 100%;
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.avatar-box {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.info-box {
    flex: 0 0 300px;
}

.info-box .nickname {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-box .user-id,
.info-box .phone {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.right-pink-box {
    flex: 1;
    background-color: #FFF0F5;
    height: 120px;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #F10E1E;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.tab-section {
    margin-top: 40px;
}

.tab-header1 {
    position: relative;
    display: flex;
    gap: 60px;
    margin-bottom: 20px;
}

.tab-item1 {
    font-size: 16px;
    color: #737373;
    cursor: pointer;
    padding-bottom: 10px;
}

.tab-item1.active {
    color: #F10E1E;
}

.tab-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #EAEAEA;
}

.tab-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 70px;
    background-color: #F10E1E;
    transition: transform 0.3s ease;
}

/* 根据选中的标签位置设置滑块位置 */
.tab-item1:nth-child(2).active ~ .tab-line .tab-slider {
    transform: translateX(130px);
}

.tab-item1:nth-child(3).active ~ .tab-line .tab-slider {
    transform: translateX(260px);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

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

.donate-table th,
.donate-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #EAEAEA;
}

.donate-table th {
    font-weight: normal;
    color: #666;
    background-color: #F8F8F8;
}

.donate-table td {
    color: #333;
}

.donate-table td:first-child {
    text-align: left;  /* 日期列左对齐 */
}

.donate-table td:last-child {
    text-align: right;  /* 操作列右对齐 */
    min-width: 300px;
}

.operation-btn {
    display: inline-block;
    padding: 6px 12px;
    flex-shrink: 0;  
    color: #F10E1E !important;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer;
}
.operation-btn-dis {
    display: inline-block;
    padding: 6px 12px;
    flex-shrink: 0;  
    /*color: #F10E1E !important;*/
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer;
}

.operation-btn:hover {
    color: #F10E1E;
    opacity: 0.8;
}
.pagination-container {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-item {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.page-item:hover {
    border-color: #F10E1E;
    color: #F10E1E;
}

.page-item.active {
    background: #F10E1E;
    border-color: #F10E1E;
    color: #fff;
}

.page-dots {
    color: #999;
    letter-spacing: 2px;
}
