:root {
    --tw-yellow: #f0b90b;
    --tw-gold: #ffd000;
    --tw-ink: #1e2026;
    --tw-slate: #848e9c;
    --tw-border: #e6e8ea;
    --tw-dark: #222126;
}

html,
body {
    background-color: #ffffff;
    color: var(--tw-ink);
    font-family: BinancePlex, "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100%;
    padding: 0;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #1eaedb;
}

.app-startup-shell {
    align-items: center;
    background:
        radial-gradient(circle at 15% 5%, rgba(240, 185, 11, 0.18), transparent 42%),
        radial-gradient(circle at 80% 90%, rgba(240, 185, 11, 0.12), transparent 30%),
        #222126;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 16px;
}

.app-startup-card {
    border: 1px solid rgba(230, 232, 234, 0.35);
    border-radius: 12px;
    max-width: 420px;
    padding: 32px 24px;
    text-align: center;
    width: 100%;
}

.app-startup-caption {
    color: var(--tw-slate);
    margin-top: 4px;
}

.app-redirect-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 30vh;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    color: #1e2026;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1200;
}

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

.loading-progress {
    display: block;
    height: 8rem;
    inset: 20vh 0 auto;
    margin: 0 auto;
    position: absolute;
    width: 8rem;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    position: absolute;
    text-align: center;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading");
}
