html, body {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    height: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #007CBE;
    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;
    opacity: 0.4;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.ui-error-alert {
    align-items: center;
    background: #fff4f2;
    border: 1px solid #c62828;
    border-radius: 4px;
    color: #7f1d1d;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1rem 1.5rem 0;
    padding: 0.75rem 1rem;
}

.ui-error-alert p {
    margin: 0;
}

.ui-error-alert-dismiss {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 0.25rem;
    white-space: nowrap;
}

/* Shared Access Elements and SKU status filters. */
.status-filters {
    display: flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.status-btn {
    padding: 0.45rem 0.9rem;
    border: none;
    background: #FFFFFF;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6B7280;
    font-family: 'Roboto', sans-serif;
    border-right: 1px solid #D1D5DB;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1.4;
}

.status-btn:last-child {
    border-right: none;
}

.status-btn:hover {
    background-color: #F0F9FF;
    color: #007CBE;
}

.status-btn.status-active {
    background-color: #007CBE;
    color: #FFFFFF;
    font-weight: 600;
}
