/* ============================================================
   Roboto — self-hosted (@fontsource woff2 files)
   ============================================================ */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto/roboto-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'nerisblack';
    src: url('../fonts/web-fonts/neris/neris-Black-webfont.eot');
    src: url('../fonts/web-fonts/neris/neris-Black-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/web-fonts/neris/neris-Black-webfont.woff') format('woff'),url('../fonts/web-fonts/neris/neris-Black-webfont.ttf') format('truetype'),url('../fonts/web-fonts/neris/neris-Black-webfont.svg#nerisblack') format('svg');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'nerislight';
    src: url('../fonts/web-fonts/neris/neris-Light-webfont.eot');
    src: url('../fonts/web-fonts/neris/neris-Light-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/web-fonts/neris/neris-Light-webfont.woff') format('woff'),url('../fonts/web-fonts/neris/neris-Light-webfont.ttf') format('truetype'),url('../fonts/web-fonts/neris/neris-Light-webfont.svg#nerislight') format('svg');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'nerissemibold';
    src: url('../fonts/web-fonts/neris/neris-SemiBold-webfont.eot');
    src: url('../fonts/web-fonts/neris/neris-SemiBold-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/web-fonts/neris/neris-SemiBold-webfont.woff') format('woff'),url('../fonts/web-fonts/neris/neris-SemiBold-webfont.ttf') format('truetype'),url('../fonts/web-fonts/neris/neris-SemiBold-webfont.svg#nerissemibold') format('svg');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'neristhin';
    src: url('../fonts/web-fonts/neris/neris-Thin-webfont.eot');
    src: url('../fonts/web-fonts/neris/neris-Thin-webfont.eot?#iefix') format('embedded-opentype'),url('/includes/web-fonts/neris/neris-Thin-webfont.woff') format('woff'),url('/includes/web-fonts/neris/neris-Thin-webfont.ttf') format('truetype'),url('/includes/web-fonts/neris/neris-Thin-webfont.svg#neristhin') format('svg');
    font-weight: normal;
    font-style: normal
}

/* ============================================================
   Bootstrap 5 — brand colour overrides
   ============================================================ */
:root {
    --bs-primary:          #0F6BB0;
    --bs-primary-rgb:      15, 107, 176;
    --bs-secondary:        #666666;
    --bs-secondary-rgb:    102, 102, 102;
    --bs-success:          #39B54A;
    --bs-success-rgb:      57, 181, 74;
    --bs-danger:           #c90000;
    --bs-danger-rgb:       201, 0, 0;
    --bs-warning:          #d07d00;
    --bs-warning-rgb:      208, 125, 0;
    --bs-info:             #00BCD4;
    --bs-info-rgb:         0, 188, 212;
    --bs-light:            #F3F3F4;
    --bs-dark:             #272727;
    --bs-body-bg:          #F3F3F4;
    --bs-body-color:       #000;
    --bs-link-color:       #0F6BB0;
    --bs-link-color-rgb:   15, 107, 176;
    --bs-link-hover-color: #0d5d99;
}

body {
    margin: 0;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background-color: #F3F3F4;
}

/* ── Container breakpoints ────────────────────────────────────
   Bootstrap 5 (standard) adds a new XXL tier: ≥1400px → 1320px.
   The old project uses a custom Bootstrap 5 build where:
     • ≥1200px → 1140px  (same as standard)
     • ≥1500px → 1500px  (custom XXL, NOT at 1400px)
   Override the standard 1400px→1320px tier, then add the 1500px tier.
   ─────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}
@media (min-width: 1500px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1500px;
    }
}

/* Bootstrap 5 btn-primary (uses CSS vars but needs explicit override for hover states) */
.btn-primary {
    color: #fff;
    background-color: #0F6BB0;
    border-color: #0C588E;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: #fff;
    background-color: #0C588E;
    border-color: #0a4d7d;
}

/* Bootstrap 5 removed .form-group — keep it working */
.form-group {
    margin-bottom: 1rem;
}

/* Square corners — old project explicitly overrides Bootstrap's 2px default to 0 */
.btn           { border-radius: 0; }
.form-control  { border-radius: 0; border-color: #272727; }
.form-select   { border-radius: 0; border-color: #272727; }
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 0;
}
.input-group > :first-child { border-radius: 0; }

/* Remove Bootstrap 5 focus ring glow (old project had box-shadow: none) */
.btn:focus, .btn:active:focus,
.form-control:focus, .form-select:focus,
.form-check-input:focus {
    box-shadow: none;
}

/* ============================================================
   TUH layout & components — compiled from SCSS modules
   (site.css no longer loaded; Bootstrap 5 via CDN in index.html)
   ============================================================ */

/* --- _header.scss ------------------------------------------ */
.global-header {
    background-color: #0F6BB0;
    border-bottom: 1px solid #fff;
    height: 140px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0.5em 0 1.25em;
}
.global-header #globalLogo { padding-right: 10px; }
.global-header #globalLogo img { width: 90px; }
.global-header .title { font-size: 26px; margin: 0; font-weight: bold; color: #fff; }
.global-header .desc img { height: 45px; }
.global-header .divider:before {
    content: "";
    display: block;
    width: 0.125rem;
    height: 1.375rem;
    background-color: #fff;
}
.bg-red { background-color: #c90000; }
.site-logo {
    text-decoration: none !important;
    background-color: #c90000;
    color: #fff;
    width: 12.5rem;
    height: 6.25rem;
    line-height: 3.75rem;
    display: block;
    text-align: center;
    font-weight: 500;
}
.site-logo img { width: 71%; height: auto; vertical-align: text-top; position: relative; top: 8px; }
.site-logo:hover { color: #fff; }
.global-nav { list-style-type: none; margin: 0; padding: 0; display: flex; font-size: 1.5625rem; }
.global-nav .global-nav-link.active { background-color: #272727; display: flex; height: 100px; padding: 0 30px; }
.global-nav-link { padding: 0 15px; align-items: center; color: #fff; text-decoration: none; }
.global-search { position: relative; background-color: #666; }
.global-search ::-webkit-input-placeholder { color: #fff; }
.global-search :-ms-input-placeholder    { color: #fff; }
.global-search ::placeholder             { color: #fff; }
.global-search input { background-color: transparent; border-color: #666; padding-right: 3.125rem; }
.global-search button { position: absolute; right: 0.3125rem; top: 0; height: 100%; background-color: transparent; border: none; color: #fff; }
.user-dropdown .btn-user { color: #fff; font-size: 1.25rem; }
.user-dropdown:hover .btn-user { text-decoration: none; }
.dash-header { background-color: #000; border-top: 2px solid #666; }
@media (max-width: 991.98px) {
    .global-search { display: none; }
}

/* --- _footer.scss ------------------------------------------ */
.global-footer { color: #666; font-family: nerissemibold; }
.global-footer .clearfix:before,
.global-footer .clearfix:after { content: " "; display: table; }
.global-footer .clearfix:after { clear: both; }
.global-footer .top {
    font-size: 14px;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    padding: 1.5em 0 1.75em;
}
.global-footer i { font-size: 20px; color: #7288CC; margin: 0 12px 8px 0; }
.global-footer h3 { font-weight: bold; font-size: 24px; margin-top: 20px; margin-bottom: 10px; }
.global-footer h4 { font-size: 18px; }
.global-footer .smoke-free img { padding-right: 15px; height: 36px; }
.global-footer .bottom { padding: 1.5em 0; }
.global-footer .bottom ul { color: #666; list-style-type: none; margin: 0; padding: 0; margin-top: 0.5em; }
.global-footer .bottom ul li { position: relative; font-size: 0.8125em; float: left; padding-left: 5px; padding-right: 5px; }
.global-footer .bottom ul li a,
.global-footer .bottom ul li span { padding: 0 0.75em; }
.global-footer .bottom ul li:before { position: absolute; content: "|"; left: 0; top: 0; }
.global-footer .bottom ul li:first-of-type { padding-left: 0; }
.global-footer .bottom ul li:first-of-type span { padding-left: 0; }
.global-footer .bottom ul li:first-of-type:before { content: none; }
.global-footer .bottom .crest img { width: 58px; height: 65px; }
.global-footer .zero-harm p { font-size: 14px; }
.global-footer .zero-harm p:first-of-type {
    color: #EE3C26;
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    margin: 0;
}
a:hover {
    color: #0d5d99;
    text-decoration: underline;
}

a {
    color: #0F6BB0;
    text-decoration: none;
    background-color: transparent;
}
/* --- _formInput.scss --------------------------------------- */
.input-wrapper { position: relative; }
.input-wrapper .input-group-text { background-color: #F3F3F4; border-right: none; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mandatory-msg { font-size: 0.75rem; display: block; width: 100%; text-align: right; }
.active-tooltip .form-control  { width: calc(100% - 40px); display: inline-block; }
.active-tooltip .form-tooltip  { display: inline-block; margin-left: 10px; }
.form-tooltip > div span { position: relative; top: 0.1875rem; font-size: 1.375rem; background-color: #000; border-radius: 7px; }

/* --- TUH layout -------------------------------------------- */
#main {
    border-top: 9px solid #023A63;
    margin-top: 140px;
}

.main-body {
    margin-top: 10px;
    border-radius: 25px;
    background-color: #fff;
    margin-bottom: 2em;
}
.main-body .btn-link:hover { cursor: pointer; }
.main-body h1 { color: #0F6BB0; font-weight: 300; }

/* Stepper component */
.stepper-wrapper {
    padding: 20px 20px 20px 187px;
    background-color: #161717;
}
.stepper {
    margin: 0;
    padding: 0;
    list-style-type: none;
    max-width: 1300px;
    display: flex;
    flex-wrap: nowrap;
}
.stepper .step { flex-basis: 0; flex-grow: 1; max-width: 100%; position: relative; }
.stepper .step + .step { margin-left: 20px; }
.stepper .step .title {
    font-weight: 700;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 2px;
    background-color: #272727;
}
.stepper .step .title.step-current  { background-color: #0F6BB0; }
.stepper .step .title.step-valid,
.stepper .step .title.step-not-valid { background-color: #39B54A; }
.stepper .step .title.step-disabled { background-color: #666; cursor: not-allowed; }

/* Fixed alert overlay */
.fixedAlert {
    z-index: 99999;
    position: fixed;
    top: 10px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 870px;
    max-width: 100%;
}
.fixedAlert.alert-success { border: 2px solid #39B54A; background-color: #fff; color: #39B54A; }
.fixedAlert.alert-warning { border: 2px solid #856404; background-color: #fff; color: #856404; }
.fixedAlert.alert-danger  { border: 2px solid #721c24; background-color: #fff; color: #721c24; }

/* Utility */
.w-1rem { width: 1rem; }
.h-1rem { height: 1rem; }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none;
}

/* Square corners on MudBlazor inputs — match old project's border-radius: 0 */
.mud-input-outlined .mud-input-slot,
.mud-input-outlined fieldset,
.mud-select-input.mud-input-outlined fieldset,
.mud-picker-input.mud-input-outlined fieldset {
    border-radius: 0 !important;
}

/* Dark border — only when not in error state and not focused */
.mud-input-outlined:not(.mud-input-error):not(.mud-focused) fieldset {
    border-color: #272727;
}

/* Error-state outlined border — TUH red.
   MudBlazor 8 uses .mud-input-outlined-border (a class on the fieldset) and sets
   border-color: var(--mud-palette-error) !important. We pin the value explicitly
   so it works even before --mud-palette-error is injected by MudThemeProvider. */
/*.mud-input-outlined-border, .mud-input-error .mud-input-outlined-border {
    border-color: #272727 !important;
    border-width: 1px !important;
}
.mud-input-error .mud-input-outlined-border.mud-focused,
.mud-input-error .mud-input-outlined-border::after,
.mud-input-error .mud-input-outlined-border.mud-focused::after {
    border-color: #4fabf0 !important;
    border-width: 1px !important;
}
.mud-input-error .mud-input-outlined-border.mud-focused,
.mud-input-outlined-border::after,
.mud-input-outlined-border.mud-focused::after {
    border-color: #4fabf0 !important;
    border-width: 1px !important;
}*/
/* Base — unfocused, error and non-error */
.mud-input.mud-input-outlined .mud-input-outlined-border {
    border-color: #272727 !important;
    border-width: 1px !important;
}

/* Focused — override MudBlazor's :focus-within rule */
.mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-color: #4fabf0 !important;
    border-width: 1px !important;
}

/* Error unfocused */
.mud-input-error .mud-input-outlined-border {
    border-color: #272727 !important;
    border-width: 1px !important;
}

/* Error focused */
.mud-input.mud-input-outlined.mud-input-error:focus-within > .mud-input-outlined-border,
.mud-input.mud-input-outlined.mud-input-error:focus-within .mud-shrink > .mud-input-outlined-border {
    border-color: #4fabf0 !important;
    border-width: 1px !important;
}
/* Error helper text — font, colour, spacing */
    .mud-input-helper-text.mud-input-error {
    font-size: 1rem    !important;
    color:     #c90000 !important;
    margin:    0;
    padding:   0;
}

/* Helper-text container — reduce horizontal padding (px-2 → px-1 equivalent) */
.mud-input-control-helper-container {
    padding-left:  0.25rem !important;
    padding-right: 0.25rem !important;
}

/* Hide numeric spin buttons — old form used a plain <input type="number"> */
.mud-input-numeric-spin {
    display: none !important;
}

/* MudBlazor button — match old Bootstrap .btn style exactly */
.mud-button-root.mud-button {
    border-radius:   0 !important;         /* old project: border-radius: 0           */
    text-transform:  none !important;      /* remove MudBlazor's default UPPERCASE     */
    letter-spacing:  normal !important;    /* remove MudBlazor's 0.08929em spacing     */
    font-size:       1rem !important;      /* Bootstrap: 1rem  vs MudBlazor: 0.875rem  */
    font-weight:     400 !important;       /* Bootstrap: 400   vs MudBlazor: 500       */
    padding:         0.375rem 0.75rem !important; /* Bootstrap: 6px 12px vs MudBlazor: 6px 16px */
    line-height:     1.5 !important;       /* Bootstrap: 1.5   vs MudBlazor: 1.75     */
}
.mud-button-root.mud-icon-button {
    border-radius: 0 !important;
}

/* MudTable: remove elevation, match Bootstrap .table-striped appearance */
.mud-table-container {
    box-shadow: none;
    border: none;
}
.mud-table .mud-table-head .mud-table-cell {
    background-color: #e9ecef;
    color: #666;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}
.mud-table .mud-table-body .mud-table-row:nth-child(even) .mud-table-cell {
    background-color: rgba(0, 0, 0, 0.05);
}

.content {
    padding-top: 1.1rem;
}

/* ============================================================
   Validation — match old project (TUH red = #c90000)
   ============================================================ */

/* Blazor EditForm — native valid/invalid outlines */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
.invalid {
    border-color: #c90000 !important;
    outline: none;
}

/* Blazor <ValidationMessage> and <ValidationSummary> items */
.validation-errors {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}
.validation-message {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;  /* matches Bootstrap's invalid-feedback (80% of 1rem) */
    color: #c90000;
}

/* Bootstrap .text-danger — pin to TUH red */
.text-danger {
    color: #c90000 !important;
}

/* Bootstrap .is-invalid — pin border + focus shadow to TUH red */
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #c90000;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #c90000;
    box-shadow: 0 0 0 0.2rem rgba(201, 0, 0, 0.25);
}

/* Bootstrap .invalid-feedback — colour + size matching old project */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #c90000;
}
.is-invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-feedback {
    display: block;
}

/* Bootstrap .alert-danger — match old project (#690000 text / #f4cccc bg) */
.alert-danger {
    color: #690000;
    background-color: #f4cccc;
    border-color: #f0b8b8;
    border-radius: 2px;
    padding: 0.75rem 1.25rem;
}
.alert-danger hr          { border-top-color: #eca3a3; }
.alert-danger .alert-link { color: #360000; }

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            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 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* Fix autofill background in Chrome & Firefox */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px var(--mud-palette-surface) inset !important;
    box-shadow: 0 0 0px 1000px var(--mud-palette-surface) inset !important;
    background-color: var(--mud-palette-surface) !important;
    color: var(--mud-palette-text-primary) !important;
}

.custom-input input {
    background-color: var(--mud-palette-surface) !important;
    color: var(--mud-palette-text-primary) !important;
}

/* ---------------------------------------------------------------
   MudBlazor outlined input height — match Bootstrap .form-control
   Bootstrap: padding 0.375rem top/bottom + font 1rem + line-height
   1.5 + 1px border ×2 = 38px total.
   MudBlazor's own rule (.mud-input-outlined .mud-input-slot.mud-input-root)
   has specificity (0,3,0) so we need (0,4,1) + !important to win.
   --------------------------------------------------------------- */
.mud-input.mud-input-outlined input.mud-input-slot.mud-input-root,
.mud-input.mud-input-outlined div.mud-input-slot.mud-input-root {
    padding:     0.375rem 0.75rem !important;  /* 6px 12px — same as .form-control */
    line-height: 1.5 !important;               /* ensures content height = 24px    */
    height:      auto !important;              /* cancel any fixed height MudBlazor sets */
}
.invoice{
    max-width:345px;
}
.small-input{
    max-width:115px;
}

/*--------------------------------------------mudpicker styles-----------------------------------------------*/

.mud-picker-toolbar {
    height: 45px;
    background-color: #fff!important;
    color: rgb(66, 66, 66);
    margin-top:15px;
}
.mud-picker-datepicker-toolbar .mud-button-year {
    color: rgb(66, 66, 66);
    background-color: #F3F3F4;
    border: 1px solid rgb(66, 66, 66);
    border-radius:3px!important;
}
.mud-picker-datepicker-toolbar .mud-button-year:hover{
    background-color: #d0d0d7;
}
.login-date input {
    background-color: #F3F3F4 !important;
    color: #000!important;
    opacity:1;
}
.login-date .mud-button-root {
    border-right: 1px solid #272727;
    width: 40px;
    height: 36px;
    color: #272727;
    background-color:#fff;
}
.login-date .mud-button-root:hover {
    background-color: #fff;
}
.login-date .mud-button-root .mud-icon-size-medium{
    font-size:1.2rem;
}
.login-date .mud-input.mud-input-outlined.mud-input-adorned-start {
    background-color: #f3f3f4;
}

/*----------------------------------dashboard styles----------------------------------------------------*/

.dashboard .mud-table-head {
    background-color:#fff;
    color:#000;
}
.dashboard .mud-table .mud-table-head .mud-table-cell{
    background-color:#fff;
}
.dashboard .mud-table-head th {
    padding: 0.625rem 1rem !important;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    color: #000 !important;
    font-size: 1rem!important;
    font-weight: 600!important;
    line-height: 1.5!important;
}
.dashboard .mud-table-body {
    background-color: rgba(0, 0, 0, 0.05);
    color:#000;
}
.dashboard .mud-table-body td{
    padding: 0.625rem 1rem!important;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    color:#000!important;
    font-size: 1rem!important;
    font-weight: 400!important;
    line-height: 1.5!important;
}
.dashboard .mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(2n+1) {
    background-color: #f2f2f2;
}
.dashboard .mud-table {
    box-shadow: unset;
    border-radius: 0;
    margin-bottom: 1rem;
}
.logout-btn.mud-button-root.mud-button {
    padding: 0.25rem 0.5rem !important;
}