/* ========================================================================== */
/* LOADING SCREEN                                                           */
/* ========================================================================== */

.loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
}

.loading-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1040;
}

.loading-root {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    pointer-events: none;
}

.loading-inline {
    position: relative;
    inset: auto;
    display: inline-flex;
    pointer-events: none;
}

    .loading-centered .loading-card,
    .loading-inline .loading-card {
        pointer-events: auto;
    }

.loading-card {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: .6rem;
    box-shadow: 0 6px 20px rgba(11,18,38,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    min-width: 220px;
    max-width: 420px;
}

.loading-logo svg {
    display: block;
    width: 72px;
    height: 72px;
    animation: loading-rotate 1.4s linear infinite;
}

.loading-message {
    color: #0b1226;
    font-size: .95rem;
    text-align: center;
    opacity: .9;
}

@keyframes loading-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* mobile tweak */
@media (max-width: 480px) {
    .loading-card {
        padding: 1rem;
        min-width: 180px;
    }

    .loading-logo svg {
        width: 56px;
        height: 56px;
    }
}

.loading-text {
    margin-top: 18px;
    color: white;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

