/* 个人中心样式 */
.my-container {
    padding: 10px;
    padding-bottom: 80px;
}

.user-profile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-bg {
    height: 120px;
    background: linear-gradient(to right, #ff5000, #ff7043);
}

.profile-content {
    position: relative;
    padding: 20px;
    margin-top: -60px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    margin-bottom: 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 40px;
}

.user-info h2 {
    color: #333;
    margin-bottom: 5px;
}

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

.user-stats {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ff5000;
    margin-bottom: 5px;
}

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

.functions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.function-card {
    text-align: center;
    cursor: pointer;
}

.function-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.function-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.function-badge {
    background-color: #ff5000;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.section {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

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

.want-item-mini {
    display: flex;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
}

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

.want-image-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

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

.want-details {
    flex: 1;
}

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

.want-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    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: 16px;
    color: #ff5000;
    font-weight: bold;
}

.quick-actions {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.action-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-text {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .functions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .user-stats {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}