#blazor-error-ui {
    background: #f3f7f5;
    inset: 0;
    overflow: auto;
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 2147483647;
}

.maintenance-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100%;
    padding: 2rem 1rem;
}

.maintenance-card {
    background: #ffffff;
    border: 1px solid rgba(13, 59, 102, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(13, 59, 102, 0.12);
    color: #18352b;
    max-width: 36rem;
    padding: clamp(2rem, 6vw, 3.5rem);
    text-align: center;
    width: 100%;
}

.maintenance-logo {
    display: block;
    height: auto;
    margin: 0 auto 1.5rem;
    max-height: 7rem;
    max-width: min(100%, 18rem);
}

.maintenance-badge {
    background: #e7f2ec;
    border-radius: 999px;
    color: #256145;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    text-transform: uppercase;
}

.maintenance-card h1 {
    color: #0d3b66;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 1rem;
}

.maintenance-card p {
    color: #53645e;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto 1.75rem;
    max-width: 29rem;
}

.maintenance-retry {
    background: #0d3b66;
    border-radius: 0.75rem;
    color: #ffffff;
    display: inline-block;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.maintenance-retry:hover,
.maintenance-retry:focus-visible {
    background: #0b6fa4;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .maintenance-page {
        padding: 1rem;
    }

    .maintenance-card {
        border-radius: 1rem;
        padding: 2rem 1.25rem;
    }
}
