#maincontent {
    padding: 24px 32px 32px !important;
    max-width: 82em !important;
    background-color: #FFFFFF;
    border-radius: 0 !important;
    color: #162029 !important;
}
#maincontentfullwidth {
    padding: 24px 32px 32px !important;
    background-color: #FFFFFF;
    border-radius: 0 !important;
    color: #162029 !important;
}
.task_container {
    margin: 0 !important;
    padding: 24px 32px 32px !important;
    background-color: #ffffff;
}

.task_container p, #maincontent p, #maincontentfullwidth p {
    font-size: 14px !important;
    color: #162029;
}

.task_container h2 {
    background-color: transparent !important;
    border: 0px !important;
    font-size: 18px !important;
    justify-content: space-between;
    align-items: center;
    box-shadow: none !important;
    color: #044D66 !important;
    padding-left: 0 !important;
    font-weight: 400 !important;
    text-align: left !important;
    background-color: transparent !important;
    color: #044D66 !important;
    border: none !important;
}

.col {
    margin: 0 !important;
}

.group {
    margin-bottom: 16px;
}

.group p {
    margin: 0 0 10px 0;
}

label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #394754;
    margin: 10px 0 4px 0;
    display: block;
    cursor: text;
    line-height: 1.4;
}

input[type="radio"],
input[type="checkbox"] {
    width: auto;
    border: none;
    box-shadow: none;
    vertical-align: middle;
}

input[type="radio"] {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

/* Opt-in centered black dot radio
   Use by adding class "center-dot" to the input element: <input type="radio" class="center-dot"> */
input[type="radio"].mri-radio-button--small {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #909fae;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    box-sizing: border-box;
    margin-right: 8px;
}

input[type="radio"].mri-radio-button--small::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #162029;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform .12s ease-in-out, opacity .12s ease-in-out;
}

input[type="radio"].mri-radio-button--small:checked::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

input[type="radio"].mri-radio-button--small:focus {
    outline: none;
    box-shadow: none;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
    display: inline;
    margin: 0 16px 0 0;
    font-size: 14px;
    font-weight: normal;
}

/* .mri-radio-button--small:after {
    width: .5em;
    height: .5em;
    content: "";
    display: block;
    border-radius: 100%;
    background-color: currentColor;
    opacity: 0;
    transition: opacity .25s 0s cubic-bezier(0, 1, 1, 1), background-color .25s 0s cubic-bezier(0, 1, 1, 1);
}

.mri-radio-button {
    border-color: #8ca0ac;
    border-style: solid;
    color: #162029;
    background-color: #fff;
}

.mri-radio-button--small:checked:after {
    opacity: 1;
} */

.dropdown-content {
    min-width: 100% !important;
    width: max-content !important;
}

.dropdown-content a {
    color: black !important;
    padding: 2px 16px;
    text-decoration: none !important;
    display: block;
    font-family: 'Noto Sans';
    font-size: 14px;
    background-color: #FFFFFF !important;
}

.dropdown-content a:hover {
    background-color: #3A9DD233 !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

body {
    font-family: Noto Sans !important;
}

.checkbox-label {
    font-family: Noto Sans !important;
    font-size: 15px;
    color: #044D66;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007bff; /* blue color */
}

.action-buttons-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.action-buttons-row .mri-button {
    display: inline-block !important;
    width: auto !important;
    min-width: 170px;
}

#maincontent a,
#maincontent a:visited,
#maincontent a:hover,
#maincontent a:focus,
#maincontent a:active,
#maincontentfullwidth a,
#maincontentfullwidth a:visited,
#maincontentfullwidth a:hover,
#maincontentfullwidth a:focus,
#maincontentfullwidth a:active,
.task_container a,
.task_container a:visited,
.task_container a:hover,
.task_container a:focus,
.task_container a:active {
    color: #10689D;
    text-decoration: none !important;
}

.mri-button {
    font-family: 'Noto Sans' !important;
    padding: 4px 16px !important;
    border: 1px solid #8CA0AC !important;
    background-color: rgba(255, 255, 255, 0) !important;
    color: #162029 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    width: max-content !important;
    max-width: 100% !important;
    transition: background-color 0.25s 0s cubic-bezier(0, 1, 1, 1), color 0.25s 0s cubic-bezier(0, 1, 1, 1), border 0.25s 0s cubic-bezier(0, 1, 1, 1);
    text-shadow: none !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mri-button:hover {
    background-color: rgba(58,157,210,0.1) !important;
    border-color: #909FAE !important;
    color: #162029 !important;
}
.mri-button:active {
    background-color: rgba(58,157,210,0.2) !important;
    border-color: #909FAE !important;
    color: #162029 !important;
}
.mri-button:focus {
    outline: none;
    box-shadow: 0 0 2px 0 #10689D !important;
}
.mri-button--primary {
    background: #0D75B0 !important;
    background-image: none !important;
    color: white !important;
    border-color: #FFFFFF !important;
}
.mri-button--primary:hover {
    background: #0582C3 !important;
    background-image: none !important;
    color: white !important;
    border-color: #FFFFFF !important;
}
.mri-button--primary:active {
    background: #10689D !important;
    background-image: none !important;
    color: white !important;
    border-color: #FFFFFF !important;
}
.mri-button--primary:focus {
    box-shadow: 0 0 2px 0 #10689D !important;
}

.mri-button--default {
    background: #ffffff !important;
    color: rgb(22, 32, 41) !important;
    border-color: #909FAE !important;
    margin-top: 10px !important;
}

/* Client report menubar buttons inherit global button styles from UIRefresh */
#PrintMenu .mri-btn-pdf,
#PrintMenu .mri-btn-more,
.page-heading .mri-btn-pdf,
.page-heading .mri-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Custom Dropdown Styles */
select.custom-dropdown-source,
select.custom-multidrop-source,
select[name="PaymentCardExpMM"],
select[name="PaymentCardExpYYYY"] {
    display: none !important;
}

.custom-dropdown {
    width: 387.01px;
    max-width: 100%;
    position: relative;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    display: inline-block;
    outline: none;
}

.dropdown-selected {
    height: 38px;
    border: 1px solid #c6ced5;
    cursor: pointer;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    color: #162029;
    padding: 9px;
}

.dropdown-selected:hover {
    border-color: #10689d;
}

/* Dropdown list */
.dropdown-list {
    list-style: none;
    padding: 0;
    border: 1px solid #c6ced5;
    display: none;
    position: absolute;
    width: 100%;
    background: #ffffff;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin-top: 4px;
    box-sizing: border-box;
}

.dropdown-list li {
    padding: 9px;
    cursor: pointer;
    font-size: 14px;
    color: #162029;
}

.dropdown-list li:hover {
    background-color: #3A9DD233;
    color: #394754;
}

/* Open state */
.custom-dropdown.open .dropdown-list {
    display: block;
}

/* Enlarge only the two navi dropdowns so ~10 rows are visible */
#naviNameDropdown .dropdown-list,
#naviIDDropdown .dropdown-list {
    max-height: 430px;
}

/* Typeahead search row within navi dropdowns */
.navi-typeahead-li {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
.dropdown-list .navi-typeahead-li {
    padding: 0;
    cursor: default;
    border-bottom: 1px solid #e0e0e0;
}
.dropdown-list .navi-typeahead-li:hover {
    background: #fff;
    color: inherit;
}
.navi-typeahead {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    cursor: text;
}

/* Focus style */
.custom-dropdown.open .dropdown-selected {
    border-color: #10689d;
}

.dropdown-list li.active {
    background-color: #3A9DD233;
    color: #394754;
}

.dropdown-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

input:focus,
textarea:focus {
    border-color: #10689d !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 104, 157, 0.12);
}

.col {
    margin: 0 !important;
}

.group {
    margin-bottom: 16px;
}

.group p {
    margin: 0 0 10px 0;
}

label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #394754;
    margin: 10px 0 4px 0;
    display: block;
    cursor: text;
    line-height: 1.4;
    text-align: left !important;
}

label span.error, label.error {
    color: #B33706;
    font-size: 14px;
    font-weight: 400;
}

input.error {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #162029;
}

input, select {
    width: 97%;
    border: 1px solid #c6ced5;
    border-radius: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #162029;
    background: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    height: 38px;
    padding: 9px;
}

input[type="radio"],
input[type="checkbox"] {
    width: auto;
    border: none;
    box-shadow: none;
    vertical-align: middle;
}

input[type="radio"] {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
    display: inline;
    margin: 0 16px 0 0;
    font-size: 14px;
    font-weight: normal;
}

.ssn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 97%;
}

.ssn-group input {
    width: 100%;
    flex: 1 1 0;
    min-width: 0;
}

.ssn-separator {
    color: #394754;
    font-weight: 600;
    line-height: 1;
}

a.dp-choose-date {
    width: 24px !important;
    height: 24px !important;
    margin: 6px 0 0 8px !important;
    background-image: url("../Images/calendar.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
}

.date-picker-field {
    position: relative;
    display: flex;
    overflow: visible;
}

.date-picker-field input.ui-refresh-date-input {
    padding: 9px;
    /* background-image: url("../Images/calendar.svg"); */
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    box-sizing: border-box;
    cursor: pointer;
    color: #162029;
}

.calendar-icon {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-38%);
    pointer-events: none;
}

.date-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}

/* JavaScript Injected Floating Dropdown Container */
.datepicker-container {
    display: flex !important;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 388px;
    height: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Show helper class toggled by JS */
.datepicker-container.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Sidebar Styling */
.sidebar {
    width: 100px;
    background: #eef1f4;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-behavior: smooth;
    border-right: 1px solid #e0e0e0;
}

.sidebar::-webkit-scrollbar {
    width: 0px;
}

.sidebar-item {
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    color: #162029;
    font-family: 'Noto Sans', sans-serif;
}

.sidebar-item:hover {
    background: #e2e6ea;
    color: #333;
}

.sidebar-item.active-year {
    font-weight: bold;
    color: #000;
    background: #e2e6ea;
    position: sticky;
    top: 0;
    bottom: 0;
}

.sidebar-item.active-month {
    color: var(--primary-color);
    font-weight: 500;
}

/* Main Calendar Matrix Area */
.main-calendar {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.current-month-year {
    color: var(--Background-color-bg-landmark, #0077B5);
    color: var(--Background-color-bg-landmark, color(display-p3 0.051 0.4588 0.6902));
    font-family: "Noto Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
    cursor: pointer;
}

.today-btn {
    color: var(--Text-color-text-interactive, #006AA2) !important;
    color: var(--Text-color-text-interactive, color(display-p3 0.0627 0.4078 0.6157)) !important;
    font-family: "Noto Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    background: transparent !important;
    border:none !important;
}

.grid-header, .grid-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.grid-header {
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 10px;
}

.grid-body {
    row-gap: 8px;
}

.day-cell {
    font-size: 12px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    color: #162029;
    user-select: none;
}

.day-cell:hover:not(.empty) {
    background-color: var(--bg-hover);
}

.day-cell.selected {
    color: var(--Text-color-text, #13202A);
    color: var(--Text-color-text, color(display-p3 0.0863 0.1255 0.1608));
    text-align: center;
    font-family: "Noto Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    border-radius: 4px;
    border: 1px solid var(--Background-color-bg-transparent, rgba(255, 255, 255, 0.00));
    border: 1px solid var(--Background-color-bg-transparent, color(display-p3 1 1 1 / 0.00));
    background: var(--Background-color-bg-transparent-active, rgba(0, 160, 215, 0.20));
    background: var(--Background-color-bg-transparent-active, color(display-p3 0.2275 0.6157 0.8235 / 0.20));
}

.day-cell.empty {
    cursor: default;
}

.sidebar-year {
    background-color: #ffffff;
}

#ClientOrderConfirmation > .section > .task_container {
    background-color: transparent !important;
    padding: 0 !important;
}

#ClientOrderConfirmation > .section > .task_container > h2 {
    font-size: 16px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.task_container > h4 {
    font-size: 14px !important;
    margin-bottom: 0 !important;
    padding: 2px !important;
    color: #044D66 !important;
    font-weight: 400 !important;
}

.TextAreaClass {
    width: 97%;
    border: 1px solid #c6ced5;
    border-radius: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #162029;
    background: #ffffff;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    padding: 9px;
    resize: none;
}

.custom-dropdown:focus .dropdown-selected,
.custom-dropdown:focus-visible .dropdown-selected,
.custom-dropdown:focus-within .dropdown-selected {
    border-color: #10689d !important;
    outline: none !important;
}

.custom-dropdown:focus,
.custom-dropdown:focus-visible {
    outline: none !important;
}

.dropdown-list li.focused {
    background-color: #3A9DD233;
    color: #394754;
}

.dropdown-selected {
    display: flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: auto;
    flex-shrink: 0;
}

.redesign-content-wrapper {
    min-height: 0 !important;
}

.custom-multidrop.open .dropdown-list {
   display: block !important;
   position: inherit;
   width: 97% !important;
}

.custom-multidrop .dropdown-tags {
    font-size: 14px;
    border: 1px solid #8CA0AC !important;
    width: 97% !important;
    border-radius: 6px !important;
    padding: 9px !important;
    margin-bottom: 4px;
    max-height: 90px;
    overflow-y: auto;
    min-height: 38px;
}

.custom-multidrop .dropdown-tags .cd-tag {
    background-color: #3A9DD233;
    margin-left: 5px;
}

.dropdown-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M480-360 280-560h400L480-360Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.rptviewpending {
    color: #162029 !important;
}

.rptviewpending a {
    font-weight: normal !important;
}

input.mri-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px !important;
    height: 18px !important;
    border: 1px solid #999999 !important;
    border-radius: 2px;
    background-color: #FFFFFF !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    margin-right: 8px !important;
    padding: 0 !important;
}

/* Checked state */
input.mri-checkbox:checked {
    background-color: #FFFFFF !important;
    border-color: #162029 !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23333333" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
}

/* Disabled state (unchecked) */
input.mri-checkbox:disabled {
    background-color: #F0F0F0 !important;
    border-color: #CCCCCC !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Disabled checked state */
input.mri-checkbox:checked:disabled {
    background-color: #F0F0F0 !important;
    border-color: #CCCCCC !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23999999" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
    opacity: 0.6;
}

/* Hover state for enabled checkboxes */
input.mri-checkbox:not(:disabled):hover {
    border-color: #666666 !important;
}

/* Focus state — suppress mri-ui.css blue border and order-report-redesign.css blue glow on focus */
input.mri-checkbox:focus {
    border-color: #909FAE !important;
    box-shadow: none !important;
    outline: none;
}
input.mri-checkbox:checked:focus {
    border-color: #162029 !important;
    box-shadow: none !important;
    outline: none;
}

.mri-checkbox:checked::before {
    opacity: 0 !important;
}

.checkbox-group {
    display: flex;
    margin-right: 15px;
}

.checkbox-group-container {
    display: flex;
}


/* MRI checkbox (mri-check class) — white bg, #162029 tick only */
input[type="checkbox"].mri-check {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1.5px solid #909FAE;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
    transition: border-color 0.15s;
}
input[type="checkbox"].mri-check:checked {
    border-color: #909FAE;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="14" height="14"><path fill="none" stroke="%23162029" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M2 8l4 4 8-8"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}
input[type="checkbox"].mri-check:focus {
    outline: none;
    box-shadow: none;
}

.chartbox .report {
    margin-top: 5px !important;
}

.payment-history thead tr td {
    background-color: #E2E6EA;
    text-align: left;
    vertical-align: middle;
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    color: #162029 !important;
    height: 40px;
    padding: 8px 12px 8px 8px;
    border-right: 1px solid #c2cfd3;
}

.payment-history thead tr td a {
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    color: #162029 !important;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.payment-history tbody tr td {
    background-color: #FFFFFF;
    text-align: left;
    vertical-align: middle;
    font-family: 'Noto Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    color: #162029 !important;
    height: 40px;
    padding: 8px 12px 8px 8px;
    border-bottom: 1px solid #ced4da;
}