html, body {
    font-family: Roboto, "Segoe UI", Arial, sans-serif;
    background: #f6f8fc;
    color: #1f1f1f;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 16px 16px;
    z-index: 2000;
    padding: 16px 48px 16px 20px;
    color: #601410;
    background: #fce8e6;
    border: 1px solid #f2b8b5;
    border-radius: 12px;
    box-shadow: 0 4px 20px #1f1f1f14;
}

#blazor-error-ui .reload {
    margin-left: 12px;
    color: inherit;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}

.blazor-error-boundary {
    padding: 20px;
    border-radius: 12px;
    background: #fce8e6;
    color: #601410;
}

.blazor-error-boundary::after {
    content: "Algo deu errado.";
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 25vh 0 auto;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e1e5eb;
    stroke-width: 0.35rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #0b57d0;
    stroke-linecap: round;
    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;
    inset: calc(25vh + 3.25rem) 0 auto;
    text-align: center;
    color: #5f6368;
    font-size: 14px;
}

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

/* The customer app: phone first, one column. */
.customer-appbar {
    padding-top: env(safe-area-inset-top);
}

.customer-logo {
    height: 32px;
    width: auto;
}

.customer-content {
    padding-top: 16px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.customer-brokerage-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    flex-shrink: 0;
}

.customer-code input {
    font-size: 1.5rem;
    letter-spacing: 0.4em;
    text-align: center;
}

/* A policy's details: label and value side by side. */
.customer-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    margin: 0;
}

.customer-facts dt {
    color: #5f6368;
}

.customer-facts dd {
    margin: 0;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.customer-coverage {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e1e5eb;
}

.customer-coverage:last-child {
    border-bottom: 0;
}

.customer-coverage .mud-icon-root {
    margin-top: 3px;
}

/* The 24-hour assistance: what the client needs in a hurry. */
.customer-assistance {
    border: 1px solid #f2b8b5;
    background: #fdf1f0;
}
