/* 个人资料完成度和认证标识样式 */

/* 整体容器 */
.profile-progress-section {
    padding: 12px 10px;
    background: #f6f7f8;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* 进度条容器 */
.profile-progress-container {
    margin-bottom: 8px;
}

/* 进度条头部 */
.profile-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* 标题文字 */
.profile-completion-title {
    font-size: 13px;
    color: #474747;
    font-weight: 500;
}

/* 百分比文字 */
.profile-completion-percent {
    font-size: 14px;
    font-weight: 600;
    color: #4ea3ff;
}

/* 进度条背景 */
.profile-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 进度条填充 */
.profile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ea3ff 0%, #5ab3ff 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
}

/* 进度条动画效果 */
.profile-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 完善资料提示 */
.profile-progress-tip {
    margin-top: 6px;
    text-align: right;
}

.profile-complete-link {
    font-size: 12px;
    color: #4ea3ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-complete-link:hover {
    color: #3d8fe0;
    text-decoration: underline;
}

/* 认证标识 */
.certification-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(82, 196, 26, 0.3);
    transition: all 0.3s ease;
}

.certification-badge:hover {
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
    transform: translateY(-1px);
}

/* 认证图标 */
.certification-icon {
    margin-right: 4px;
    flex-shrink: 0;
}

/* 认证文字 */
.certification-text {
    line-height: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-progress-section {
        padding: 10px 8px;
    }
    
    .profile-completion-title {
        font-size: 12px;
    }
    
    .profile-completion-percent {
        font-size: 13px;
    }
    
    .profile-progress-bar {
        height: 6px;
    }
    
    .certification-badge {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* 完成度100%的特殊样式 */
.profile-progress-fill[style*="width: 100%"] {
    background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
}

.profile-progress-header:has(+ .profile-progress-bar .profile-progress-fill[style*="width: 100%"]) .profile-completion-percent {
    color: #52c41a;
}

