@font-face {
    font-family: 'Hellix';
    /* Prefer modern web formats if available (woff2/woff) and fall back to truetype.
       Place font files under wwwroot/assets/fonts and make sure they are deployed. */
    src: url('/assets/fonts/Hellix-Regular.woff2') format('woff2'),
         url('/assets/fonts/Hellix-Regular.woff') format('woff'),
         url('/assets/fonts/Hellix-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ── Fluent UI overrides ─────────────────────────────────────── */
    --fluent-font-family-base: Hellix;
    --fluent-radius-small: 4px;

    /* ── Layout constants ────────────────────────────────────────── */
    --app-header-height: 48px;
    --app-footer-height: 48px;

    /* ── Design system tokens (scycare-his-ui-design reference) ──── */
    --primary:           oklch(0.32 0.08 230);   /* Deep Blue ~#002C3F */
    --primary-fg:        oklch(0.98 0.002 220);
    --background:        oklch(0.985 0.002 220);
    --card:              oklch(1 0 0);
    --card-fg:           oklch(0.145 0.01 220);
    --muted:             oklch(0.98 0.003 220);
    --muted-fg:          oklch(0.52 0.01 220);
    --border:            oklch(0.92 0.005 220);
    --accent:            oklch(0.72 0.14 210);
    --accent-fg:         oklch(0.145 0.01 220);
    --destructive:       oklch(0.577 0.245 27.325);
    --success:           oklch(0.65 0.15 160);
    --info:              oklch(0.60 0.12 240);
    --radius:            0.5rem;

    /* ── Clinical UI tokens ─────────────────────────────────────── */
    --cl-bg:            #eef0f2;
    --cl-surface:       #ffffff;
    --cl-border:        #b8bec6;
    --cl-border-subtle: #dde1e5;
    --cl-text:          #0d1117;
    --cl-text-2:        #4a5568;
    --cl-primary:       #002C3F;
    --cl-accent:        #00C2E7;
    --cl-hover:         rgba(0, 44, 63, 0.06);
    --cl-selected-bg:   #002C3F;
    --cl-selected-text: #ffffff;
    --cl-error:         #c50f1f;
    --cl-error-bg:      #fff0f0;
    --cl-warning:       #8a4b00;
    --cl-warning-bg:    #fff8f0;
    --cl-success:       #107c10;
    --cl-success-bg:    #f0fff4;
}

body {
    margin: 0;
    padding: 0;
    /* Use Hellix if available, fall back to common system fonts */
    font-family: 'Hellix', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

a,
.btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

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

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

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}



h1 {
    font-size: 3.5rem !important;
}

:root p,
:root,
h1 {
    font-family: 'Hellix', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

input {
    outline: none !important;
}


button {
    color: white;
}

.input-field {
    border: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    font-size: .8rem;
    padding: 1rem 1.5rem;
    outline: none;
    width: 100%;
    outline: none !important;
}

.input-field::placeholder {
    color: #595D6E;
}

.input-field:focus {
    outline: none;
}

.input-field.error {
    border: 1px solid #E0E0E0;
}

.field-container:has(.validation-message) .input-field {
    border: 1px solid red;
}

.submit-Button {
    background-color: #002C3F;
    border-radius: 4px;
    font-size: 1rem;
    padding: 1rem 4.625rem;
    color: white;
}

.submit-Button.slim {
    padding: 1rem;
}

.submit-Button:disabled {
    background-color: rgba(0, 44, 63, .3);
    border: none;
    outline: none;
}

.link,
.link:hover,
.link:visited,
.link:active {
    color: #00C2E7;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none !important;
}

.header {
    /* background-color: #002C3F !important; */
    background-color: rgba(217, 217, 217, .24) !important;
    min-height: 3.5rem !important;
    padding: 0;
    border-bottom: 2px solid #fafafa !important;
}

.header .header-gutters[b-wxpnc5dx1o] {
    margin: 0.5rem 0.7rem !important;
}

.main-layout-navmenu {
    background-color: rgba(217, 217, 217, .24);
    height: 100vh;
    min-width: 14rem;
}

.positioning-region {
    background-color: transparent !important;
}

.fluent-nav-link .positioning-region {
    background-color: transparent !important;
}


.status {
    border-radius: 5rem;
    padding: .2rem .8rem;
    width: max-content;
    font-size: 12px;
    height: 1.8rem;
    width: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status.sm {
    padding: .1rem .6rem;
    height: 1.4rem;
    width: 5rem;
}

.status-completed {
    background-color: #BEE7CF;
    color: #05602B;
}

.status-pending {
    background-color: #74788D;
    color: #fff;
}

.status-reviewed {
    background-color: #00C2E7;
    color: #00596A;
}

.status-paid,
.status-processing {
    background-color: #E2B93B;
    color: #614900;
}

.status-cancelled {
    background-color: #EB5757;
    color: #611D1D;
    font-family: Hellix;
}

.request-header {
    font-size: 1.25rem !important;
    color: #002C3F;
    font-weight: 700;
    font-family: Hellix !important;
}

.request-header.sm {
    font-size: 1.1rem !important;
    font-weight: 600;
}

table .column-header:first-child {
    padding-left: .8rem !important;
}

/*tr {
	background-color: green !important;
}*/

.selected-row {
    background-color: #F3F3F3;
}

.menu-button {
    visibility: hidden;
}

table .table-row:hover>.table-row {
    background-color: #F3F3F3;
}

table .table-row:hover>.table-row .menu-button {
    visibility: visible;
}

.section-container {
    border: 1px solid rgba(131, 131, 131, .3);
    border-radius: 5px;
}

/*
* {
	transition: all .3s linear !important;
}*/

.status-button {
    border: none;
}

.change-status .root {
    display: none !important;
}

#datagrid-container {
    height: calc(100% - 3rem);
    min-height: 8rem;
    overflow-x: auto;
    overflow-y: hidden;
}

#datagrid-container article {
    min-height: 32rem;
    max-height: 90dvh;
}

/*.demo-section-content {
	height: calc(100% - 20rem);
}

.demo-section-example {
	min-height: 135px !important;
	height: 100%;
}

fluent-tabs {
	height: 100%;
	background-color: greenyellow !important;
}

#tab-example-autoitemsperpage-panel {
	height: 100% !important;
	max-height: calc(100% - 2rem) !important;
	background-color: greenyellow !important;
}
*/

datagrid-container .paginator {}

input {
    outline: none !important;
}

.test-grid {
    padding: 0 !important;
}

.test-grid:first-child {
    padding-bottom: .7rem !important;
}


.space {
    padding-right: 4rem !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

.fluent-dialog-footer {
    display: none !important;
}

.nhis-flag {
    padding: .2rem .4rem;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: #d4edda;
    color: #28a745;
    font-size: 0.6rem;
}

.nhis-flag.invalid {
    background-color: #f8d7da;
    color: #dc3545;
}

.col-title {
    width: 100% !important;
}

.table-row {
    color: #4a5565;
    font-weight: 500;
}

.patient-container {
    color: #002C3F;
}

.patient-data {
    display: flex;
    gap: .4rem;
    color: oklch(55.1% 0.027 264.364);
    font-weight: 500;
    font-size: .8rem;
}

.circle {
    width: 3px;
    height: 3px;
    display: flex;
    background-color: #6b7280;
    color: #6b7280;
    border-radius: 50%;
}

.patient-id {
    display: flex;
    align-items: center;
    gap: .2rem;
    color: #333 !important;
}

/* Custom Date Column Styles */
.date-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.date-main {}

.date-time {
    color: oklch(55.1% 0.027 264.364);
    font-weight: 500;
    font-size: .8rem;
}

/* Clickable Patient ID Link Styles */
.patient-id-link {
    color: #00C2E7;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
}

.patient-id-link:hover {
    color: #002C3F;
    text-decoration: underline;
}

.patient-id-link:focus {
    outline: none;
    color: #002C3F;
    text-decoration: underline;
}

.patient-id-link:active {
    color: #001A24;
}

/* FluentButton Patient ID Styles - ONLY for patient-id-button class */
FluentButton.patient-id-button,
fluent-button.patient-id-button,
.patient-id-button {
    color: #6b7280 !important;
    font-weight: inherit !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    display: inline !important;
    vertical-align: baseline !important;
}

/* Override FluentUI button internal elements - ONLY for patient-id-button */
FluentButton.patient-id-button .content,
FluentButton.patient-id-button .positioning-region,
FluentButton.patient-id-button .control,
FluentButton.patient-id-button::part(control),
FluentButton.patient-id-button::part(content),
fluent-button.patient-id-button .content,
fluent-button.patient-id-button .positioning-region,
fluent-button.patient-id-button .control,
fluent-button.patient-id-button::part(control),
fluent-button.patient-id-button::part(content),
.patient-id-button .content,
.patient-id-button .positioning-region,
.patient-id-button .control,
.patient-id-button::part(control),
.patient-id-button::part(content) {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    min-width: auto !important;
    display: inline !important;
}

/* FluentUI design tokens - ONLY for patient-id-button */
FluentButton.patient-id-button,
fluent-button.patient-id-button {
    --button-padding-horizontal: 0px !important;
    --button-padding-vertical: 0px !important;
    --button-height: auto !important;
    --button-min-width: auto !important;
    --neutral-fill-rest: transparent !important;
    --neutral-fill-hover: transparent !important;
    --neutral-fill-active: transparent !important;
    --neutral-fill-focus: transparent !important;
    --outline-width: 0px !important;
    --focus-outline-width: 0px !important;
}

/* Hover states - ONLY for patient-id-button */
FluentButton.patient-id-button:hover,
fluent-button.patient-id-button:hover,
.patient-id-button:hover {
    color: #002C3F !important;
    text-decoration: underline !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Focus states - ONLY for patient-id-button */
FluentButton.patient-id-button:focus,
fluent-button.patient-id-button:focus,
.patient-id-button:focus {
    outline: none !important;
    color: #002C3F !important;
    text-decoration: underline !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Active states - ONLY for patient-id-button */
FluentButton.patient-id-button:active,
fluent-button.patient-id-button:active,
.patient-id-button:active {
    color: #001A24 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.table-action {
    position: absolute;
    top: 20%;
    right: 0%;
    /* default: mobile */
}

/* Small tablets */
@media (min-width: 576px) {
    .table-action {
        right: 200%;
    }
}

/* Medium tablets */
@media (min-width: 768px) {
    .table-action {
        right: 300%;
    }
}

/* Laptops */
@media (min-width: 992px) {
    .table-action {
        right: 400%;
    }
}

/* Large desktops */
@media (min-width: 2000px) {
    .table-action {
        right: 500%;
    }
}

.col-title-text {
    color: #717178;
    line-height: 2.8;
    font-weight: 500;
}


.activity+.activity {
    margin-top: 1rem;
}

/* .action-button svg {
    fill: #fff !important;
} */
.popover {
    border-radius: .5rem;
}

.fluent-popover-content {
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5 !important;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    width: 100% !important;
    padding: 0 !important;

}

.popover .fluent-popover-content div[part="header"] {
    font-size: 14px !important;
    border-bottom: 1px solid #E0E0E0 !important;
    padding: .6rem !important;
    margin-bottom: 4px !important;
}

.popover .fluent-popover-content div[part="header"] p {
    margin: 0 !important;
    font-weight: 600 !important;
    color: #002C3F !important;
    line-height: 1 !important;
}

.popover .fluent-popover-content div[part="header"] span {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: oklch(.52 .01 220) !important;
    line-height: 1 !important;
}

.fluent-popover-content div[part="body"][b-qp3z8ghd2d] {
    padding-inline: .6rem !important;
    line-height: 27px;
}

.fluent-popover-content div[part="footer"][b-qp3z8ghd2d] {
    margin-top: 4px !important;
    padding-inline: .6rem !important;
    border-top: 1px solid #E0E0E0 !important;
}

.user-popover-link .content-region {
    display: flex !important;
    gap: 1rem;
}

.user-popover-link:hover {
    background-color: #fafafa;
}

.sign-out-button {
    border: none;
    box-shadow: none;
    outline: none;
    margin-left: -.5rem;
    align-items: center;
    gap: .5rem;
}

.header--search {
    min-width: 24rem !important;
    -color: pink !important;
    overflow: hidden !important;
}

.header--search .root {
    padding-inline: 6rem !important;
    background: red !important;
    height: 2.5rem;

}

.notification-badge {
    left: 50% !important;
    padding: 3px !important
}

.popover .footer-buttton {
    color: #002C3F;
    display: flex;
    justify-content: center;
}

/* .notification-popover {
    width: 400px;
} */


.notification-header {
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    margin-bottom: .2rem;
}

.notification-body {
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    color: oklch(.52 .01 220);
}

.notification-time {
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    color: oklch(.52 .01 220);
}

.dashboard-header {
    font-size: 1.875rem;
    font-weight: 700;
    color: #002C3F;
    margin: 0;
}

.dashboard-description {
    color: #636a6d;
    font-size: 1rem;
    margin-top: .4rem;
}

.icon-background {
    border-radius: 50%;
    padding: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
}

.info-card-container,
.card {
    border: 1px solid rgba(131, 131, 131, .3);
    border-radius: 1rem;
    padding: 1.4rem !important;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.05);
}

.info-card-container {
    width: 100%;
    min-height: 100%;
}

.status-header {
    font-size: .9rem;
    color: #636a6d;
    margin: 0;
}

.status-value {
    font-size: 1.876rem;
    font-weight: 600;
    margin: 0;
    margin-top: 1rem;
}

.file-upload-container {
    border: dashed 2px #C0C0C0 !important;
    min-height: 465px;
    border-radius: .5rem;
    width: 100% !important;
    background-color: white !important;
    display: flex;
    padding: 1rem;
    transition: color .3s ease, border-color .3s ease;
}

.file-upload-container:hover {
    border-color: #595D6E !important;
}

.inputfile-progress {
    position: absolute !important;
}

.fluent-inputfile-container .inputfile-content {
    text-align: start !important;
}

.inputfile-content {
    width: 100%;
    height: 100% !important;
    display: flex !important;
    flex: 1;
    flex-direction: column !important;
    justify-content: space-between !important;
}

#my-file-uploader {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.validation-header {
    font-size: .9rem;
    font-weight: 500;
    color: #1a1919;
    margin: 0;
}

.validation-content {
    margin: 0;
    color: #636a6d;
    font-size: .8rem;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #002C3F;
}

.header-description {
    margin-top: .2rem;
}

.upload-placeholder {
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
}

/* Selected Files Container */
.selected-files-container {
    margin-bottom: 6rem;
}

.selected-files-header {
    margin-bottom: 1.5rem;
}

.selected-files-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1919;
}

.selected-files-description {
    margin: 0.4rem 0 0 0;
    font-size: 0.9rem;
    color: #636a6d;
}

.selected-files-list {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-card {
    /* background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* transition: box-shadow 0.2s ease; */
    background-color: #f9f9f9;
    border-radius: .5rem;
    padding: 0.75rem 1rem;
}

/* .file-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

.file-card-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.file-icon {
    font-size: 1.5rem;
    color: #636a6d;
    flex-shrink: 0;
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    font-weight: 500;
    color: #1a1919;
    font-size: 0.95rem;
}

.file-size {
    font-size: 0.85rem;
    color: #a6a6a6;
}

.remove-file-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.selected-files-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.validate-btn {
    flex: 1;
    min-height: 40px;
    font-weight: 600;
}

.cancel-btn {
    min-height: 40px;
}

.empty-state-icon {
    font-size: 3rem;
    color: #a6a6a6;
    margin-bottom: 1rem;
}


.file-info svg {
    width: 60px !important;
    fill: #a6a6a6 !important;
}

.validation-header {
    width: 100%;
}

.validation-header h1 {
    margin: 0;
    font-size: 1.8rem !important;
    font-weight: 700;
    color: #1a1919;
    text-align: center;
}

.validation-header p {
    margin: 0.4rem 0 0 0;
    font-size: 1rem;
    color: #636a6d;
    text-align: center;
}

.loading-disabled .progress .determinate {
    stroke: #c0c0c0 !important;

}

.results-header h1 {
    font-weight: 800 !important;
    font-size: 2rem !important;
}

.results-header p {
    color: #6c757d;
}


.results-card-success {
    border: 1px solid #006bb750 !important;
    background-color: #006bb705 !important;
    color: #006bb7 !important;
}

.results-card-warning {
    border: 1px solid #ffc10750 !important;
    background-color: #ffc10705 !important;
    color: #ffc107 !important;
}

.results-card-error {
    border: 1px solid #dc354550 !important;
    background-color: #dc354505 !important;
    color: #dc3545 !important;
}



.validation-overview-valid {
    border: 1px solid #28A74550 !important;
    background-color: #28A74510 !important;

    .claim-title {
        color: #28A745 !important;
    }
}

.validation-overview-warning {
    border: 1px solid #ffc10750 !important;
    background-color: #ffc10710 !important;

    .claim-title {
        color: #ffc107 !important;
    }
}

.validation-overview-error {
    border: 1px solid #dc354550 !important;
    background-color: #dc354510 !important;

    .claim-title {
        color: #dc3545 !important;
    }
}

.validation-overview {
    border-radius: .5rem;
    padding: .7rem;
    font-weight: 500;
}

.valid-status {
    color: #28A745 !important;
    border: 1px solid #28A745 !important;


}



.warning-status {
    color: #ffc107 !important;
    border: 1px solid #ffc107 !important;

}

.error-status {
    color: white !important;
    background-color: #dc3545 !important;

}

.validation-overview-status {
    padding: 0rem .5rem;
    border-radius: .5rem;
    font-size: .8rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-tabs-container .horizontal {
    padding: 0 !important;
}

/*
.results-tabs .tablist {
    background-color: greenyellow !important;
} */

.claim-description {
    color: #636a6d;
    font-size: .9rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BOOT OVERLAY — shown during WASM download, hidden by Blazor.start().then()
   ───────────────────────────────────────────────────────────────────────────── */
#blazor-boot-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity 0.3s ease;
}

#blazor-boot-overlay.boot-overlay-hidden {
    opacity: 0;
    pointer-events: none;
}

.boot-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.boot-logo {
    width: 140px;
    opacity: 0.9;
}

.boot-message {
    color: #636a6d;
    font-size: 0.9rem;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SHARED SPINNER — used by boot overlay, reconnect modal, and Authorizing state
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes scycare-spin {
    to { transform: rotate(360deg); }
}

.boot-spinner,
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 44, 63, 0.15);
    border-top-color: #002C3F;
    border-radius: 50%;
    animation: scycare-spin 0.8s linear infinite;
}

/* ─────────────────────────────────────────────────────────────────────────────
   AUTHORIZING STATE (Routes.razor <Authorizing> section)
   ───────────────────────────────────────────────────────────────────────────── */
.loading-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 100;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #636a6d;
    font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RECONNECT MODAL — Blazor Server toggles these classes automatically
   ───────────────────────────────────────────────────────────────────────────── */
#components-reconnect-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #002C3F;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
}

#components-reconnect-modal.components-reconnect-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0392b;
}

#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7f1d1d;
}

.reconnect-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.reconnect-spinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
    border-color: rgba(255,255,255,0.3);
    border-top-color: #ffffff;
}

.reconnect-retry-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.reconnect-retry-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ─────────────────────────────────────────────────────────────────────────────
   GLOBAL ERROR BAR (blazor-error-ui)
   ───────────────────────────────────────────────────────────────────────────── */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fef9c3;
    color: #713f12;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.15);
    align-items: center;
    gap: 0.75rem;
}

#blazor-error-ui .reload {
    font-weight: 600;
    color: #713f12;
}

#blazor-error-ui .dismiss {
    margin-left: auto;
    cursor: pointer;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   REQUIRED FIELD LEGEND (Add New Patient form)
   ───────────────────────────────────────────────────────────────────────────── */
.required-legend {
    font-size: 0.8rem;
    color: #636a6d;
    margin: 0 0 0.5rem;
}

.required-legend span {
    color: var(--error, #d32f2f);
    margin-right: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   AUTH PAGES — Login & Register (MinimalLayout)
   ───────────────────────────────────────────────────────────────────────────── */
.minimal-layout,
.minimal-layout .minimal-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(160deg, #002C3F 0%, #005f86 100%);
    min-height: 100vh;
}

.auth-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.auth-card--wide {
    max-width: 480px;
}

.auth-logo {
    display: block;
    width: 110px;
    margin: 0 auto 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #002C3F;
    text-align: center;
    margin: 0 0 0.375rem;
}

.auth-subtitle {
    color: #636a6d;
    font-size: 0.875rem;
    text-align: center;
    margin: 0 0 1.75rem;
}

.auth-error {
    margin-bottom: 1.25rem;
}

.auth-field {
    margin-bottom: 1.125rem;
}

.auth-submit {
    width: 100%;
    margin-top: 1.5rem;
}

.auth-link-row {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #636a6d;
}

.auth-link {
    color: #002C3F;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NAV — hide section headings when the sidebar is collapsed to icon-only mode
   ───────────────────────────────────────────────────────────────────────────── */
fluent-nav-menu[collapsed] .nav-section-title {
    display: none;
}
