:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17223b;
    background: #f3f6fb;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at top left, #e3edff, transparent 38rem), #f3f6fb;
}

button {
    font: inherit;
}

.auth-card {
    width: min(100% - 2rem, 42rem);
    margin: clamp(2rem, 10vh, 7rem) auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #e1e7f0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem #25375912;
}

.eyebrow {
    margin: 0 0 .75rem;
    color: #435f9d;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
}

h1 {
    margin: 0;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    letter-spacing: -.04em;
}

.intro {
    margin: .75rem 0 1.75rem;
    color: #62708a;
    line-height: 1.6;
}

.notice {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid transparent;
    border-radius: .8rem;
    line-height: 1.5;
}

.notice p {
    margin: .35rem 0 0;
}

.notice.success {
    color: #145b3b;
    border-color: #bce8d0;
    background: #edfbf3;
}

.notice.warning {
    color: #744b08;
    border-color: #f2d99b;
    background: #fff9e9;
}

.notice.neutral, .status {
    color: #394967;
    border-color: #dce5f3;
    background: #f5f8fd;
}

.status {
    padding: 1rem;
    border-radius: .8rem;
}

.profile {
    margin: 1.5rem 0;
    padding-top: .5rem;
}

.profile h2 {
    margin: 0 0 .75rem;
    font-size: 1.1rem;
}

.profile p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin: 0;
    padding: .8rem 0;
    border-bottom: 1px solid #edf0f5;
}

.profile span {
    color: #68758e;
}

.profile strong {
    overflow-wrap: anywhere;
    text-align: right;
}

.button {
    min-height: 2.8rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: .65rem;
    cursor: pointer;
    font-weight: 700;
}

.button:focus-visible {
    outline: 3px solid #809df0;
    outline-offset: 3px;
}

.button.primary {
    color: #fff;
    background: #244eaa;
}

.button.secondary {
    color: #24395f;
    border: 1px solid #d6deeb;
    background: #fff;
}

code {
    overflow-wrap: anywhere;
}

#blazor-error-ui {
    display: none;
}
