html, body {
    margin: 0;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #2a1810;
    color: #e8dcc4;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #5c1a1a;
    padding: 1rem;
    color: #e8dcc4;
}

.mason-panel {
    background: rgba(10, 22, 40, 0.65);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 0.5rem;
}

.flip-scene {
    perspective: 1200px;
}

.flip-inner {
    position: relative;
    width: 100%;
    min-height: 14rem;
    transition: transform 0.55s ease;
    transform-style: preserve-3d;
}

.flip-inner.is-flipped {
    transform: rotateY(180deg);
}

.flip-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-back {
    transform: rotateY(180deg);
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: rgba(232, 220, 196, 0.2);
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #c9a227;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: #e8dcc4;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #c9a227;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #2d6a4f;
}

.invalid {
    outline: 1px solid #9b2226;
}

.validation-message {
    color: #ff8a80;
}
