
@import 'main.css';
@import 'component.css';
@import 'igm.css';

:root {
	--popover-secondary-menu-icon-color: #4a6fa5
}
/*
	--fill-header-background:#000;
       	--fill-color:#efefef;
	--dialog-padding: calc(var(--design-unit) * 3 * 1px);
	--dialog-background: #fff;
	--accent-base-color: red;
	--accent-base-color-msg: #feb3b3;
	--neutral-fill-stealth-rest: #EFEFEF;
	--neutral-stroke-control-rest:#000;
	--neutral-stroke-hover: #F7F7F7;
	--neutral-fill-rest:#f0f1f3;

	--neutral-fill-shadow: #333333;
	--neutral-fill-section: #afafaf;	
	--neutral-fill-hover: #bdbdbd;
	--accent-fill-rest:#0B57D0;
	--accent-fill-hover:#EFEFEF;
	--accent-fill-active:#0B57D0;
	--accent-fill-focus:#d1cfe9;

	--accent-foreground-rest: #0B57D0;
	--accent-foreground-hover: #e2dff2;
	--accent-foreground-active: #a2dcf2;
	--accent-foreground-focus: #d1cfe9;


*/
html:root {
	--density 2;
	--body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
	--popover-secondary-menu-icon-color: #4a6fa5;
	--dialog-background: #fff;

	--btn-none-background:#EfEFEF;
	--btn-none-bottom-color:blue;
	--btn-main-background:#EfEFEF;
	--btn-main-bottom-color:green;

	--btn-close-background:#EfEFEF;
	--btn-close-bottom-color:red;
	--btn-hover-bottom-color: #000;

	--btn-lookup-ico-fill: #00204f;
	--btn-lookup-text-none:#7c7c7c;

	--base-height-multiplier: 8;
	--density: 0;
	--fill-header-background:#ffffff;
	--riskcolor-brightness:90%;
	--tab-filter-btm-color:#D6D6D6;
	--tab-filter-btm-color-active: #000;

	--dlg-container-bckg: #FFF;
	--dlg-container-hdr: #ebebe9;
	--dlg-container-title: #323130;
	--dlg-content: #323130;
	--dlg-padding: calc(var(--design-unit) * 1px);

	--navmenu-fill-stealth-rest:#EFEFEF;
	--navmenu-fill-hover:#bdbdbd;
        --form-section-line1:#afafaf;
	--msg-bg-color:#ed8585;
	--msg-text-color: #484848;}

/* 

	--accent-base-color-msg: #754242;
	--neutral-fill-stealth-rest: #272727;
	--neutral-stroke-control-rest:#fff;
	--neutral-stroke-hover: #383838;
	--neutral-stroke-input-rest: linear-gradient(#595959 calc(100% - 1px), #929292 calc(100% - 1px), #fff);
	--neutral-fill-rest:#333333;
	--neutral-fill-shadow: #333333;
	--neutral-fill-section:#9e9e9e;

	--neutral-fill-hover: #373737;
	--accent-base-color: #ff1616;
	--accent-fill-rest:#d1cfe9;
	--accent-fill-hover:#e2dff2;
	--accent-fill-active:#C9605F;
	--accent-fill-focus:#d1cfe9;
	--accent-foreground-rest: #484848;
	--accent-foreground-hover: #e2dff2;
	--accent-foreground-active: #a2dcf2;
	--accent-foreground-focus: #d1cfe9;
    color: var(--neutral-foreground-rest);
    background-color: var(--neutral-fill-layer-rest);

*/

body[data-theme="dark"], body[data-theme="system-dark"] {
	--foreground-on-accent-rest:#FFF;
	--msg-bg-color:#754242;
	--msg-text-color: #484848;
	--fill-header-background:#1a1a2e;
	--popover-secondary-menu-icon-color: #8ab4f8;
	--dialog-padding: calc(var(--design-unit) * 3 * 1px);
	--dialog-background: #333333;
	--btn-none-background:#333333;
	--btn-save-background:#333333;
	--btn-main-background:#333333;
	--btn-close-background:#333333;
	--btn-none-bottom-color:#0a49bb;
	--btn-main-bottom-color: green;
	--btn-close-bottom-color:#9b210e;
	--btn-hover-bottom-color: #fff;
	--btn-lookup-ico-fill: #7c7c7c;
	--btn-lookup-text-none:#7c7c7c;

	--fill-color:#efefef;


	--riskcolor-brightness:50%;
	--tab-filter-btm-color:#272727;
	--tab-filter-btm-color-active: #FFF;

	--dlg-container-bckg: #333333;
	--dlg-container-hdr: #33333;
	--dlg-container-title: #FFF;
	--dlg-content: #FFF;
	--dlg-padding: calc(var(--design-unit) * 1px);
	--navmenu-fill-rest: #333333;
	--navmenu-fill-stealth-rest: #272727;
	--navmenu-fill-hover: #373737;
	--accent-foreground-active: #a2dcf2;

	--neutral-foreground-rest: #FFF;
	--neutral-fill-stealth-rest :#272727;
        --form-section-line:#9e9e9e;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    font-weight: var(--font-weight);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Dark theme: header & sidebar overrides */
body[data-theme="dark"] #appHeader,
body[data-theme="system-dark"] #appHeader {
	border-bottom-color: #333;
}

body[data-theme="dark"] #appHeader a,
body[data-theme="system-dark"] #appHeader a {
	color: #8ab4f8;
}

body[data-theme="dark"] #appHeader a:hover,
body[data-theme="system-dark"] #appHeader a:hover {
	color: #aecbfa;
}

body[data-theme="dark"] #appTitle,
body[data-theme="system-dark"] #appTitle {
	color: #8ab4f8;
}

body[data-theme="dark"] #appDesc,
body[data-theme="system-dark"] #appDesc {
	color: #9aa0a6;
}

body[data-theme="dark"] .lang-link,
body[data-theme="dark"] .link-top,
body[data-theme="system-dark"] .lang-link,
body[data-theme="system-dark"] .link-top {
	color: #8ab4f8 !important;
}

body[data-theme="dark"] .lang-link:hover,
body[data-theme="dark"] .link-top:hover,
body[data-theme="system-dark"] .lang-link:hover,
body[data-theme="system-dark"] .link-top:hover {
	color: #aecbfa !important;
}

body[data-theme="dark"] .lang-active,
body[data-theme="system-dark"] .lang-active {
	color: #fff !important;
	border-bottom-color: #fff;
}

/* Dark theme: sidebar container */
body[data-theme="dark"] .nav-menu-roles,
body[data-theme="system-dark"] .nav-menu-roles {
	background-color: #1e1e2e !important;
	color: rgba(255,255,255,0.85) !important;
	border-right-color: #333;
}
body[data-theme="dark"] .nav-menu-roles .fluent-nav-text,
body[data-theme="system-dark"] .nav-menu-roles .fluent-nav-text {
	color: rgba(255,255,255,0.85);
}
body[data-theme="dark"] .nav-menu-roles .fluent-nav-group .fluent-nav-text,
body[data-theme="system-dark"] .nav-menu-roles .fluent-nav-group .fluent-nav-text {
	color: rgba(255,255,255,0.45);
}
body[data-theme="dark"] .nav-menu-roles .fluent-nav-icon,
body[data-theme="system-dark"] .nav-menu-roles .fluent-nav-icon {
	fill: rgba(255,255,255,0.6) !important;
}
body[data-theme="dark"] .nav-menu-roles .fluent-nav-link > .positioning-region:hover,
body[data-theme="system-dark"] .nav-menu-roles .fluent-nav-link > .positioning-region:hover {
	background-color: rgba(255,255,255,0.08) !important;
}
body[data-theme="dark"] .nav-menu-roles .fluent-nav-link.active .fluent-nav-icon,
body[data-theme="system-dark"] .nav-menu-roles .fluent-nav-link.active .fluent-nav-icon {
	fill: #fff !important;
}

/* Dark theme: sidebar user header */
body[data-theme="dark"] .user-header-light,
body[data-theme="system-dark"] .user-header-light {
	background-color: #2a2a3e;
	border-bottom-color: #3a3a4e;
}

body[data-theme="dark"] .user-avatar-light,
body[data-theme="system-dark"] .user-avatar-light {
	background-color: #3a3a5e;
}

body[data-theme="dark"] .user-name-light,
body[data-theme="system-dark"] .user-name-light {
	color: #e8eaed;
}

body[data-theme="dark"] .user-role-light,
body[data-theme="system-dark"] .user-role-light {
	color: #9aa0a6;
}

body[data-theme="dark"] .refresh-btn-light,
body[data-theme="system-dark"] .refresh-btn-light {
	border-color: #4a4a5e;
}

body[data-theme="dark"] .refresh-btn-light:hover,
body[data-theme="system-dark"] .refresh-btn-light:hover {
	background-color: #3a3a5e;
	border-color: #8ab4f8;
}

/* Dark theme: role filter buttons */
body[data-theme="dark"] .role-filter-buttons,
body[data-theme="system-dark"] .role-filter-buttons {
	border-bottom-color: #3a3a4e;
}

body[data-theme="dark"] .role-filter-btn span,
body[data-theme="system-dark"] .role-filter-btn span {
	color: #9aa0a6;
}

body[data-theme="dark"] .role-filter-btn:hover,
body[data-theme="system-dark"] .role-filter-btn:hover {
	background-color: #3a3a5e;
	border-color: #4a4a5e;
}

body[data-theme="dark"] .role-filter-btn.active,
body[data-theme="system-dark"] .role-filter-btn.active {
	background-color: #1a2a4a;
	border-color: #8ab4f8;
}

body[data-theme="dark"] .role-filter-btn.active span,
body[data-theme="system-dark"] .role-filter-btn.active span {
	color: #8ab4f8;
}

body[data-theme="dark"] .role-filter-page-btn,
body[data-theme="system-dark"] .role-filter-page-btn {
	border-color: #4a4a5e;
	color: #9aa0a6;
}

body[data-theme="dark"] .role-filter-page-btn:hover,
body[data-theme="system-dark"] .role-filter-page-btn:hover {
	background-color: #1a2a4a;
	border-color: #8ab4f8;
	color: #8ab4f8;
}

/* Dark theme: nav badge */
body[data-theme="dark"] .nav-badge,
body[data-theme="system-dark"] .nav-badge {
	background-color: #1a2a4a !important;
	color: #8ab4f8 !important;
}

/* Dark theme: main content area */
body[data-theme="dark"] .content,
body[data-theme="system-dark"] .content {
	background-color: #1a1a2e;
}

body[data-theme="dark"] .fluent-data-grid,
body[data-theme="system-dark"] .fluent-data-grid {
	background-color: #1e1e2e !important;
	border-color: #333 !important;
}

body[data-theme="dark"] .fluent-data-grid-row,
body[data-theme="system-dark"] .fluent-data-grid-row {
	border-color: #333 !important;
}

body[data-theme="dark"] .fluent-data-grid-row:hover,
body[data-theme="system-dark"] .fluent-data-grid-row:hover {
	background-color: rgba(255,255,255,0.04) !important;
}

body[data-theme="dark"] .fluent-data-grid-cell,
body[data-theme="system-dark"] .fluent-data-grid-cell {
	border-color: #333 !important;
}

body[data-theme="dark"] .grid-paginator,
body[data-theme="system-dark"] .grid-paginator {
	color: rgba(255,255,255,0.7);
}

body[data-theme="dark"] .status-badge.status-neutral,
body[data-theme="system-dark"] .status-badge.status-neutral {
	background-color: #2a2a3e !important;
	color: #9aa0a6 !important;
}

/* Dark theme: dialog & form components (AirFrame) */
body[data-theme="dark"] .dialog-container,
body[data-theme="system-dark"] .dialog-container {
	background-color: #2a2a3e !important;
	border-color: #444 !important;
	color: #e8eaed;
}

body[data-theme="dark"] .dialog-header,
body[data-theme="system-dark"] .dialog-header {
	background-color: #1e1e2e !important;
	border-bottom-color: #444 !important;
}

body[data-theme="dark"] .dialog-title,
body[data-theme="system-dark"] .dialog-title {
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-content,
body[data-theme="system-dark"] .dialog-content {
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-close-button,
body[data-theme="system-dark"] .dialog-close-button {
	color: #9aa0a6 !important;
}

body[data-theme="dark"] .dialog-close-button:hover,
body[data-theme="system-dark"] .dialog-close-button:hover {
	color: #fff !important;
}

body[data-theme="dark"] .process-content,
body[data-theme="system-dark"] .process-content {
	background-color: #1e1e2e !important;
}

body[data-theme="dark"] .form-body,
body[data-theme="system-dark"] .form-body {
	background-color: #2a2a3e !important;
	border-color: #444 !important;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.3) !important;
	--fill-color: #2a2a3e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-input-hover: #252538;
	--neutral-fill-input-active: #1a1a2e;
	--neutral-fill-input-focus: #1a1a2e;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	--neutral-stroke-hover: #777;
}

/* FluentUI dialog wrapper (fluent-dialog-main) */
body[data-theme="dark"] .fluent-dialog-main,
body[data-theme="system-dark"] .fluent-dialog-main {
	--fill-color: #2a2a3e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-input-hover: #252538;
	--neutral-fill-input-active: #1a1a2e;
	--neutral-fill-input-focus: #1a1a2e;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
}

body[data-theme="dark"] .fluent-dialog-main,
body[data-theme="system-dark"] .fluent-dialog-main {
	background-color: #2a2a3e !important;
	color: #e8eaed !important;
}

body[data-theme="dark"] .fluent-dialog-header,
body[data-theme="system-dark"] .fluent-dialog-header {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-bottom: 1px solid #444 !important;
}

body[data-theme="dark"] .fluent-dialog-body,
body[data-theme="system-dark"] .fluent-dialog-body {
	background-color: #2a2a3e !important;
	color: #e8eaed !important;
}

body[data-theme="dark"] .fluent-dialog-footer,
body[data-theme="system-dark"] .fluent-dialog-footer {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-top: 1px solid #444 !important;
}

/* FluentUI form input controls inside dialogs and forms - dark mode */
body[data-theme="dark"] .dialog-container fluent-text-field,
body[data-theme="system-dark"] .dialog-container fluent-text-field,
body[data-theme="dark"] .form-body fluent-text-field,
body[data-theme="system-dark"] .form-body fluent-text-field {
	--fill-color: #1e1e2e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-input-hover: #252538;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-container fluent-text-area,
body[data-theme="system-dark"] .dialog-container fluent-text-area,
body[data-theme="dark"] .form-body fluent-text-area,
body[data-theme="system-dark"] .form-body fluent-text-area {
	--fill-color: #1e1e2e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-input-hover: #252538;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-container fluent-select,
body[data-theme="system-dark"] .dialog-container fluent-select,
body[data-theme="dark"] .form-body fluent-select,
body[data-theme="system-dark"] .form-body fluent-select {
	--fill-color: #1e1e2e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-rest: #1e1e2e;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-container fluent-combobox,
body[data-theme="system-dark"] .dialog-container fluent-combobox,
body[data-theme="dark"] .form-body fluent-combobox,
body[data-theme="system-dark"] .form-body fluent-combobox {
	--fill-color: #1e1e2e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-rest: #1e1e2e;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	color: #e8eaed !important;
}

body[data-theme="dark"] .dialog-container fluent-number-field,
body[data-theme="system-dark"] .dialog-container fluent-number-field,
body[data-theme="dark"] .form-body fluent-number-field,
body[data-theme="system-dark"] .form-body fluent-number-field {
	--fill-color: #1e1e2e;
	--neutral-fill-input-rest: #1e1e2e;
	--neutral-fill-input-hover: #252538;
	--neutral-foreground-rest: #e8eaed;
	--neutral-stroke-rest: #555;
	color: #e8eaed !important;
}

/* Picklist (native select wrapper) dark mode */
body[data-theme="dark"] .form-field.form-lookup,
body[data-theme="system-dark"] .form-field.form-lookup {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

body[data-theme="dark"] .form-field.form-lookup select,
body[data-theme="system-dark"] .form-field.form-lookup select {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

body[data-theme="dark"] .picklist-container select,
body[data-theme="system-dark"] .picklist-container select {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

/* Form data grid (empty state message) */
body[data-theme="dark"] .form-body .grid-container,
body[data-theme="system-dark"] .form-body .grid-container {
	background-color: #1a1a2e !important;
	color: #9aa0a6 !important;
}

/* ===== FluentUI Shadow DOM overrides via ::part() - Dark Mode ===== */
/* fluent-text-field */
body[data-theme="dark"] fluent-text-field::part(control),
body[data-theme="system-dark"] fluent-text-field::part(control),
body[data-theme="dark"] fluent-text-field::part(field),
body[data-theme="system-dark"] fluent-text-field::part(field) {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

body[data-theme="dark"] fluent-text-field:hover::part(control):not(:disabled),
body[data-theme="system-dark"] fluent-text-field:hover::part(control):not(:disabled),
body[data-theme="dark"] fluent-text-field:hover::part(field):not(:disabled),
body[data-theme="system-dark"] fluent-text-field:hover::part(field):not(:disabled) {
	background-color: #252538 !important;
	border-color: #777 !important;
	box-shadow: 0 0 0 0.5px #666 !important;
}

body[data-theme="dark"] fluent-text-field:focus-within::part(control):not(:disabled),
body[data-theme="system-dark"] fluent-text-field:focus-within::part(control):not(:disabled),
body[data-theme="dark"] fluent-text-field:focus-within::part(field):not(:disabled),
body[data-theme="system-dark"] fluent-text-field:focus-within::part(field):not(:disabled) {
	background-color: #1a1a2e !important;
	border-color: #5b9bd5 !important;
	box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.3) !important;
}

body[data-theme="dark"] fluent-text-field::part(control)::placeholder,
body[data-theme="system-dark"] fluent-text-field::part(control)::placeholder {
	color: #888 !important;
}

body[data-theme="dark"] fluent-text-field::part(control):read-only,
body[data-theme="system-dark"] fluent-text-field::part(control):read-only,
body[data-theme="dark"] fluent-text-field[readonly]::part(control),
body[data-theme="system-dark"] fluent-text-field[readonly]::part(control) {
	background-color: #252538 !important;
	border-color: #444 !important;
	color: #9aa0a6 !important;
}

body[data-theme="dark"] fluent-text-field.required::part(control),
body[data-theme="system-dark"] fluent-text-field.required::part(control) {
	background-color: #1e1e2e !important;
}

/* fluent-text-area */
body[data-theme="dark"] fluent-text-area::part(control),
body[data-theme="system-dark"] fluent-text-area::part(control),
body[data-theme="dark"] fluent-text-area::part(field),
body[data-theme="system-dark"] fluent-text-area::part(field) {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

body[data-theme="dark"] fluent-text-area:hover::part(control):not(:disabled),
body[data-theme="system-dark"] fluent-text-area:hover::part(control):not(:disabled) {
	background-color: #252538 !important;
	border-color: #777 !important;
	box-shadow: 0 0 0 0.5px #666 !important;
}

body[data-theme="dark"] fluent-text-area:focus-within::part(control):not(:disabled),
body[data-theme="system-dark"] fluent-text-area:focus-within::part(control):not(:disabled) {
	background-color: #1a1a2e !important;
	border-color: #5b9bd5 !important;
	box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.3) !important;
}

body[data-theme="dark"] fluent-text-area::part(control)::placeholder,
body[data-theme="system-dark"] fluent-text-area::part(control)::placeholder {
	color: #888 !important;
}

/* fluent-select / fluent-combobox / fluent-number-field */
body[data-theme="dark"] fluent-select::part(control),
body[data-theme="system-dark"] fluent-select::part(control),
body[data-theme="dark"] fluent-select::part(listbox),
body[data-theme="system-dark"] fluent-select::part(listbox),
body[data-theme="dark"] fluent-combobox::part(control),
body[data-theme="system-dark"] fluent-combobox::part(control),
body[data-theme="dark"] fluent-combobox::part(listbox),
body[data-theme="system-dark"] fluent-combobox::part(listbox),
body[data-theme="dark"] fluent-number-field::part(control),
body[data-theme="system-dark"] fluent-number-field::part(control) {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

/* Native select in form-field */
body[data-theme="dark"] .form-field select,
body[data-theme="system-dark"] .form-field select {
	background-color: #1e1e2e !important;
	color: #e8eaed !important;
	border-color: #555 !important;
}

body[data-theme="dark"] .form-toolbar,
body[data-theme="system-dark"] .form-toolbar {
	background-color: #1e1e2e !important;
}

body[data-theme="dark"] .form-section-label,
body[data-theme="system-dark"] .form-section-label {
	color: #8ab4f8 !important;
	border-bottom-color: #8ab4f8 !important;
	background-color: transparent !important;
}

body[data-theme="dark"] .form-label,
body[data-theme="system-dark"] .form-label {
	color: #8ab4f8 !important;
}

body[data-theme="dark"] .form-cell-msg,
body[data-theme="system-dark"] .form-cell-msg {
	background-color: #4a2020 !important;
	border-color: #7a3030 !important;
	color: #f8b4b4 !important;
}

body[data-theme="dark"] .form-field,
body[data-theme="system-dark"] .form-field {
	background-color: #333 !important;
	color: #e8eaed !important;
}

body[data-theme="dark"] .form-button,
body[data-theme="system-dark"] .form-button {
	border-color: #555 !important;
}

body {
	/*
	--body-font: "Segoe UI Variable", "Segoe UI", sans-serif !important;
	--accent-fill-rest: #000;
	--neutral-fill-stealth-rest: #e8e8e8;
	--fill-color: #efefef;
	font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
	*/
	margin: 0;
	padding: 0;
	height: 100vh;
	font-family: var(--body-font);
	font-size: var(--type-ramp-base-font-size);
	line-height: var(--type-ramp-base-line-height);
	font-weight: var(--font-weight);
	color: var(--neutral-foreground-rest);
	background: var(--neutral-fill-layer-rest);
}

.content {
	align-self: stretch !important;
	width: 100%;
}

.col-justify-center .col-title {

    background-color: #272727 !important;
	background-color: var(--btn-main-background) !important;
	border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)!important; ;
	border-radius: calc(var(--control-corner-radius) * 1px) ;
	color: var(--neutral-foreground-rest);
}
.col-justify-start .col-sort-button::part(control) {
    background-color: #333333 !important;

	background-color: var(--btn-main-background) !important;
	border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)!important; ;
	border-radius: calc(var(--control-corner-radius) * 1px) ;
	color: var(--neutral-foreground-rest);
}

th {
    background-color: var(--neutral-fill-stealth-rest,#272727); !important;
}

.stealth
{ 
}
fluent-dialog[modal]::part(control) 
{
    background-color: var(--dialog-background);
    border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)!important;
    border-radius: calc(var(--control-corner-radius) * 1px)!important;;
}



.main-layout {
	height: 100vh;
	overflow: hidden;
}

.main-layout > .layout {
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}

.navmenu {
	display: inline-block;
}

.sitenav {
	overflow-y: auto;
	height: 100%;
}

.navmenu-icon {
	display: none;
}

#appHeader {
	background-color: var(--fill-header-background) !important;
	cursor: default;
	border-bottom: 1px solid #e0e0e0;
	min-height: 56px;
}

#appHeader .stack-horizontal {
	align-items: center !important;
	flex-wrap: nowrap;
	overflow: hidden;
}

	#appHeader a {
		color: #4a6fa5;
		text-decoration: none;
		font-weight: 500;
	}

		#appHeader a:hover {
			color: #1a3a6b;
		}

#appMenu > .app-link {
	margin: 0 0.5rem;
}

#appBrand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 1em;
	min-width: 0;
	flex-shrink: 1;
}

#appLogo {
	height: 36px;
	width: auto;
	flex-shrink: 0;
}

#appBrandText {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

#appTitle, #appDesc {
	overflow: hidden;
	text-overflow: ellipsis;
}

#appTitle {
	color: #2b5797;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

#appDesc {
	color: #555555;
	font-weight: 400;
	font-size: 0.72rem;
	white-space: nowrap;
}


.popover-secondary-menu a {
	color: var(--neutral-foreground-rest)!important;
}

	.popover-secondary-menu a:hover {
		color: #ff8000 !important;
	}

.page-header {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	max-width: 1000px;
	margin-top: 1em;
	margin-bottom: 1.5em;
	font-size: 28px;
	font-weight: bold;
}

.page-center {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	max-width: 1000px;
	margin-top: 30px;
}

.empty-content-cell {
	border: 0 !important;
}

.error {
	color: red;
}

.main {
	flex: 1;
	min-height: 0;
	color: var(--neutral-foreground-rest);
	align-items: stretch !important;
	overflow: hidden;
}

.body-content {
	align-self: stretch;
	flex: 1;
	min-height: 0;
	display: flex;
	overflow-y: auto;
}


.manage {
	width: 100dvw;
}

footer {
	background: var(--neutral-layer-4);
	color: var(--neutral-foreground-rest);
	align-items: center;
	padding: 10px 10px;
}

	footer a {
		color: var(--neutral-foreground-rest);
		text-decoration: none;
	}

		footer a:focus {
			outline: 1px dashed;
			outline-offset: 3px;
		}

		footer a:hover {
			text-decoration: underline;
		}

.role-selector-table table {
  border: 1px solid black;
}
.role-selector-table th {
  border: 1px solid black;
  padding: 5px 10px;
}
.role-selector-table td {
  border: 1px solid black;
  padding: 5px 10px;
  text-align: center;
}

.disabled-black {
  --disabled-opacity: 1;
}

.disabled-black .form-disabled {
  color: black;
  border-color: #e5e5e5;
}

#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: 1000;
	margin: 20px 0;
}

	#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::before {
		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;
}



.lang-list {
	display: inline-block;
	min-width: 120px;
}

.lang-link, .link-top {
	text-decoration: none !important;
	font-size: 0.8rem;
	color: #4a6fa5;
	cursor: pointer;
	text-transform: uppercase;
	margin-left: 8px !important;
	margin-right: 8px !important;
	font-weight: bold;
}

.lang-link:hover, .link-top:hover {
	color: #1a3a6b !important;
}

.lang-active {
	color: #2b5797 !important;
	text-decoration: none !important;
	font-size: 0.8rem;
	cursor: default;
	font-weight: bold;
	border-bottom: solid 2px #2b5797;
	text-transform: uppercase;
	margin-left: 8px !important;
	margin-right: 8px !important;
}

.mpass-button {
  border: 2px solid #099cc1;
  background-color: #1aa2c2;
  border-radius: 5px;
  cursor: pointer;
  padding: 0.8em 1.2em 0.8em 1em;
  transition: all ease-in-out 0.2s;
  color: #fff;
  font-weight: 600;
	font-size: 16px;
	margin-top:1em;
	width:320px;
}

.mpass-button:hover {
  background-color: #027590;
	border-color: #027590;
}

.mpass-logo {
	background-image: url(images/mpass-logo64.png);
	height: 64px;
	width: 208px;
	display: inline-block;
	margin-bottom:10px
}

.ico {
	display: inline-block;
	position: relative;
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.75rem;
	background-size: cover;
}

.ico-person {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.ico-Status-1 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300FF00' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm1.5 11.5H6.5v-1h3v1Zm0-2.5H6.5V4h3v5Z'/%3E%3C/svg%3E");
}

/* ===== Responsive Header ===== */

/* Medium screens: tighten spacing */
@media (max-width: 1200px) {
	#appBrand {
		gap: 8px;
		margin-left: 0.5em;
	}
	#appLogo {
		height: 32px;
	}
	.lang-list {
		min-width: 90px;
	}
	.lang-link, .link-top, .lang-active {
		font-size: 0.72rem;
		margin-left: 5px !important;
		margin-right: 5px !important;
	}
	#appMenu > .app-link {
		margin: 0 0.3rem;
		font-size: 0.8rem;
	}
}

/* Smaller screens: hide subtitle, shrink further */
@media (max-width: 1024px) {
	#appDesc {
		display: none;
	}
	#appTitle {
		font-size: 0.8rem;
	}
	#appLogo {
		height: 28px;
	}
	#appBrand {
		gap: 6px;
		margin-left: 0.3em;
	}
	.link-top {
		font-size: 0.68rem;
		max-width: 140px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.nav-menu-roles {
		width: 240px;
	}
}

/* Compact screens: minimal header */
@media (max-width: 850px) {
	#appTitle {
		font-size: 0.72rem;
	}
	#appLogo {
		height: 24px;
	}
	#appBrand {
		gap: 4px;
		margin-left: 0.2em;
	}
	.lang-list {
		min-width: 70px;
	}
	.lang-link, .link-top, .lang-active {
		font-size: 0.65rem;
		margin-left: 3px !important;
		margin-right: 3px !important;
	}
	.link-top {
		max-width: 100px;
	}
	#appMenu > .app-link {
		margin: 0 0.2rem;
		font-size: 0.72rem;
	}
	#appHeader {
		min-height: 46px;
	}
	.nav-menu-roles {
		width: 210px;
	}
}

@media (max-width: 600px) {
	.header-gutters {
		margin: 0.5rem 3rem 0.5rem 1.5rem !important;
	}

	[dir="rtl"] .header-gutters {
		margin: 0.5rem 1.5rem 0.5rem 3rem !important;
	}

	.main {
		flex-direction: column !important;
		row-gap: 0 !important;
	}

	nav.sitenav {
		width: 100%;
		height: 100%;
	}

	#main-menu {
		width: 100% !important;
	}

		#main-menu > div:first-child:is(.expander) {
			display: none;
		}

	.navmenu {
		width: 100%;
	}

	#navmenu-toggle {
		appearance: none;
	}

		#navmenu-toggle ~ nav {
			display: none;
		}

		#navmenu-toggle:checked ~ nav {
			display: block;
		}

	.navmenu-icon {
		cursor: pointer;
		z-index: 10;
		display: block;
		position: absolute;
		top: 15px;
		left: unset;
		right: 20px;
		width: 20px;
		height: 20px;
		border: none;
	}

	[dir="rtl"] .navmenu-icon {
		left: 20px;
		right: unset;
	}
}

.status-badge {
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .status-1 {background: #dcfce7;color: #166534; }
        
        .status-5 {background: #fee2e2; color: #991b1b; }
        
        .status-2 { background: #fef3c7; color: #92400e;  }

        .status-Risk1 {background: green;color: #fff; filter: brightness(var(--riskcolor-brightness)) }
        .status-Risk2 {background: #fde93d; color: #92400e;  filter: brightness(var(--riskcolor-brightness)) }
        .status-Risk3 {background: #b51818; color: #fff; filter: brightness(var(--riskcolor-brightness)) }

/* : - (Pills) */
.filter-pills {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
        
.pill {
            padding: 8px 16px;
            border: 1px solid #e1dfdd;
            border-radius: 20px;
            background: white;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
            color: #323130;
        }
        
.pill:hover {   background: #f3f2f1;    }
.pill.active {background: #0078d4;  color: white;   border-color: #0078d4;    }
.pill .count {
            margin-left: 6px;
            opacity: 0.8;
            font-weight: 600;
        }
/* : Tabs */
.filter-tabs {
            display: flex;
            gap: 0;
            margin-bottom: 4px;
            border-bottom: 2px solid var(--neutral-stroke-rest, #d6d6d6);
        }
.filter-tabs-compact {     }

.tab {
            padding: 12px 24px;
            border: none;
            background: none;
            cursor: pointer;
            font-size: 14px;
            color: #605e5c;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
            transition: all 0.2s;
        }
        
.tab:hover { color: #ff8000;  }
.tab.active { color: var(--accent-foreground-color);  border-bottom-color: var(--accent-foreground-active);  font-weight: 600;    }
.tab.active::before {
    content: "";
    display: none;
    position: absolute;
    right: unset;
    width: 3px;
    height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) / 2) * 1px);
    background: var(--accent-foreground-active)!important;
    border-radius: calc(var(--control-corner-radius) * 1px) !important;
	margin: 2px 1px 1px -10px;
    z-index: 5;
}
.fluent-nav-icon {
     fill: var(--accent-foreground-rest,#000 ) !important;
}
.notactive{ font-weight:700 !important; }

/*
#Incidents-SetInProgressButton { font-weight:700;
border: solid 1px black;

}

#Incidents-SetInProgressButton::before {
  content: '\25';          
  font-size: 14px;       
padding-top:6px;
  margin-right: 3px;     
  line-height: 1;
  display: inline-block;
}
*/

/* Toast notifications above all dialogs */
fluent-toast-provider {
    z-index: 999999 !important;
}