/* 个人中心页面样式 */
.profile-header {
    background: #fff;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 15px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 30px;
    color: #999;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-phone {
    font-size: 14px;
    color: #666;
}

/* 会员卡片 */
.member-card {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin: 15px;
}

.member-title {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unlock-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* 功能区块 */
.feature-section {
    background: #fff;
    margin-top: 10px;
    padding: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 订单管理 */
.order-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.order-item {
    text-align: center;
}

.order-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-icon i {
    font-size: 20px;
    color: #1890ff;
}

.order-name {
    font-size: 12px;
    color: #666;
}

/* 钱包信息 */
.wallet-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px 0;
}

.wallet-item {
    text-align: center;
}

.wallet-value {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wallet-label {
    font-size: 12px;
    color: #666;
}

/* 互动中心 */
.interaction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.interaction-item {
    text-align: center;
}

.interaction-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 8px;
    background: #fff7e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interaction-icon i {
    font-size: 22px;
    color: #fa8c16;
}

.interaction-name {
    font-size: 12px;
    color: #666;
}

/* 关注和收藏 */
.follow-section {
    display: flex;
    margin-top: 15px;
    background: #fff;
    padding: 15px;
}

.follow-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #f0f0f0;
}

.follow-item:last-child {
    border-right: none;
}

.follow-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
    background: #f0f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-icon i {
    font-size: 20px;
    color: #6366f1;
}

.follow-text {
    font-size: 12px;
    color: #666;
}

/* 红点提示 */
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
