/**
 * Loading screen — centered progress bar.
 * Colors from SSOT: colors.ts via theme-bridge.js
 */

.loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ase-surface-0);
    transition: opacity 1.2s ease-out;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 1.2s ease-out, visibility 0s 1.2s;
}

.loader-bar {
    width: 260px;
    height: 4px;
    background: var(--ase-border-alpha-25);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--ase-text-panel-white);
    border-radius: 2px;
    transition: width var(--ase-transition-fast);
}

.loader-text {
    margin-top: 12px;
    color: var(--ase-text-muted);
    font-size: var(--ase-text-sm);
    letter-spacing: 0.08em;
}
