/* Base/Blazor system styles. Theme lives in css/site.css; fonts in css/fonts.css. */

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

.rtl-form {
    direction: rtl;
}

h1:focus,
h1:focus-visible,
h2:focus,
h2:focus-visible {
    outline: none;
}

.not-found {
    text-align: center;
    padding: 3rem 1rem;
}

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

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

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background-color: #fff3cd;
    border: 1px solid #e7dcc4;
    border-radius: 14px;
    padding: 1rem;
    color: #7a4a1f;
}

.blazor-error-boundary::after {
    content: "خطایی رخ داد. لطفاً صفحه را تازه‌سازی کنید.";
}

#blazor-error-ui {
    display: none;
}
