/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -3rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: #1b6ec2;
    color: #fff;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0.5rem;
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

/* Blazor error UI */
#blazor-error-ui {
    display: none;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Validation (used by Identity/forms) */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    color: white;
    padding: 1rem 1rem 1rem 3.7rem;
}

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