/**
 * AeroCore 组件样式
 * 包含：页脚样式、无限滚动加载器
 */

/* ========================================
   页脚样式
   ======================================== */

.site-footer__logo {
    height: 32px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__bottom-left {
    flex: 1;
}

.site-footer__bottom-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.site-footer__action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.site-footer__action-btn:hover {
    color: #fff;
}

.site-footer__action-btn svg {
    flex-shrink: 0;
}

.site-footer__action-btn--qrcode {
    position: relative;
}

.site-footer__qrcode-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    background: #fff;
    padding: 4px;
}

.site-footer__action-btn--qrcode:hover .site-footer__qrcode-popup {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .site-footer__bottom-right {
        display: none;
    }
    .site-footer__bottom {
        justify-content: center;
        text-align: center;
    }
}


/* ========================================
   无限滚动加载器
   ======================================== */

.infinite-scroll-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: var(--text-muted, #909399);
    font-size: 14px;
}

.infinite-scroll-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--theme-color, #409EFF);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.infinite-scroll-sentinel {
    height: 1px;
}
