/* 用户中心自定义样式 */

/* 用户中心主容器 */
.usercenter-container {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* 用户信息卡片 */
.user-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

/* 统计卡片 */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 快捷操作卡片 */
.quick-action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #696cff;
}

.quick-action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
}

/* 最近活动时间线 */
.activity-timeline {
    position: relative;
    padding-left: 2rem;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #696cff, #e7e7ff);
}

.activity-item {
    position: relative;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid #696cff;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -2.2rem;
    top: 1rem;
    width: 12px;
    height: 12px;
    background: #696cff;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #696cff;
}

.activity-time {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.activity-content {
    color: #2c3e50;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .usercenter-container {
        padding: 1rem 0;
    }
    
    .user-info-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stats-card,
    .quick-action-card {
        margin-bottom: 1rem;
    }
    
    .activity-timeline {
        padding-left: 1.5rem;
    }
    
    .activity-item::before {
        left: -1.7rem;
    }
}

/* 颜色主题 */
.bg-primary-gradient {
    background: linear-gradient(135deg, #696cff 0%, #5a67d8 100%);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #28c76f 0%, #20a85a 100%);
}

.bg-warning-gradient {
    background: linear-gradient(135deg, #ff9f43 0%, #ff8c00 100%);
}

.bg-info-gradient {
    background: linear-gradient(135deg, #00cfe8 0%, #0099cc 100%);
}

/* 卡片阴影效果 */
.card-shadow-sm {
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-shadow-md {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-shadow-lg {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}