/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/
:root {
    --menu-width: 9.5rem;
}

.iz-sidebar {
    width: calc(var(--menu-width) + 25px);
    background-color: var(--menu-color-1);
    z-index: 1019 !important;
    min-height: calc(100vh - 45px);
}

.sidebar-logo > img {
    margin: 4px auto 20px auto;
    display: block;
    max-height: 140px;
    max-width: 140px;
}

#nav_accordion {
    min-width: var(--menu-width);
    max-width: var(--menu-width);
    background-color: var(--menu-color-2);
}

#nav_accordion > li {
    border-bottom: solid 1px var(--menu-color-1);
    margin-bottom: 1px;
}

#nav_accordion ul {
    list-style-type: none; /*turn off bullets*/
    padding-left: 1rem; /*reduce the bootstrap default */
}

#nav_accordion > li.nav-item:not(.sub-item) {
    background-color: var(--menu-color-3);
}

#nav_accordion > li.nav-item:not(.sub-item):not(:first-of-type) {
        margin-top: 1px;
}

#nav_accordion a.nav-link {
    padding: 4px 12px 4px 12px;
    color: var(--menu-font-color) !important;
    font-size: calc(var(--bs-body-font-size) + 1px);
}

    #nav_accordion a.nav-link:focus,
    #nav_accordion a.nav-link:hover {
        color: var(--menu-font-color) !important;
    }

    #nav_accordion a.menu-active,
    #nav_accordion a.nav-link:hover {
        text-decoration: underline;
        text-underline-color: var(--menu-font-color) !important;
    }

a.nav-link[role='button'][aria-expanded='false']:not(.no-icon)::after {
        font-family: "Font Awesome 6 Free";
        content: "\f0fe" / "Plus sign inside a box";
        float: right;
        margin-right: 2px;
        color: var(--menu-font-color) !important;
        padding: 0;
        margin-bottom: 0;
        line-height: 1;
        font-size: 16px;
        opacity: .6;
    }

a.nav-link[role='button'][aria-expanded='true']:not(.no-icon)::after {
        font-family: "Font Awesome 6 Free";
        content: "\f146" / "Minus sign inside a box";
        float: right;
        margin-right: 2px;
        color: var(--menu-font-color) !important;
        padding: 0;
        margin-bottom: 0;
        line-height: 1;
        font-size: 16px;
        opacity: .6;
    }

/* Note: :not(.nav-tab) is used exclude the buttons that will be inside a tab list control tab */
.nav-link:not(.nav-tab) {
    background-color: var(--menu-color-3);
}

.layout-copyright {
    color: var(--menu-font-color) !important;
    background-color: var(--menu-color-3);
}

    .layout-copyright a {
        height: 25px;
        display: block;
    }

#leftNavProviderInfo > span {
    color: var(--menu-font-color) !important;
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

/*
    This file is where we will override all the Bootstrap 5 CSS variables
    with the WebIZ ones.
    --iz-* variable values will be in a "theme" file 
*/
:root {
    --menu-font-color: #ffffff;
    --form-switch-focus-color: var(--bs-gray-800);
    --bs-danger-text-emphasis: var(--error-color);
    --sticky-top:  45px;
}

/* Global override styles that cannot be done with CSS variables. */
/* This is to override the hard-coded outline:0 in the Bootstrap files */
* {
    outline: revert !important;
}

    /* 
    This is to override the shadows in the Bootstrap files. 
    Does not seem to be a simple way to get rid of them all at once.
*/
    *:focus {
        box-shadow: none !important;
    }

    /* 
   This is to override the shadows in the Bootstrap files. 
   Also adds a black border when focused with the keyboard.
*/
    *:focus-visible {
        box-shadow: none !important;
        outline: 1px solid black;
    }

/*
    Going to bring over from WebIZ
    The default is not to transform text, but we will be explicit
*/
.no-transform {
    text-transform: none !important;
}

.toast-container {
    margin-top: 50px;
    position: fixed;
}

.toast {
    --bs-toast-max-width: clamp(350px, auto, 725px);
}

.toast-header {
    border-radius: .5rem .5rem 0 0;
}

main {
    width: calc(100vw - var(--menu-width) - 45px) !important;
    scroll-margin-top: 45px;
}

.form-control, .form-select, .input-group-text {
    border: 1px solid #767676;
}

/* This is specifically for the switch element to have a darker border than all the other inputs */
.form-check-input {
    border: 1px solid var(--bs-gray-700);
}

/* reduce the padding on inputs that have the add-on button so that they remain the same height as regular inputs */
.input-group-text {
    padding-top: 0.2rem !important;
    padding-bottom: 0.1rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* BUTTONS */
.btn {
    height: fit-content;    
}


.btn-primary {
    --bs-btn-color: var(--iz-primary-text-color);
    --bs-btn-bg: var(--iz-primary-color);
    --bs-btn-border-color: var(--iz-primary-color);
    --bs-btn-hover-color: var(--iz-primary-text-color);
    --bs-btn-hover-bg: var(--iz-primary-color-dark);
    --bs-btn-hover-border-color: var(--iz-primary-color-darker);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--iz-primary-text-color);
    --bs-btn-active-bg: var(--iz-primary-color-darker);
    --bs-btn-active-border-color: var(--iz-primary-color-darker);
    --bs-btn-disabled-color: var(--iz-primary-text-color);
    --bs-btn-disabled-bg: var(--iz-primary-color);
    --bs-btn-disabled-border-color: var(--iz-primary-color);
}

/* This will be the replacement for btn btn-default */
.btn-outline-secondary {
    --bs-btn-color: #333333;
    --bs-btn-border-color: #333333;
    --bs-btn-hover-color: #333333;
    --bs-btn-hover-bg: #e6e6e6;
    --bs-btn-hover-border-color: #333333;
    --bs-btn-focus-shadow-rgb: 51, 51, 51;
    --bs-btn-active-color: #333333;
    --bs-btn-active-bg: #e6e6e6;
    --bs-btn-active-border-color: #333333;
    --bs-btn-disabled-color: #333333;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #333333;
    --bs-gradient: none;
}

.btn-outline-none {
    --bs-btn-color: #333333;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #333333;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 51, 51, 51;
    --bs-btn-active-color: #333333;
    --bs-btn-active-bg: #e6e6e6;
    --bs-btn-active-border-color: #333333;
    --bs-btn-disabled-color: #333333;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #333333;
    --bs-gradient: none;
}


/* 
    Could not do this with the sass variable $link-decoration because that 
    would make it global. Maybe we do not want to do that.
    If we decide later that we can use $link-decoration: none; for all but actual anchors
    then we just override a {text-decoration: underline;}
*/
/*.btn-link {
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #333333;
    --bs-btn-hover-border-color: #333333;
    --bs-btn-active-border-color: #333333;
    --bs-btn-disabled-border-color: #333333;
    --bs-btn-color: #333333;
    --bs-btn-active-color: #333333;
    --bs-link-hover-color: #333333;
    text-decoration: none;
}*/

.btn-link {
    text-align: start;
}

/* ACCORDION */

h2.accordion-header {
    color: var(--iz-primary-text-color);
    background-color: var(--bs-accordion-active-bg);
}

.accordion-fit-content {
    width: fit-content;
    min-width: 100%;
}

.accordion-status {
    height: 20px;
    width: 20px;
    display: block;
    margin-left: 5px;
}

.accordion-header-with-status {
    display: flex;
    align-items: center;
}

/* TOOLTIPS */

.tooltip {
    border: solid 1px #000000;
}

/*
    Had to do this to get the tooltip arrow to be black 
    while the tooltip background stays white since
    border-bottom-color: var(--bs-tooltip-bg); is what gets generated
    Probably need to do the same sort of thing for the other data-popper-placement^=*

*/
/* Bottom tooltip arrow */
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    bottom: 0;
    border-width: 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);
    border-bottom-color: #000000;
}

/* Left tooltip arrow */
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: #000000;
}

/* Left tooltip arrow positioning */
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
    transform: translate(1px, 6px) !important;
}

/* Top tooltip arrow */
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    top: 0;
    border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;
    border-top-color: #000000;
}

/* Right tooltip arrow */
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #000000;
}

/* Right tooltip arrow positioning */
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
    top: 50% !important;
    left: -8px;
    transform: translateY(-50%) !important;
}

/* To prevent a screen reader from reading the tooltip */
.sr-hidden-tooltip[aria-describedby]::after {
    content: none !important;
}

/* POPOVERS */

/*
    On the popovers that open downward (bottom) we want the arrow to match the color of the title bar
*/
div[data-popper-placement='bottom'] > div.popover-arrow::after {
    border-bottom-color: var(--bs-popover-header-bg) !important;
}


/* DATES */

input[type='date'] {
    min-width: 130px !important;
    max-width: 130px !important;
    width: 130px !important;
}

input[type='datetime-local'] {
    min-width: 175px !important;
    max-width: 175px !important;
    width: 175px !important;
}

/* 
    This selector will apply the specified max-width to any div element whose class starts with col 
    and has a direct child div with the class date-group. 
    This will keep the gap to the right of a date to a minimum
*/
div[class^="col"]:has(> div.date-group) {
    min-width: 175px;
    max-width: 175px;
}

input[type="date"][readonly]::after,
input[type="datetime-local"][readonly]::after {
    font-family: "bootstrap-icons";
    content: "\F1F6" / "Calander icon disabled";
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 12px;
}

.date-range-container {
    min-width: 200px !important;
    max-width: 200px !important;
    margin-bottom: 1rem !important;
}

.date-range-legend {
    white-space: nowrap
}

/*
    This will ensure that no matter what size the col is that contains the age range picker it will always be at least 400px wide.
    so if a user uses <div class="col-1"> it will still be wide enough to show the age range picker properly.
*/
div[class^="col"]:has(div > div.age-range-container) {
    min-width: 400px !important;
}

.age-range-container {
    min-width: 375px !important;
    max-width: 400px !important;
}

.age-range-label-container {
    /*border-bottom: 1px solid #e5e5e5;*/
    height: 22px;
}

div.age-range-container > div > div > label.form-label {
    font-size: .75rem !important;
    font-weight: bold;
}

.age-range-label {
    font-size: .75rem !important;
    font-weight: bold;
    text-decoration: underline;
    white-space: nowrap;
}

/*
div.age-range-picker > div > fieldset {
    border-bottom: 1px solid #e5e5e5;
}
*/

div.age-range-picker > div.form-group {
    margin-bottom: .5rem;
}

div.age-range-picker > div > fieldset.form-group
{
    margin-bottom: 0 !important;
}

div.age-range-picker > div > fieldset label.form-check-label {
    font-size: 12px !important;
    font-weight: bold;
}

@media (min-width: 576px) {
    .date-range-container {
        min-width: 365px !important;
        max-width: 365px !important;
    }
}


/* CHECKBOX & SWITCH */

/* Could not do this with sass variables. */
.form-switch .form-check-input {
    border-radius: 10px !important;
    transform: scale(1.25);
}

input[type=checkbox] + label {
    -webkit-user-select: none; /* Safari */
    user-select: none; /* Standard syntax */
    cursor: pointer
}

input[type=checkbox].readonly {
    cursor: not-allowed;
    opacity: .5;
}

.checkbox-label-readonly {
    cursor: not-allowed;
}

/*
    testing overrides for checkbox and switches
*/

.form-check-input:checked {
    /* This is the background color when it is checked (use theme primary color - default is blue) */
    background-color: var(--iz-primary-color);
    border-color: var(--iz-primary-color);
}

    .form-check-input:checked[type=checkbox] {
        --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyMCAyMCc+PHBhdGggZmlsbD0nbm9uZScgc3Ryb2tlPScjZmZmJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnIHN0cm9rZS13aWR0aD0nMycgZD0nbTYgMTAgMyAzIDYtNicvPjwvc3ZnPg==");
    }

    .form-check-input[type=checkbox]:indeterminate {
        --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyMCAyMCc+PHBhdGggZmlsbD0nbm9uZScgc3Ryb2tlPScjZmZmJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnIHN0cm9rZS13aWR0aD0nMycgZD0nTTYgMTBoOCcvPjwvc3ZnPg==");
    }

    .form-check-input:checked[type=radio] {
        --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPScyJyBmaWxsPScjZmZmJy8+PC9zdmc+");
    }

.form-check-input:focus {
    border-color: var(--form-switch-focus-color);
}

.form-switch .form-check-input {
    /*gray circle*/
    --bs-form-switch-bg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+CiAgPGNpcmNsZSByPSczJyBmaWxsPScjNDk1MDU3Jy8+Cjwvc3ZnPg==");
}

.form-switch .form-check-input:focus {
    /*gray circle*/
    --bs-form-switch-bg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+CiAgPGNpcmNsZSByPSczJyBmaWxsPScjNDk1MDU3Jy8+Cjwvc3ZnPg==");
    outline: 1px solid var(--form-switch-focus-color);
}

.form-switch .form-check-input:checked:focus {
    /*white circle*/
    --bs-form-switch-bg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPSczJyBmaWxsPScjZmZmJy8+PC9zdmc+");
}

/* MISC INPUTS */

/* For phone and Ext */
div[class^="col"]:has(> div.form-group > div.input-group > input[data-input-type^="phone"]) {
    min-width: 145px;
    max-width: 145px;
}

/* For phone error message or it will be squished. Need sign off from business. */
div.input-group:has(input[data-input-type^="phone"]) + span.field-validation-error {
    white-space: nowrap;
}

.form-group {
    margin-bottom: 1rem;
}

/* 
    This is for inputs with a visual label like Phone Ext we want to push the input down 32px 
    if it has the class has-error we won't do that since the error icon will be displayed and that will push the input down.
*/
.form-group:not(.has-error):has(label.visually-hidden) {
    padding-top: 18px;
}

div.form-group.date-group {
    margin-bottom: 0 !important;
}

#workingDialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    background-color: rgba(0,0,0,0.5);
}

    #workingDialog > div {
        background-color: #ffffff;
        min-width: 200px;
        border: 1px solid #757575;
        border-radius: 5px;
        padding: 5px 0 15px 0;
    }

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Tiny MCE border color */
.tox-tinymce {
    border-radius: 0 !important;
    border: 1px solid #767676 !important;
}

.tox .tox-edit-area::before {
    border: 2px solid #000000 !important;
    border-radius: 0 !important;
}

/* AUDITS */

dl.dl-horizontal {
    display: flex;
    flex-wrap: wrap;
}

    dl.dl-horizontal > dt {
        width: 35%;
    }

    dl.dl-horizontal > dd {
        margin-left: auto;
        width: 60%;
    }

.dl-audit dt {
    font-size: small;
}

.dl-audit dd {
    margin-left: 0;
    margin-bottom: 0;
    font-size: small;
    white-space: nowrap;
}


/* Hide arrows on number inputs */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

select, option {
    text-transform: uppercase !important;
}


/* Dialog */
/*
    This may or may not be a style that we could use on ALL dialogs.
*/
dialog {
    margin-top: 30px;
    border: solid 1px #999;
    border-radius: 10px;
}

dialog::backdrop {
    background: #ddd;
    background: rgba(0, 0, 0, .5);
}

.modal-content {
    border-radius: var(--bs-border-radius);
}

.checkbox-column {
    width: 2rem !important;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
    text-align: center;
}

/* Makes links inside bootstrap alerts black-ish instead of blue. Needed for proper color accessibility contrast. */
div.alert > a {
    color: var(--bs-gray-dark);
}

.grid-group {
    background-color: #757575 !important;
    color: #ffffff !important;
    font-weight: bold;
}

/*
    Used to display the Bootstrap 5 logo in the lower right corner on the Bootstrap 5 screens. 
    But only for the Envision DEV theme. 
    NOT other jurisdictions e.g. Colorado, Delaware, etc.
*/
.bs5-info {
    --display: var(--iz-display-bootstrap-info, none); 
    display: var(--display);
    position: fixed;
    bottom: 10px;
    right: 10px;
}

input[type='time'] {
    min-width: 130px !important;
    max-width: 130px !important;
    width: 130px !important;
}

    input[type="time"][readonly]::after
    {
        font-family: "bootstrap-icons";
        content: "\F293" / "Clock icon disabled";
        position: absolute;
        top: 8px;
        right: 15px;
        font-size: 12px;
    }

.validation-summary-errors {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger-text-emphasis);
    padding: 1rem .5rem;
    margin-bottom: 1.15rem;
}

.validation-summary-errors > ul { margin-bottom: 0; }


/* Select / Dropdown */
.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNic+PHBhdGggZmlsbD0nbm9uZScgc3Ryb2tlPScjMzQzYTQwJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnIHN0cm9rZS13aWR0aD0nMicgZD0nbTIgNSA2IDYgNi02Jy8+PC9zdmc+");
}

.btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNicgZmlsbD0nIzAwMCc+PHBhdGggZD0nTS4yOTMuMjkzYTEgMSAwIDAgMSAxLjQxNCAwTDggNi41ODYgMTQuMjkzLjI5M2ExIDEgMCAxIDEgMS40MTQgMS40MTRMOS40MTQgOGw2LjI5MyA2LjI5M2ExIDEgMCAwIDEtMS40MTQgMS40MTRMOCA5LjQxNGwtNi4yOTMgNi4yOTNhMSAxIDAgMCAxLTEuNDE0LTEuNDE0TDYuNTg2IDggLjI5MyAxLjcwN2ExIDEgMCAwIDEgMC0xLjQxNHonLz48L3N2Zz4=");
}

/* Report Output type styles */
.report-output-type-group {
    width: auto;
}

.delimiter-label {
    min-width: 10ch;
}

.delimiter-input {
    width: 2.5rem;
    max-width: 2.5rem;
}

.delimiter-input[aria-invalid] {
    margin-left: 1.75rem;
}

.form-group:has(input.form-control.delimiter-input) {
    margin-bottom: 0 !important;
}

.report-output-type-group .form-check-inline {
    margin-top: .35rem;
}
/* End Report Output type styles */

/* Report scroll container - for screen-only reports with scrollable results */
.report-scroll {
    max-height: 37.5rem;
    overflow-y: auto;
    overflow-x: auto;
}

a[target="_blank"]:not(.hide-icon):after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-box-arrow-up-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z'/%3E%3C/svg%3E");
    margin-left: 0.25em; /* Adds a small space between the link text and the icon */
    vertical-align: middle; /* Aligns the icon vertically with the text */
}

/* Adds ellipsis ... to text inputs where the content is longer than the box can display. */
input[type="text"] {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.patient-lookup-container {
    min-width: 35rem;
}

.modal-iframe {
    /* ReSharper disable once CssNotResolved */
    height: min(75vh, 800px);
    border: 0;
}

/* about 35px */
.checkbox-col {
    width: 2.91rem;
    max-width: 2.91rem;
}

/* This is to override the btn-outline-dark that is used in a WebIZ Panel header button. */
.btn-outline-dark {
    color: var(--bs-white);
    border-color: var(--bs-white);
    background-color: transparent;
}

/* Hover state: background turns white, text turns dark */
.btn-outline-dark:hover {
    color: var(--bs-dark); /* Standard Bootstrap dark text color */
    background-color: var(--bs-white);
    border-color: var(--bs-white);
}

/* Focus and Active states */
.btn-outline-dark:focus,
.btn-outline-dark.focus,
.btn-outline-dark:active,
.btn-outline-dark.active {
    color: var(--bs-dark);
    background-color: var(--bs-white);
    border-color: var(--bs-white);
}
/* End btn-outline-dark customizations */


/* This targets the specific attribute Keeper uses for its container */
/* Hide the Keeper icon only when it follows an ignored input */
input.keeper-ignore + keeper-lock,
input.keeper-ignore ~ keeper-lock {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Center-align delivery time cells (skip the day-of-week column) */
tbody.center-times td:not(:nth-child(1)) {
    text-align: center;
}

/* ============================================
   Storage Units Panel Styles (BS3 Migration)
   ============================================ */

/* Label/Data Pattern - equivalent to BS3 .label-panel/.panel-data */
.label-panel {
    font-size: 12px;
    color: #636363;
    font-weight: bold;
    display: block;
    margin: 8px 0 2px 0;
}

.panel-data {
    display: block;
}

/* Metric displays */
.panel-metric-lg {
    font-size: 24px;
    color: #636363;
    margin: 0;
}

.panel-metric-md {
    font-size: 18px;
    color: #636363;
    margin: 0;
}

/* Storage Units specific */
.su-panel-mobile {
    margin-top: 4px;
}

.icon-su-menu {
    margin-right: 4px;
}

/* Content area layout */
.iz-content {
    width: 100%;
}

.su-panels {
    /* Container for storage unit cards */
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .tight-mobile-pad {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Desktop layout */
@media (min-width: 768px) {
    .iz-content {
        width: 80%;
        float: left;
    }
}

/* BS5 notes layout (_LayoutBootstrap5WithNotes.cshtml) — when iz-content sits
   inside a .row alongside iz-notes, only constrain to 80% at xxl+. Below xxl,
   the notes panel wraps below so main content takes full width. */
@media (max-width: 1399.98px) {
    .row > .iz-content {
        width: 100%;
        float: none;
    }
}

/* ============================================
   Side Navigation Styles (BS3 Migration)
   Source: Areas/ClinicTools/Views/Shared
   ============================================ */

/* Menu section title */
.menu-title {
    color: #636363;
    font-weight: bold;
    padding: 5px 0;
}

/* SideNav - wrapper spacing */
.menu-right-wrap {
    margin-top: 15px;
}

/* SideNav - vertical spacing between links */
.menu-right-wrap .nav-item {
    margin-bottom: 6px;
}

/* SideNav - link styling */
.menu-right-wrap .nav-link {
    color: #0d6efd;
    text-decoration: underline;
    background: transparent;
}

.menu-right-wrap .nav-link:hover,
.menu-right-wrap .nav-link:focus {
    color: #0a58ca;
    background: transparent;
}

/* SideNav - active link (current page) is not clickable */
.menu-right-wrap .nav-link[data-active-right-menu-nav] {
    color: #555555;
    text-decoration: none;
    background-color: #f5f5f5;
    pointer-events: none;
    cursor: default;
}

/* ============================================
   Contextual Header Styles (BS3 Migration)
   ============================================ */

.contextual-header {
    padding: 15px;
    margin: 0 calc(-1 * var(--bs-gutter-x, 0.75rem)) 15px;
    background: #f6f6f6;
}

/* iz-label - small gray bold label */
.iz-label {
    font-size: 12px;
    color: #636363;
    font-weight: bold;
    display: block;
    margin: 10px 0 2px 0;
}

.contextual-header .iz-label {
    font-size: 11px;
    margin-top: 0;
}

/* iz-label-data - value beneath each iz-label */
.iz-label-data {
    display: block;
}

/* ============================================
   Navigation Tabs Styles (BS3 Migration)
   ============================================ */

/* Summary tabs - scoped to nav-tab class */
.nav-tabs .nav-link.nav-tab {
    color: var(--bs-body-color);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.nav-tabs .nav-link.nav-tab.active,
.nav-tabs .nav-link.nav-tab.active:hover,
.nav-tabs .nav-link.nav-tab.active:focus {
    background-color: #555555;
    color: #ffffff;
    border-color: #555555;
}

.nav-tabs .nav-link.nav-tab:not(.active):hover {
    background-color: #d3d3d3;
    border-color: #c8c8c8;
}

/* ============================================
   Breadcrumb & View Button Styles (BS3 Migration)
   ============================================ */

/* iz-view-btn-enabled - overrides disabled state on view buttons */
.iz-view-btn-enabled {
    pointer-events: auto !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* iz-breadcrumb-lg - larger breadcrumb text (16px) */
.iz-breadcrumb-lg {
    margin-top: 8px;
}

.iz-breadcrumb-lg li {
    font-size: 16px;
}

.iz-breadcrumb-lg a {
    color: #0a58ca;
}

.iz-breadcrumb-lg a:hover {
    text-decoration: none;
}

/* ============================================
   Section Header & Tab Styles (BS3 Migration)
   Source: Areas/ClinicTools/Views/TemperatureLog
   ============================================ */

/* Section header - bold with bottom border */
.section-hdr {
    border-bottom: 1px solid #f6f6f6;
    padding-bottom: 6px;
    margin-top: 15px;
    font-weight: bold;
}

/* Tab pane with border (for tabbed content) */
.tab-pane-bordered {
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    padding: 10px;
}

/* Sub-label - smaller muted description text */
.sub-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: normal;
}

/* ============================================
   Notes Sidebar Styles (BS3 Migration)
   ============================================ */

/* Notes sidebar - width constraint for side panel (legacy BS5 layouts: _Layout.cshtml etc.) */
.iz-notes {
    flex: 0 0 20vw;
    width: 20vw;
    max-width: 300px;
    border-left: 1px solid #dee2e6;
    padding-left: 1rem;
    background-color: #fff;
}

/* BS5 notes layout (_LayoutBootstrap5WithNotes.cshtml) — when iz-notes sits inside
   a .row alongside iz-content, the panel should wrap below at <xxl (col-12 default)
   and only sit side-by-side at xxl+. Override the legacy width/border at small widths. */
@media (max-width: 1399.98px) {
    .row > .iz-notes {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        border-left: none;
        padding-left: 0;
    }
}

/* ============================================
   Label classes (ported from BS3 iz-app.css)
   Used for status badges on list/index views
   ============================================ */
.label {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 10.5px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}
.label:empty {
    display: none;
}
.label-default {
    background-color: #777777;
}
.label-primary {
    background-color: #647F2E;
}
.label-success {
    background-color: #3a833a;
}
.label-info {
    background-color: #20809d;
}
.label-warning {
    background-color: #8e6c15;
}
.label-danger {
    background-color: #ce4844;
}

.input-small {
    max-width: 10ch;
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

#skiptocontent a {
    padding: 6px;
    position: absolute;
    top: -40px;
    left: 0;
    color: #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background: #FFFFFF;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 1000000;
}

#skiptocontent a:focus {
    position: absolute;
    left: 0;
    top: 0;
    outline-color: transparent;
    -webkit-transition: top .1s ease-in;
    transition: top .1s ease-in;
}

@media (prefers-reduced-motion: reduce) {
    #skiptocontent a {
        transition-duration: 0.001ms !important;
    }
}

.navbar {
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
}

.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMCAzMCc+PHBhdGggc3Ryb2tlPSdyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNTUpJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1taXRlcmxpbWl0PScxMCcgc3Ryb2tlLXdpZHRoPScyJyBkPSdNNCA3aDIyTTQgMTVoMjJNNCAyM2gyMicvPjwvc3ZnPg==");
}

.bg-dark {
    background-color: var(--iz-top-nav-color) !important;
}

/*
    The provider clinic name text was just a bit higher than the rest of the row so this will push it down a bit. 
    Need to see if there is a better way to do this with built-in classes.
*/
#topNavProviderInfo {
    margin-top: 7px;
}

li[role='menuitem']:not(:last-of-type) > a, li[role='menuitem']:not(:last-of-type) > button {
    border-bottom: 1px solid var(--bs-gray-300);
}

li[role='menuitem']:last-of-type > a, li[role='menuitem']:last-of-type > a {
    border-bottom: none;
    padding-bottom: 0;
}

/*`sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (min-width: 575.98px) {
     .top-truncate-px {
         max-width: 125px;
     }
 }

/*`md` applies to small devices (landscape phones, less than 768px)*/
@media (min-width: 767.98px) {
     .top-truncate-px {
         max-width: 125px;
     }
 }

/*`lg` applies to medium devices (tablets, less than 992px)*/
@media (min-width: 991.98px) {
     .top-truncate-px {
         max-width: 325px;
     }
 }

/*`xl` applies to large devices (desktops, less than 1200px)*/
@media (min-width: 1199.98px) {
     .top-truncate-px {
         max-width: 525px;
     }
 }

/*`xxl` applies to x-large devices (large desktops, less than 1400px)*/
@media (min-width: 1399.98px) {
     .top-truncate-px {
         max-width: 550px;
     }
 }

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

#PageTitle {
    max-width: 60% !important;
}

.title-bar {
    background-color: white;
}

#helpButton {
    color: #3271E7;
}

/* This is for the title bar. Also when we get to the medium screen we don't want sticky any longer. Let it scroll up. */
@media (min-width: 992px) {
    /* This is for the title bar. Also when we get to the medium screen we don't want sticky any longer. Let it scroll up. */
    @supports ((position: -webkit-sticky) or (position: sticky)) {
        #TitleBarDiv {
            position: -webkit-sticky;
            position: sticky;
            top: var(--sticky-top); /* May need to experiment with this number to get it to always display right */
            z-index: 1019 !important; /* This is one below what the navbar uses .sticky-top */
        }
    }
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

.patient-header {
    background-color: #f6f6f6;
}

#patientPreviewButton {
    white-space: nowrap;
    max-width: 65ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.patient-name {
    color: #065d93;
}

.patient-data {
    color: #606060;
}

/* This creates a vertical bar between each piece of data*/
span.patient-data:not(:last-of-type) {
    border-right: solid 2px #000;
    padding-right: 5px;
}

div.striped > div.row:nth-child(odd) {
    background-color: #ddd;
}

div.striped > div.row:nth-child(odd) > div > a {
    color: var(--bs-link-hover-color);
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

/*
    This file is where we will override the TinyMCE inline styles with classes.
    Our Content Security Policy does not allow inline styles.
*/

.custom-strikethrough {
    text-decoration: line-through;
}

.custom-underline {
    text-decoration: underline;
}

.custom-left {
    text-align: left;
}

.custom-center {
    text-align: center;
}

.custom-right {
    text-align: right;
}

.custom-justify {
    text-align: justify;
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

/*
    This file is where we will have styles for the Switch-List control
*/

fieldset[data-switchlist] {
    margin-bottom: 1rem;
}


.switchlist-buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 13px;
}

    .switchlist-buttons > button {
        margin: 5px;
        width: 30px;
        height: 30px;
    }


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .switchlist-buttons {
        margin-top: 0;
    }

    .switchlist-buttons > button {
        transform: rotate(90deg);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .switchlist-buttons {
        margin-top: 0;
    }

    .switchlist-buttons > button {
        transform: rotate(90deg);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .switchlist-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80px;
    }
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

/*
    This file is where we will have styles for the tabs control
*/


/* This will put the same border around the tab pane content to match the tab */
.tab-pane-bordered {
    border-left: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    border-right: 1px solid var(--bs-border-color);
    padding: 0.75rem;
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/
.autocomplete {
    position: relative;
    width: 100%;
}

.autocomplete [type=text] {
    -webkit-appearance: none;
    border-radius: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.25;
    padding: .5em;
}

.autocomplete [role=listbox] {
    margin: 0;
    max-height: 12em;
    overflow-y: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
    font-size: 100%;
    padding: 0;
    left: 0;
    position: absolute;
    top: 2.3em;
    width: 100%;
    background-color: #f7fafc;
    border-radius: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10000;
    border: 2px solid #718096
}

.autocomplete [role=option] {
    line-height: 22px;
    padding: .5em;
    display: block;
    border-bottom: 2px solid #718096;
    outline: 0;
    margin: 0
}

.autocomplete-optionNoResults {
    line-height: 22px;
    padding: .5em;
    display: block;
    border-bottom: 2px solid #718096;
    cursor: not-allowed
}

.autocomplete [role=option]:hover, .autocomplete [role=option][aria-selected=true] {
    background-color: #6c6c6c;
    border-color: #6c6c6c;
    color: #ffffff
}

.no-left-border {
    border-left: none !important;
}

.hintText {
    margin-left: 3px;
    font-size: 11px;
}

.top-reset {
    top: 2rem !important;
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/

.status-complete {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cg stroke='%23fff' stroke-width='2.3' fill='%23647F2E'%3E%3Ccircle cx='10' cy='10' r='8.5'%3E%3C/circle%3E%3Cpath d='M5.2,10 8.5,13.4 14.8,7.2'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.status-incomplete {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' height='20' width='20' xmlns='http://www.w3.org/2000/svg' xmlns:bx='https://boxy-svg.com'%3E%3Cdefs%3E%3C/defs%3E%3Cpath d='M 9.706 1.847 Q 10.029 1.202 10.351 1.847 L 18.417 17.976 Q 18.739 18.621 18.094 18.621 L 1.963 18.621 Q 1.318 18.621 1.64 17.976 Z' style='stroke: %23ffffff; fill: %23cdc718;' bx:shape='triangle 1.318 1.202 17.421 17.419 0.5 0.037 1@f3bcffec'%3E%3C/path%3E%3Cpath d='M 8.956 10.785 L 8.608 14.559 Q 8.584 14.852 8.413 15.014 Q 8.242 15.175 7.985 15.175 Q 7.729 15.175 7.558 15.014 Q 7.387 14.852 7.363 14.559 L 7.008 10.785 Q 6.984 10.498 6.984 10.407 Q 6.984 9.931 7.271 9.641 Q 7.558 9.35 7.985 9.35 Q 8.407 9.35 8.697 9.644 Q 8.987 9.937 8.987 10.382 Q 8.987 10.474 8.956 10.785 Z M 8.755 17.001 Q 8.755 17.27 8.553 17.456 Q 8.352 17.642 7.998 17.642 Q 7.643 17.642 7.442 17.456 Q 7.24 17.27 7.24 17.001 Q 7.24 16.739 7.439 16.552 Q 7.637 16.366 7.998 16.366 Q 8.358 16.366 8.556 16.549 Q 8.755 16.732 8.755 17.001 Z' transform='matrix(0.820584, 0, 0, 1.002307, 3.306691, -1.461213)' style='fill: rgb(255, 255, 255); line-height: 16.006px; white-space: pre;'%3E%3C/path%3E%3C/svg%3E");
}

.status-pending {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 9.99 0.631 C 8.885 0.631 7.8 0.822 6.772 1.205 L 7.04 1.928 C 7.987 1.582 8.986 1.401 9.99 1.401 C 14.671 1.401 18.472 5.209 18.472 9.885 C 18.472 14.566 14.671 18.369 9.99 18.369 C 5.314 18.369 1.508 14.566 1.508 9.885 C 1.513 7.353 2.641 4.956 4.592 3.349 L 4.592 6.03 L 5.366 6.03 L 5.366 2.176 L 1.508 2.176 L 1.508 2.946 L 3.87 2.946 C 1.881 4.703 0.738 7.229 0.738 9.885 C 0.738 14.99 4.888 19.139 9.99 19.139 C 15.092 19.139 19.247 14.99 19.247 9.885 C 19.247 4.785 15.092 0.631 9.99 0.631 Z' style='stroke: rgb(255, 255, 255);'%3E%3C/path%3E%3Cpath d='M 7.681 12.97 L 6.906 12.97 L 6.906 13.74 L 13.074 13.74 L 13.074 12.97 L 12.304 12.97 L 12.304 11.652 L 10.535 9.885 L 12.304 8.118 L 12.304 6.8 L 13.074 6.8 L 13.074 6.03 L 6.906 6.03 L 6.906 6.8 L 7.681 6.8 L 7.681 8.118 L 9.445 9.885 L 7.681 11.652 L 7.681 12.97 Z M 8.45 7.798 L 8.45 6.8 L 11.534 6.8 L 11.534 7.798 L 9.99 9.343 L 8.45 7.798 Z M 9.99 10.433 L 11.534 11.972 L 11.534 12.97 L 8.45 12.97 L 8.45 11.972 L 9.99 10.433 Z M 7.681 15.285 L 8.45 15.285 L 8.45 16.054 L 7.681 16.054 L 7.681 15.285 Z M 9.607 15.285 L 10.377 15.285 L 10.377 16.054 L 9.607 16.054 L 9.607 15.285 Z M 11.534 15.285 L 12.304 15.285 L 12.304 16.054 L 11.534 16.054 L 11.534 15.285 Z' style='stroke: rgb(255, 255, 255);'%3E%3C/path%3E%3C/svg%3E%0A");
}

/*
    Copyright (c) 2001 Envision Technology Partners, Inc. All rights reserved.
*/
/* 
    ReSharper disable InvalidValue 
    This is for the / "Required field indicator" which adds alt text for svgs used in the ::after pseudo-element
*/

/* Validation styles */
:root {
    --error-color: #721c24;
    --error-background-color: #f2dede;
}

/*
Makes the label text bold for an input that is required.
*/
.form-group:has(input[required]) > .form-label, label.required-readonly, legend.required-readonly, .form-group:has(textarea[required]) > .form-label {
    font-weight: bold;
}
    /*
    Adds the red asterisk after a label for an input that is required.
    */
    .form-group:has(input[required]) > .form-label::after {
        content: url(../images/icons/asterisk.svg) / "Required field indicator";
        /*content: " *"; I switched to using the svg because the NVDA screen reader was reading the label and then saying "star"  */
        color: var(--error-color);
        margin-left: 3px;
    }

    label.required-readonly::after {
        content: url(../images/icons/asterisk.svg) / "Required field indicator";
        color: var(--error-color);
        margin-left: 3px;
    }

    legend.required-readonly::after {
        content: url(../images/icons/asterisk.svg) / "Required field indicator";
        color: var(--error-color);
        margin-left: 3px;
    }

    .form-group:has(textarea[required]) > .form-label::after {
        content: url(../images/icons/asterisk.svg) / "Required field indicator";
        color: var(--error-color);
        margin-left: 3px;
    }

.form-group:has(select[required]) > .form-label {
    font-weight: bold;
}

    .form-group:has(select[required]) > .form-label::after {
        content: url(../images/icons/asterisk.svg) / "Required field indicator";
        color: var(--error-color);
        margin-left: 3px;
    }

/* 
Sets color of the input label.
Based on the parent div having the has-error class.
This will be done (adding has-error class) via the JavaScript validation routines.
*/
div.form-group.has-error > label {
    color: var(--error-color);
    position: relative;
}

    /* Since we already used ::after for the asterisk * we will use ::before and push it to the right */
    div.form-group.has-error > label::before {
        color: var(--error-color);
        font-family: "bootstrap-icons";
        content: "\F33A" / "Error inicator";
        position: absolute;
        left: 105%;
    }

.form-group.has-error:has(label.visually-hidden)::before {
    color: var(--error-color);
    font-family: "bootstrap-icons";
    content: "\F33A" / "Error inicator";
    margin-left: 5px; /* Adjust spacing as needed */
    display: block; /* Ensure the pseudo-element is displayed */
    height: 18px;
}


/* 
Sets the border color of an input based on aria-invalid attribute.
This will be done via the JavaScript validation routines.
*/
input[aria-invalid], select[aria-invalid], textarea[aria-invalid] {
    border: solid 2px var(--error-color) !important;
    outline: 1px solid var(--error-color) !important;
}

/*
Sets the color of the validation message.
*/
.field-validation-error {
    color: var(--error-color) !important;
}

/*
This is for any Bootstrap 5 input group add-ons
Sets the border, font and background color to indicate error state
*/
div.form-group.has-error > div > div.input-group-text {
    color: var(--error-color);
    border-color: var(--error-color);
    background-color: var(--error-background-color);
}

/* 
    This may or may not pass AA. 
    This with the text inside the control is AA, 
    but the control against the white background is not.
*/
.form-control[readonly] {
    cursor: not-allowed;
    background-color: var(--bs-gray-300);
    opacity: 1;
}

select[aria-disabled='true'] {
    cursor: not-allowed;
    background-color: var(--bs-gray-300);
    opacity: 1;
    pointer-events: none;
}

/* Style radio buttons and checkboxes and their labels when readonly */
.form-check-input[aria-disabled=true] {
    cursor: not-allowed;
    background-color: var(--bs-gray-500);
    opacity: 1;
    pointer-events: none;
}
.form-check-input[aria-disabled=true] ~ label {
        pointer-events: none;
}
div.form-check:has(input[aria-disabled=true]) {
    cursor: not-allowed;
}


/* Sets the color of the legend for the has-error class */
legend.has-error {
    color: var(--error-color);
    position: relative;
    width: auto !important;
}

/* Sets the error indicator icon next to the legend */
    legend.has-error::before {
        color: var(--error-color);
        font-family: "bootstrap-icons";
        content: "\F33A" / "Error inicator";
        position: absolute;
        left: 105%;
    }

    legend.has-error.col-auto::before {
        left: 95%;
    }
