/* 个人中心样式 */
.my-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.user-profile {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    background: linear-gradient(135deg, #ff5000, #ff7043);
}

.user-info {
    flex: 1;
}

.user-info h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.user-id {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.user-bio {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.user-stats {
    display: flex;
    gap: 30px;
}

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

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

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

.profile-actions {
    display: flex;
    gap: 15px;
}

.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-section {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.section-header h2 {
    font-size: 20px;
    color: #333;
}

.published-wants {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.want-item {
    display: flex;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.want-item:hover {
    border-color: #ff5000;
    box-shadow: 0 2px 8px rgba(255,80,0,0.1);
}

.want-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    border-radius: 6px;
}

.want-details {
    flex: 1;
}

.want-details h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.want-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.want-status.approved {
    background-color: #f0f9f4;
    color: #19be6b;
}

.want-status.pending {
    background-color: #fff5f0;
    color: #ff9900;
}

.want-status.rejected {
    background-color: #fff2f0;
    color: #ed4014;
}

.want-price {
    font-size: 18px;
    color: #ff5000;
    font-weight: bold;
}

.recent-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.message-item:hover {
    background-color: #f9f9f9;
}

.message-avatar {
    width: 40px;
    height: 40px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.message-content {
    flex: 1;
}

.message-user {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.message-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-time {
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-stats {
        justify-content: center;
    }
    
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        justify-content: center;
    }
}