/* Layar pemuat awal anti-FOUC sebelum sesi/tampilan aktif siap dirender */
.app-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 1.5rem;
    background-color: #f6f6f4;
    color: #18181b;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.app-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-loader-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.app-loader-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background-color: #18181b;
    color: #ffffff;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.app-loader-title {
    font-size: 1rem;
    font-weight: 700;
    color: #18181b;
    letter-spacing: -0.01em;
}

.app-loader-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 2.5px solid #e2e2dd;
    border-top-color: #0f766e;
    animation: appLoaderSpin 0.7s linear infinite;
}

.app-loader-text {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #52525b;
    text-align: center;
}

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