/* ==========================================================================
   BUMP — marketing site
   ==========================================================================

   Design tokens are copied VERBATIM from the mobile app's palette at
   src/Bump.Mobile/Resources/Styles/Colors.xaml. Bump.Web cannot reference
   Bump.Mobile, so these are maintained by hand — the hex values are recorded
   here exactly as they appear there, so a mismatch is a one-line grep rather
   than a mystery. If a colour is retuned in Colors.xaml, retune it here too.

   The contrast ratios noted in that file were validated against those exact
   values; do not "improve" a colour here in isolation.
   ========================================================================== */

@font-face {
    /* The same files the app ships, self-hosted: no third-party request from a
       page that takes payments, and provably the same typeface as the product. */
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens — light
   -------------------------------------------------------------------------- */

:root {
    --bump-primary: #0B9938;
    --bump-primary-dark: #08762C;
    --bump-primary-light: #2AAE54;
    --bump-primary-soft: #E7F5EC;
    --bump-secondary: #DFD8F7;
    --bump-danger: #C75444;

    --bump-background: #FFFFFF;
    --bump-surface: #F7F9F8;
    --bump-surface-variant: #EEF3F0;
    --bump-text-primary: #1F1F1F;
    --bump-text-secondary: #4F4F4F;
    --bump-text-disabled: #9E9E9E;
    --bump-divider: #E1E1E1;

    /* The hero is deliberately dark in BOTH schemes. Car culture happens at
       dawn and after dark, and a single committed hero surface is what stops
       the site reading as two different products to two different visitors. */
    --bump-hero-bg: #121212;
    --bump-hero-text: #FFFFFF;
    --bump-hero-muted: #C8C8C8;

    /* The page-header band borrows the hero's stage but cannot borrow its rule about
       staying #121212 in both schemes. The hero gets away with it because it is tall and
       is followed by cards on a different surface. The band is short and sits directly on
       body copy, so in dark mode an identical colour makes it disappear — the visitor sees
       a hairline and a smudge of green instead of a header. It lifts just enough to hold
       its own edge. See the dark block below. */
    --bump-band-bg: var(--bump-hero-bg);

    --bump-measure: 68ch;
    --bump-radius: 14px;
    --bump-radius-sm: 8px;
    --bump-gutter: clamp(1.25rem, 5vw, 4rem);
    --bump-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 8px 24px rgb(0 0 0 / 6%);
    --bump-shadow-lift: 0 2px 4px rgb(0 0 0 / 8%), 0 16px 40px rgb(0 0 0 / 10%);
}

/* --------------------------------------------------------------------------
   Tokens — dark. Mirrors the app's dark palette so the two surfaces read as
   one product when someone moves between them.
   -------------------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
    :root {
        --bump-primary: #2AAE54;
        --bump-primary-dark: #0B9938;
        --bump-primary-light: #2AAE54;
        --bump-primary-soft: #14351F;

        --bump-background: #121212;
        --bump-surface: #1A1A1A;
        --bump-surface-variant: #242424;
        --bump-text-primary: #FFFFFF;
        --bump-text-secondary: #C8C8C8;
        --bump-text-disabled: #7A7A7A;
        --bump-divider: #2C2C2C;

        /* Lifted off the #121212 page rather than matching it, so the band still reads as a
           band. Deliberately above --bump-surface (#1A1A1A) so it does not read as a card. */
        --bump-band-bg: #1F1F1F;

        --bump-shadow: none;
        --bump-shadow-lift: none;
    }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.65;
    color: var(--bump-text-primary);
    background: var(--bump-background);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.022em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); }
h3 { font-size: 1.1875rem; }

p { margin: 0 0 1.1em; }

a {
    color: var(--bump-primary-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

@media (prefers-color-scheme: dark) {
    a { color: var(--bump-primary-light); }
}

a:hover { color: var(--bump-primary); }

:focus-visible {
    outline: 2px solid var(--bump-primary);
    outline-offset: 3px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Chrome — header and footer
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem var(--bump-gutter);
    background: color-mix(in srgb, var(--bump-background) 82%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bump-divider);
}

.site-header__mark {
    /* inline-flex + line-height:0 so the link box is the artwork and nothing else — otherwise
       the inline baseline leaves a few stray pixels under the mark and the focus ring floats. */
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.site-header__mark img {
    display: block;
    /* Height-driven, width auto: the wordmark is 3:1, so sizing on width would make it grow
       taller than the header on wide screens. The file is 360x121 and the intrinsic size is on
       the tag, so the row is reserved before the image lands and the header does not jump.

       These numbers are larger than they look. Both masters carry transparent padding — the ink
       is 335x92 inside the 360x121 canvas — so the mark renders about 76% of the height set
       here, and sizing to the canvas would leave it visibly undersized next to the nav button.
       The padding is why the files are not trimmed: light and dark share a byte-identical ink
       box, so the scheme swap can never shift the mark by a pixel. */
    height: clamp(1.95rem, 1.7rem + 0.75vw, 2.4rem);
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.75rem);
    font-size: 0.9375rem;
}

.site-nav a {
    color: var(--bump-text-secondary);
    text-decoration: none;
}

.site-nav a:hover { color: var(--bump-text-primary); }

/* The header instance of .button is a nav control, not a page CTA. Left with the hero's padding
   it stands half the height of the header, and the moment "Become a member" wraps -- which it
   does well before phone widths -- the vertical padding applies to a two-line box and the pill
   balloons. nowrap is the half that matters: the smaller padding alone would still blob out one
   breakpoint later. */
.site-nav .button {
    padding: 0.55em 1.15em;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Account menu — the signed-in half of the nav, in the slot the "Become a
   member" button occupies for everyone else.

   This block must stay AFTER the .site-nav rules above. `.site-nav a` and
   `.account__menu a` have identical specificity, so source order is the only
   thing deciding which colour the menu items take.
   -------------------------------------------------------------------------- */

.account {
    position: relative;
}

.account__trigger {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0.45rem 0.25rem 0.25rem;
    border-radius: 999px;
    color: var(--bump-text-primary);
    cursor: pointer;
    /* Both halves of hiding the default disclosure triangle: list-style covers
       Firefox and modern Chrome, the pseudo-element covers Safari. */
    list-style: none;
}

.account__trigger::-webkit-details-marker { display: none; }

.account__trigger:hover { background: var(--bump-surface-variant); }

.account__avatar {
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    /* A remote avatar of unknown aspect must not arrive as an oval. The background
       shows through while it loads, so the row never collapses. */
    object-fit: cover;
    background: var(--bump-surface-variant);
}

.account__avatar--initials {
    display: grid;
    place-items: center;
    background: var(--bump-primary);
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.account__name {
    /* Long display names must not push the nav around. */
    max-width: 12ch;
    overflow: hidden;
    font-size: 0.9375rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account__menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 20;
    min-width: 15rem;
    padding: 0.5rem;
    border: 1px solid var(--bump-divider);
    border-radius: var(--bump-radius-sm);
    background: var(--bump-surface);
    /* The shadow token is none in dark mode, which is why the border is not
       optional: it is all that separates the panel from the page there. */
    box-shadow: var(--bump-shadow-lift);
    text-align: left;
}

.account__who {
    margin: 0;
    padding: 0.4rem 0.6rem 0.55rem;
    border-bottom: 1px solid var(--bump-divider);
    font-size: 0.8125rem;
    color: var(--bump-text-secondary);
}

.account__who strong {
    display: block;
    color: var(--bump-text-primary);
    font-weight: 600;
    /* An email-shaped display name has no spaces to break at. */
    overflow-wrap: anywhere;
}

.account__menu a,
.account__menu button {
    display: block;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.55rem 0.6rem;
    border: 0;
    border-radius: var(--bump-radius-sm);
    background: none;
    color: var(--bump-text-primary);
    font: inherit;
    font-size: 0.9375rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account__menu a:hover,
.account__menu button:hover {
    background: var(--bump-surface-variant);
    color: var(--bump-text-primary);
}

.account__menu form { margin: 0; }

@media (max-width: 30rem) {
    /* Avatar only: on a narrow screen the name is the first thing that can go. */
    .account__name { display: none; }
}

.site-main { flex: 1; }

.site-footer {
    margin-top: 5rem;
    padding: 2.5rem var(--bump-gutter) 3rem;
    border-top: 1px solid var(--bump-divider);
    background: var(--bump-surface);
    color: var(--bump-text-secondary);
    font-size: 0.9375rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.site-footer a {
    color: var(--bump-text-secondary);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--bump-text-primary);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) var(--bump-gutter);
}

.wrap--prose {
    max-width: var(--bump-measure);
}

/* Following a .page-header, the band has already supplied the breathing room a
   full wrap would add again. */
.wrap--after-header {
    padding-top: clamp(2rem, 4vw, 3.25rem);
}

/* --------------------------------------------------------------------------
   Hero — the one piece of real personality. A dark stage with the brand green
   thrown across it like underglow, rendered entirely in CSS so it costs no
   image request and stays sharp at any size.
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--bump-hero-bg);
    color: var(--bump-hero-text);
    padding: clamp(4rem, 12vw, 9rem) var(--bump-gutter) clamp(5rem, 13vw, 10rem);
    text-align: center;
}

.hero::before {
    /* The glow. Offset below centre so it reads as light thrown up from the
       ground rather than a spotlight from above. */
    content: '';
    position: absolute;
    inset: -40% -20% auto;
    height: 150%;
    z-index: -2;
    background:
        radial-gradient(60% 50% at 50% 72%, rgb(11 153 56 / 42%), transparent 70%),
        radial-gradient(38% 34% at 22% 32%, rgb(223 216 247 / 12%), transparent 70%);
}

.hero::after {
    /* A fine grid, faded out toward the edges. Reads as tarmac markings at a
       glance and gives the flat colour something to sit on. */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 78%);
}

.hero__inner {
    position: relative;
    max-width: 46rem;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 0.35em;
    letter-spacing: -0.03em;
}

.hero__subhead {
    font-size: clamp(1.0625rem, 0.95rem + 0.7vw, 1.4rem);
    color: var(--bump-hero-muted);
    margin: 0 auto 2.25rem;
    max-width: 34rem;
}

.hero .button { font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Page header — what the prose pages get instead of the hero.

   Same dark stage, same green thrown across it, so /about never reads as a
   different site from /. Everything else is deliberately different: the band is
   short rather than tall, the text is left-aligned to the measure it
   introduces rather than centred, the glow rakes in low from the left instead
   of rising through the middle, and the tarmac grid gives way to hatching. The
   visitor should recognise the family and still know which kind of page they
   are standing on.
   -------------------------------------------------------------------------- */

.page-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(2.75rem, 7vw, 4.5rem) var(--bump-gutter) clamp(2.5rem, 6vw, 3.75rem);
    background: var(--bump-band-bg);
    color: var(--bump-hero-text);
    /* The hero bleeds straight into white; this band sits above body copy, so it
       gets a hairline to land on rather than a hard colour break. */
    border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(72% 145% at 6% 100%, rgb(11 153 56 / 38%), transparent 68%),
        radial-gradient(32% 62% at 94% 0%, rgb(223 216 247 / 10%), transparent 70%);
}

.page-header::after {
    /* Hazard hatching, and near-invisible on purpose: enough to catch the light
       on a wide screen, never enough to compete with the title sitting on it. */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: repeating-linear-gradient(135deg,
        rgb(255 255 255 / 5%) 0 2px,
        transparent 2px 14px);
    mask-image: linear-gradient(105deg, #000 4%, transparent 60%);
}

.page-header__inner {
    /* Same measure as the prose below, so the title and the first paragraph
       share a left edge instead of nearly sharing one. */
    max-width: var(--bump-measure);
    margin: 0 auto;
}

.page-header h1 {
    margin: 0;
    /* Smaller than the hero's h1 on purpose — a page title, not a billboard. */
    font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
    letter-spacing: -0.028em;
}

.page-header__deck {
    margin: 0.55em 0 0;
    max-width: 46ch;
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    color: var(--bump-hero-muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
    display: inline-block;
    padding: 0.85em 1.9em;
    border: 0;
    border-radius: 999px;
    background: var(--bump-primary);
    color: #FFFFFF;
    font: inherit;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.button:hover {
    background: var(--bump-primary-light);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgb(11 153 56 / 34%);
}

.button:active { transform: translateY(0); }

/* Checkout disables this button for the whole of tokenization — a network round trip, and an
   interactive challenge when the card needs one. Without a disabled state that reads as nothing
   happening, so the buyer clicks Pay again. The :hover rule above still matches a disabled
   button, so the lift and shadow have to be unwound here or the thing still looks live. */
.button:disabled,
.button:disabled:hover {
    background: var(--bump-text-disabled);
    color: var(--bump-background);
    transform: none;
    box-shadow: none;
    cursor: progress;
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.25rem;
}

.feature {
    position: relative;
    padding: 2rem 1.6rem 1.7rem;
    border: 1px solid var(--bump-divider);
    border-radius: var(--bump-radius);
    background: var(--bump-surface);
    box-shadow: var(--bump-shadow);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature::before {
    /* A short accent rule rather than a full top border — less boxed-in, and it
       gives the card a reading direction. */
    content: '';
    position: absolute;
    top: 0;
    left: 1.6rem;
    width: 2.5rem;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--bump-primary);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--bump-shadow-lift);
    border-color: color-mix(in srgb, var(--bump-primary) 40%, var(--bump-divider));
}

.feature h2 {
    font-size: 1.1875rem;
    margin-bottom: 0.4em;
}

.feature p {
    margin: 0;
    color: var(--bump-text-secondary);
}

/* --------------------------------------------------------------------------
   The offer — price, plan, checkout
   -------------------------------------------------------------------------- */

.offer {
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
}

/* The catalogue on /upgrade. Plans sit side by side while each still gets a readable column
   and stack once they cannot. The gap does both jobs: gutter between columns, and the
   breathing room between stacked plans that was missing when they ran straight into each
   other. Checkout and its confirmation reuse .offer for a single centred block and never
   get this wrapper. */
.offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* Descriptions run to different lengths, so in a row the buttons would stagger. A column
   flex with the button pushed to the bottom keeps every call to action on one line. */
.offers > .offer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offers > .offer .button { margin-top: auto; }

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.4em;
    font-size: clamp(2.5rem, 1.6rem + 3.4vw, 3.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--bump-text-primary);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--bump-text-secondary);
}

.checkout-card {
    max-width: 30rem;
    margin: 2rem auto 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--bump-divider);
    border-radius: var(--bump-radius);
    background: var(--bump-surface);
    box-shadow: var(--bump-shadow);
    text-align: left;
}

#card-container {
    min-height: 90px;
    margin-bottom: 1rem;
}

.checkout-card .button {
    width: 100%;
    text-align: center;
}

.error {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--bump-radius-sm);
    border-left: 3px solid var(--bump-danger);
    background: color-mix(in srgb, var(--bump-danger) 10%, var(--bump-background));
    color: var(--bump-text-primary);
    font-size: 0.9375rem;
}

.error:empty { display: none; }

.notice {
    max-width: var(--bump-measure);
    margin: 0 auto;
    color: var(--bump-text-secondary);
}

/* --------------------------------------------------------------------------
   Status pages — sign-in failed, 404, unhandled error.

   The pages nobody plans to see, which is exactly why they were the last ones
   still rendering as raw browser defaults: no container at all, so the copy sat
   flush against the window edge under an h1 taking the global clamp all the way
   to 4.5rem — a size meant for the hero, not for an apology.

   Centred, held to a readable width, with a soft wash of the brand green behind
   the heading. Same family as the hero and the page header; a third of the
   intensity, because the visitor is here to recover from something, not to be
   sold to.
   -------------------------------------------------------------------------- */

.status {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 10vw, 7rem) var(--bump-gutter);
    text-align: center;
}

.status::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Anchored to the top edge so the glow sits behind the heading rather than
       behind the buttons. color-mix keeps it correct in both schemes: the token
       it draws from is already scheme-aware. */
    background: radial-gradient(46% 62% at 50% 0%,
        color-mix(in srgb, var(--bump-primary) 15%, transparent),
        transparent 72%);
}

.status__inner {
    max-width: 34rem;
    margin: 0 auto;
}

.status h1 {
    margin-bottom: 0.45em;
    font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
}

.status p { color: var(--bump-text-secondary); }

.status__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.status__detail {
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--bump-text-disabled);
}

.status__detail code {
    padding: 0.15em 0.45em;
    border-radius: 4px;
    background: var(--bump-surface-variant);
    color: var(--bump-text-secondary);
}

/* --------------------------------------------------------------------------
   Prose — the pages the marketing director writes freely
   -------------------------------------------------------------------------- */

.prose > :first-child { margin-top: 0; }

.prose h2 {
    margin-top: 2.2em;
    font-size: 1.5rem;
}

.prose h3 { margin-top: 1.8em; }

.prose ul,
.prose ol { padding-left: 1.35em; }

.prose li { margin-bottom: 0.4em; }

.prose blockquote {
    margin: 1.6em 0;
    padding: 0.2em 0 0.2em 1.2em;
    border-left: 3px solid var(--bump-primary);
    color: var(--bump-text-secondary);
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bump-radius-sm);
}

.prose code {
    padding: 0.15em 0.4em;
    border-radius: 4px;
    background: var(--bump-surface-variant);
    font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   Motion. Everything above is a transition rather than an animation, but a
   visitor who has asked for less movement should get none of it.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   Blazor framework styles — kept from the template
   -------------------------------------------------------------------------- */

h1:focus { outline: none; }

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    background: #ffffe0;
    box-shadow: 0 -1px 2px rgb(0 0 0 / 20%);
    color: #1F1F1F;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    cursor: pointer;
}
