#blazor-error-ui {
    background: var(--mx-color-warning, #d97706);
    bottom: 0;
    box-sizing: border-box;
    color: var(--mx-color-on-action-primary, #ffffff);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

html[data-mx-startup-theme="light"] {
    color-scheme: light;
    --mx-color-background: #f7f8fb;
    --mx-color-text-primary: #101828;
    --mx-color-brand-primary: #ff1493;
    --mx-color-action-primary: #1e90ff;
}

html[data-mx-startup-theme="dark"] {
    color-scheme: dark;
    --mx-color-background: #050505;
    --mx-color-text-primary: #ffffff;
    --mx-color-brand-primary: #ff1493;
    --mx-color-action-primary: #1e90ff;
}

html,
body,
#app {
    min-height: 100%;
}

body {
    background: var(--mx-color-background, #f7f8fb);
    color: var(--mx-color-text-primary, #101828);
    font-family: var(--mx-font-family-primary, "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    margin: 0;
}

#app:empty,
#app:not(:has(.mx-page)) {
    box-sizing: border-box;
    display: grid;
    min-height: 100dvh;
    padding: 1.5rem;
    place-items: center;
}

.mx-startup-loading {
    display: grid;
    gap: clamp(1.25rem, 2.2vw, 1.75rem);
    justify-items: center;
    text-align: center;
}

.mx-startup-loading-mark {
    --mx-startup-icon-size: clamp(5.75rem, 8vw, 7rem);

    display: grid;
    height: clamp(12rem, 17vw, 14.75rem);
    isolation: isolate;
    place-items: center;
    position: relative;
    width: clamp(12rem, 17vw, 14.75rem);
}

.mx-startup-loading-mark::before,
.mx-startup-loading-mark::after {
    animation: mx-startup-loading-ring 2.1s linear infinite;
    border: 3px solid var(--mx-color-brand-primary, #ff1493);
    border-radius: 999px;
    content: "";
    height: calc(var(--mx-startup-icon-size) + 0.9rem);
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.78);
    width: calc(var(--mx-startup-icon-size) + 0.9rem);
    z-index: 0;
}

.mx-startup-loading-mark::after {
    animation-delay: 1.05s;
}

.mx-startup-loading-icon {
    height: var(--mx-startup-icon-size);
    position: relative;
    width: var(--mx-startup-icon-size);
    z-index: 1;
}

.mx-startup-loading-copy {
    color: var(--mx-color-text-primary, #101828);
    font-size: clamp(1rem, 0.6vw + 0.95rem, 1.2rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    min-height: 1.5rem;
    text-align: center;
}

.mx-boot-recovery {
    background: rgba(16, 24, 40, 0.24);
    backdrop-filter: blur(4px) saturate(1.05);
    box-sizing: border-box;
    display: grid;
    inset: 0;
    padding: 1.5rem;
    place-items: center;
    position: fixed;
    z-index: 10000;
}

.mx-boot-recovery[hidden] {
    display: none;
}

.mx-boot-recovery-dialog {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(16, 24, 40, 0.18);
    box-sizing: border-box;
    color: #101828;
    display: grid;
    gap: 1.25rem;
    max-width: min(31rem, 100%);
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.mx-boot-recovery-icon {
    align-items: center;
    border: 1px solid rgba(255, 184, 77, 0.48);
    border-radius: 999px;
    color: #b45309;
    display: inline-grid;
    height: 3rem;
    justify-self: center;
    place-items: center;
    position: relative;
    width: 3rem;
}

.mx-boot-recovery-icon::before,
.mx-boot-recovery-icon::after {
    animation: mx-boot-recovery-sonar 2.4s ease-out infinite;
    border: 1px solid rgba(255, 184, 77, 0.36);
    border-radius: inherit;
    content: "";
    inset: -0.25rem;
    opacity: 0;
    position: absolute;
}

.mx-boot-recovery-icon::after {
    animation-delay: 1.2s;
}

.mx-boot-recovery-title {
    font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.mx-boot-recovery-message,
.mx-boot-recovery-detail,
.mx-boot-recovery-status {
    line-height: 1.45;
    margin: 0;
}

.mx-boot-recovery-message {
    color: #344054;
}

.mx-boot-recovery-detail {
    color: #667085;
    font-size: 0.9rem;
}

.mx-boot-recovery-status {
    color: #475467;
    font-size: 0.95rem;
    font-weight: 700;
}

.mx-boot-recovery-dots span {
    animation: mx-startup-loading-dot 1.2s infinite ease-in-out;
    opacity: 0.25;
}

.mx-boot-recovery-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.mx-boot-recovery-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.mx-boot-recovery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding-top: 0.25rem;
}

.mx-boot-recovery-button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 2.75rem;
    padding: 0.75rem 1.1rem;
}

.mx-boot-recovery-button-primary {
    background: #1e90ff;
    color: #ffffff;
}

.mx-boot-recovery-button-secondary {
    background: transparent;
    border-color: #d0d5dd;
    color: #101828;
}

@media (prefers-color-scheme: dark) {
    .mx-boot-recovery {
        background: rgba(5, 5, 5, 0.38);
    }

    .mx-boot-recovery-dialog {
        background: #151515;
        border-color: #2a2a2a;
        box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
        color: #ffffff;
    }

    .mx-boot-recovery-message {
        color: #e5e7eb;
    }

    .mx-boot-recovery-detail,
    .mx-boot-recovery-status {
        color: #d1d5db;
    }

    .mx-boot-recovery-button-secondary {
        border-color: #4b5563;
        color: #ffffff;
    }
}

.mx-loading-dots span {
    animation: mx-startup-loading-dot 1.2s infinite ease-in-out;
    opacity: 0.25;
}

.mx-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.mx-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes mx-startup-loading-dot {
    0%,
    70%,
    100% {
        opacity: 0.25;
    }

    30% {
        opacity: 1;
    }
}

@keyframes mx-startup-loading-ring {
    0% {
        border-color: var(--mx-color-brand-primary, #ff1493);
        box-shadow: 0 0 0 rgba(255, 20, 147, 0.26);
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    8% {
        border-color: var(--mx-color-brand-primary, #ff1493);
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(1);
    }

    56% {
        border-color: var(--mx-color-action-primary, #1e90ff);
        box-shadow: 0 0 1.75rem rgba(30, 144, 255, 0.18);
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.46);
    }

    100% {
        border-color: var(--mx-color-action-primary, #1e90ff);
        box-shadow: 0 0 2.25rem rgba(30, 144, 255, 0);
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.82);
    }
}

@keyframes mx-boot-recovery-sonar {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    14% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mx-startup-loading-mark::before {
        animation: none;
        border-color: var(--mx-color-action-primary, #1e90ff);
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(1.28);
    }

    .mx-startup-loading-mark::after {
        display: none;
    }

    .mx-loading-dots span {
        animation: none;
        opacity: 1;
    }

    .mx-boot-recovery-icon::before,
    .mx-boot-recovery-icon::after,
    .mx-boot-recovery-dots span {
        animation: none;
        opacity: 1;
    }
}
.mx-public-document {
    box-sizing: border-box;
    width: min(100% - 2rem, 52rem);
    margin: 0 auto;
    padding: var(--mx-space-8) 0;
    color: var(--mx-color-text-primary);
    font-family: var(--mx-font-family-primary);
    line-height: 1.65;
}

.mx-public-document h1,
.mx-public-document h2 {
    line-height: 1.2;
}

.mx-public-document a {
    color: var(--mx-color-action-primary);
}
