/**
 * LeleBlog主题 - 无限滚动加载样式
 */

/* 加载指示器样式 */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.loading-indicator .spinner {
    margin-right: 10px;
    font-size: 16px;
    color: #6366f1;
}

.loading-indicator span {
    display: inline-block;
}

/* 加载更多按钮样式（备用方案） */
.load-more-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px 15px;
    text-align: center;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.load-more-button:hover {
    background-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.load-more-button:active {
    transform: translateY(1px);
}

.load-more-button i {
    margin-right: 8px;
}

.load-more-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 加载失败状态 */
.loading-indicator a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.loading-indicator a:hover {
    text-decoration: underline;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-item.new-loaded {
    animation: fadeInUp 0.5s ease forwards;
} 