/* 全局加载动画 */
.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg, #f5f5f5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    gap: 1.25rem;
}

/* 方案1：跟随主题色的圆环 */
.loading-spinner {
    width: 3.125rem;
    height: 3.125rem;
    border: 4px solid var(--color-border, rgba(0, 0, 0, 0.1));
    border-top-color: var(--color-text, #333);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    font-size: 0.875rem;
    color: var(--color-text-muted, #666);
    font-weight: 500;
}

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

/* 主内容淡入效果 */
.main-container {
    opacity: 1;
    transition: opacity 0.3s ease;
}
