﻿@import url('/dist/main.css');

/* The Telerik theme (imp-telerik.css) is the single source of truth for the
   product font. Plain elements don't receive the theme's class-scoped
   typography rules, so the inheritance root adopts the theme's custom
   property; the fallback stack mirrors the theme value in case the theme
   stylesheet ever fails to load. */
html, body {
    font-family: var(--kendo-font-family, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif);
}

/* FluentUI components read --body-font, which the FluentUI design-token
   system injects at :root via a runtime constructed stylesheet. Constructed
   (adopted) stylesheets cascade after document stylesheets, so a :root rule
   here cannot override it — declaring on body wins instead, because every
   Fluent component inherits the property from body, not :root. */
body {
    --body-font: var(--kendo-font-family);
}

a, .btn-imp-link {
    color: #007bff;
}

    a, .btn-imp-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

.btn-doc-std-dark {
    display: block;
    border-radius: 4px;
    border: none;
    color: white;
    background-color: #261342;
    border-color: #261342;
}
    .btn-doc-std-dark:hover {
        background-color: #6A0F8E;
        border-color: #261342;
        color: white;
    }

    .btn-doc-std-dark:focus {
        box-shadow: 0 0 0 .2rem rgba(106, 15, 142, .2); 
    }

    .btn-doc-std-dark:disabled {
        opacity: 0.6;
    }

.btn-primary {
    color: #fff;
    background-color: #261342;
    border-color: #261342;
}

    .btn-primary:hover {
        background-color: #6a0f8e;
        border-color: #6a0f8e;
    }

input.form-control:active, input.form-control:focus {
    border-color: #ced4da;
    box-shadow: 0 0 0 .2rem rgba(106, 15, 142, .2);
}
.content {
    padding-top: 1.1rem;
}

.btn-detail-action {
    width: 95px;
    line-height: .8;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 99999;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }