html{
    height: 100vh;
    background: #ffffff;
    /* Overridden by applyBranding() once the brand is known; these defaults
       stay in place when branding itself is what failed. */
    --boot-on-background: #1f1f1f;
    --boot-error: rgb(140, 20, 20);
}

/* Generic boot error dialog (see showBootErrorDialog in index.html). No
   z-index on purpose (stays "auto"): with an equal/auto stacking level, paint
   order follows DOM order, and Flutter's own view is always appended after
   this static markup — so it paints over the dialog if the app eventually
   renders. */
#bootErrorDialog {
    max-width: 420px;
    margin: 0 16px;
    padding: 24px;
    color: var(--boot-on-background);
    font-family: Helvetica, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#bootErrorDialog[hidden] {
    display: none;
}

#bootErrorDialog p {
    margin: 0;
}

#bootErrorTitle {
    font-weight: 700;
}

#bootErrorCode {
    color: var(--boot-error);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    user-select: all;
}

body {
    /* background: linear-gradient(90deg, #2d1f6a 0%, #1f193e 100%); */
    background: #ffffff;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.mainContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading {
    border-radius: 5px;
    overflow: hidden;
    max-width: 200px;
    margin: 0 auto;
    padding: 10px;
}

.loading img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.mainContainer p {
    text-align: center;
    font-weight: 500;
    font-family: Helvetica, sans-serif;
}

#loaderLogo {
    visibility: hidden;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
}

.loader {
    font-size: 6px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}

.loader:before {
    left: -3.5em;
    animation-delay: -0.32s;
}

.loader:after {
    left: 3.5em;
}

@keyframes bblFadInOut {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}