:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #141414;
    --border-color: #1f1f1f;
    --accent: #FC5200;
    --accent-hover: #e04a00;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --radius-lg: 16px;
    --radius: 12px;
    --radius-sm: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.navbar-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.navbar-brand-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.navbar-status {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* View toggle (e.g. Stylized / Classic on map page) — rendered into navbar via SectionOutlet */
.view-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.25rem;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.35rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.view-toggle-btn:hover {
    color: var(--text-primary);
}

.view-toggle-btn.active {
    background: var(--accent);
    color: #ffffff;
}

/* Hero */
.hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    max-width: 640px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title em {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Strava Button */
.btn-strava {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.2s;
}

.btn-strava:hover {
    opacity: 0.85;
}

.btn-strava img {
    height: 48px;
    display: block;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-number.accent {
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Section Arrow */
.section-arrow {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
}

.section-arrow svg {
    width: 24px;
    height: 24px;
}

/* Features */
.features {
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    max-width: 960px;
    margin: 0 auto;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.features-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: left;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======================================================
   Statistics page
   ====================================================== */

.stats-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}

/* Header */
.stats-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    margin-bottom: 0;
}

.stats-title em {
    color: var(--accent);
    font-style: italic;
}

/* Progress hero card */
.progress-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* Donut chart */
.donut-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    height: 160px;
}

.donut-svg {
    display: block;
}

.donut-track {
    fill: none;
    stroke: var(--bg-secondary);
    stroke-width: 10;
}

.donut-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 10;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.donut-pct {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.donut-pct-sign {
    font-size: 1.25rem;
    color: var(--accent);
}

.donut-sub {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}

/* Vertical divider between donut and stats */
.hero-divider {
    width: 1px;
    height: 100px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Hero stat columns */
.progress-hero-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-stat {
    padding: 0.625rem 0;
}

.hero-stat-sep {
    height: 1px;
    background: var(--border-color);
}

.hero-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-stat-number.accent {
    color: var(--accent);
}

.hero-stat-number.dim {
    color: var(--text-secondary);
}

.hero-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Countries */
.stats-countries-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stats-country-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.stats-country-block:hover {
    border-color: rgba(252, 82, 0, 0.25);
}

.stats-country-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stats-country-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-country-flag {
    font-size: 2.5rem;
    line-height: 1;
}

.stats-country-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.stats-country-sub {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.stats-country-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.stats-country-pct {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
}

.completed-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
}

/* Progress bar */
.stats-progress-track {
    background: var(--bg-secondary);
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.stats-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff7d45);
    border-radius: 999px;
    transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 4px;
}

/* Province heat grid */
.heat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.5rem;
}

.heat-cell {
    border: 1px solid rgba(252, 82, 0, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    transition: border-color 0.2s, transform 0.15s;
    cursor: default;
}

.heat-cell:hover {
    border-color: rgba(252, 82, 0, 0.4);
    transform: translateY(-1px);
}

.heat-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.375rem;
}

.heat-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
}

.heat-pct {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 0.375rem;
}

.heat-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.heat-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
}

.heat-count {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* Achievements section */
.achievements {
    margin-bottom: 2rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.875rem;
}

.achievement {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, transform 0.2s;
}

.achievement:hover {
    transform: translateY(-2px);
}

.achievement.gold {
    border-color: rgba(251, 191, 36, 0.25);
}
.achievement.gold:hover {
    border-color: rgba(251, 191, 36, 0.55);
}

.achievement.orange {
    border-color: rgba(252, 82, 0, 0.25);
}
.achievement.orange:hover {
    border-color: rgba(252, 82, 0, 0.55);
}

.achievement.teal {
    border-color: rgba(45, 212, 191, 0.25);
}
.achievement.teal:hover {
    border-color: rgba(45, 212, 191, 0.55);
}

.ach-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement.gold .ach-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.achievement.orange .ach-icon {
    background: rgba(252, 82, 0, 0.12);
    color: var(--accent);
}

.achievement.teal .ach-icon {
    background: rgba(45, 212, 191, 0.12);
    color: #2dd4bf;
}

.ach-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ach-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ach-name {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ach-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Responsive – statistics */
@media (max-width: 640px) {
    .progress-hero {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }

    .hero-divider {
        width: 100%;
        height: 1px;
    }

    .progress-hero-stats {
        width: 100%;
    }

    .hero-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }

    .hero-stat-number {
        font-size: 1.5rem;
        order: 2;
    }

    .hero-stat-label {
        font-size: 0.875rem;
        margin-top: 0;
        order: 1;
    }

    .stats-title {
        font-size: 2rem;
    }

    .heat-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .stats-country-pct {
        font-size: 1.75rem;
    }
}

@media (max-width: 400px) {
    .heat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Back button (statistics page) */
.back-wrapper {
    margin-top: 1.5rem;
}

.btn-back {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
    transition: color 0.2s, border-color 0.2s;
}

.btn-back:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ======================================================
   Footer
   ====================================================== */

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

.footer-brand-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.footer-brand-icon svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.footer-powered img {
    height: 20px;
    display: block;
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Country Selection */
.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.country-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
    color: var(--text-primary);
}

.country-card:hover:not(:disabled) {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.country-card:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.country-flag {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.country-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.sync-status {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* Statistics link */
.statistics-link-wrapper {
    text-align: center;
    padding: 1rem 2rem 0;
}

.btn-statistics {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.btn-statistics:hover:not(:disabled) {
    background: var(--accent);
    color: white;
}

.btn-statistics:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-dev-sync {
    background: transparent;
    border: 1px dashed #525252;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    margin-top: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-dev-sync:hover:not(:disabled) {
    color: var(--text-secondary);
    border-color: var(--text-muted);
}

.btn-dev-sync:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Logout */
.logout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.btn-logout:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* Delete Account */
.btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: inherit;
}

.btn-danger-outline:hover {
    border-color: #ef4444;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
}

.delete-confirm {
    margin-top: 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.delete-confirm p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.delete-confirm-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-danger {
    background: #dc2626;
    border: 1px solid #dc2626;
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-family: inherit;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.btn-cancel {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.btn-cancel:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* Footer links */
.footer-legal {
    text-align: center;
    margin-top: 0.75rem;
}

.footer-link {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-secondary);
}

/* Notification */
.notification-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--accent);
}

/* Loading */
.loading-wrapper {
    text-align: center;
    padding: 8rem 1.5rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .country-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .stats {
        gap: 2rem;
    }

    .navbar {
        padding: 1rem;
    }

    .navbar-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Blazor Infrastructure */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    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: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.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: #262626;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #f97316;
            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: #a3a3a3;
}

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

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}