/* 个人中心样式 */

.profile-header {
    background: white;
    padding: 24px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #9ca3af;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.user-id {
    font-size: 13px;
    color: #9ca3af;
}

/* 统计卡片 */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 20px 16px;
    margin: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.stat-item {
    cursor: pointer;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: #e5e7eb;
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
}

/* 菜单分组 */
.menu-section {
    margin: 0 16px 16px;
}

.menu-section-title {
    font-size: 13px;
    color: #9ca3af;
    padding: 0 4px;
    margin-bottom: 8px;
}

.menu-group {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: #f9fafb;
}

.menu-item-icon {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: #6b7280;
    font-size: 16px;
}

.menu-item-title {
    flex: 1;
    font-size: 15px;
    color: #1f2937;
}

.menu-item-arrow {
    color: #d1d5db;
    font-size: 12px;
}

/* 退出登录 */
.logout-btn {
    margin: 0 16px 24px;
    padding: 14px;
    background: white;
    text-align: center;
    color: #ef4444;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: background 0.15s ease;
}

.logout-btn:active {
    background: #fef2f2;
}


