.hyralis-app-preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    font-family: var(--bs-body-font-family, Inter, Helvetica, sans-serif);
    background: var(--bs-app-bg-color);
    background-image: none;
    border: 0;
    box-shadow: none;
    filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    animation: hyralis-loading-enter .2s ease-out both;
    transition: opacity .3s ease, visibility 0s linear .3s;
}

.hyralis-app-preloader.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hyralis-app-preloader__content {
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    backdrop-filter: none;
}

.hyralis-app-preloader__content::before,
.hyralis-app-preloader__content::after {
    display: none;
    content: none;
}

.hyralis-app-preloader__brand {
    position: relative;
    display: grid;
    width: 150px;
    height: 150px;
    margin: 0 auto .75rem;
    place-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    filter: none;
    backdrop-filter: none;
}

.hyralis-app-preloader__logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.hyralis-app-preloader__halo {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(65, 201, 255, .14);
    border-radius: 50%;
    box-shadow: none;
}

.hyralis-app-preloader__halo::before {
    position: absolute;
    inset: -.15rem;
    border: 1px solid transparent;
    border-top-color: rgba(66, 201, 255, .68);
    border-right-color: rgba(0, 158, 247, .12);
    border-radius: inherit;
    content: "";
    animation: hyralis-loading-spin 3.2s linear infinite;
}

.hyralis-app-preloader__status {
    margin: 0;
    color: var(--bs-gray-500);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.4;
}

.hyralis-button-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: hyralis-loading-spin .75s linear infinite;
}

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

@keyframes hyralis-loading-enter {
    from { opacity: .92; }
    to { opacity: 1; }
}

@media (max-width: 991.98px) {
    .hyralis-app-preloader__brand,
    .hyralis-app-preloader__logo {
        width: 128px;
        height: 128px;
    }
}

@media (max-width: 575.98px) {
    .hyralis-app-preloader__brand,
    .hyralis-app-preloader__logo {
        width: 104px;
        height: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hyralis-app-preloader,
    .hyralis-app-preloader__halo::before,
    .hyralis-button-spinner {
        animation: none;
        transition-duration: .01ms;
    }

    .hyralis-app-preloader__halo::before {
        border-color: rgba(66, 201, 255, .5);
    }
}
