    :root {
    --nt-teal: #00bcd4;
    --nt-bg: #fdfdfd;
    --nt-light-teal: #e0f7fa;
    --nt-border: #e8e8e8;
    --nt-text-muted: #9e9e9e;
}

.nt-medical-wrapper {
    background-color: #fff;
    min-height: 100vh;
}

.nt-exit-header {
    padding: 15px 30px;
    border-bottom: 1px solid var(--nt-border);
    position: fixed;
    bottom: 0;
    z-index: 9999;
    background-color: white;
    width: 100%;
    color: black;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
.mobile-verify-link,
.address-pincode-verify-btn {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: underline !important;
}

.address-pincode-verify-btn {
    border: 0;
    background: transparent;
    padding: 0;
}

.otp-send-spinner{
    color: var(--primary-color);
}
#profile_otp_timer{
    color: rgba(62, 182, 85, 1);
    float: right;
    font-size: 12px;
    font-weight: 700;
}
#profile_otp_description {
    display: block;
    width: 100%;
    margin-top: 8px;
}
.mobile-verify-link:hover,
.address-pincode-verify-btn:hover {
    text-decoration: underline;
}
.nt-exit-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nt-container {
    margin: 10px auto;
    padding: 0 20px;
}

/* Top Tab Navigation */
.nt-top-tabs {
    display: flex;
    background: #f8f9fa;
    border: 1px solid var(--nt-border);
    border-radius: 12px;
    margin-bottom: 13px;
}
.bg-light-grey-color {
    --bs-bg-opacity: 1;
    background-color: rgba(242, 244, 246, var(--bs-bg-opacity)) !important;
}   
/* Light Grey Background with Inner Shadow */
.bg-light-grey-color {
    background-color: #f8f9fa !important; /* Ekdam light grey color */
    box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.03), 
                inset 0px 2px 5px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Page title cha color thoda dark thevnyasathi (Optional) */
.page-header-title {
    color: #495057;
    font-weight: 500;
}

.nt-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    margin: 3px;
    color: rgb(73, 80, 87);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Placeholder for your images */
.nt-img-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.nt-img-icon img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.nt-tab-item.active .nt-img-icon img {
    transition: transform 0.3s ease;
    filter: var(--primary-color-filter);
    opacity: 1;
}

.nt-tab-item.active {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.nt-tab-item:not(.disabled):hover {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 6px 18px var(--primary-light);
    transform: translateY(-1px);
}

.nt-tab-item:not(.disabled):hover .nt-img-icon img {
    filter: var(--primary-color-filter);
    opacity: 0.95;
}

.nt-tab-item.disabled {
    cursor: not-allowed;
}

/* Sidebar & Form Flexbox */
.nt-main-flex {
    display: flex;
    align-items: flex-start;
}

.nt-sidebar {
    width: 230px;
    border-right: 1px solid #f0f0f0;
    /* height: auto; */
    /* padding-bottom: 400px; */
}
.nt-sidebar-menu {
    list-style: none;
    /* padding: 0; */
}

.nt-sidebar-item {
    padding: 10px 10px;
    color: rgb(73, 80, 87);
    cursor: pointer;
    font-size: 14.5px;
    transition: border-color 0.2s ease;
    border-bottom: 2.5px solid transparent;
    width: fit-content;
}

.nt-sidebar-item:not(.active):not(.disabled):hover {
    border-bottom-color: var(--primary-color);
}

.nt-sidebar-item.active {
    cursor: default; 
    pointer-events: none;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2.5px solid var(--primary-color);
    width: fit-content;
}

.nt-sidebar-item.disabled {
    cursor: not-allowed;
}

/* Case Study + Treatment sub-tabs styled like Customize Questions category tabs */
.nt-customize-subtab-sidebar {
    width: 270px;
    border-right: 1px solid #f0f0f0;
    padding-right: 14px;
    box-shadow: 8px 0 16px -12px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 180px);
    overflow: hidden;
}

.nt-customize-subtab-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 16px;
}

/* Case Study: form list scrolls, "Add / remove forms" stays pinned under it */
.nt-case-study-layout-card .nt-customize-subtab-menu {
    flex: 1 1 auto;
    min-height: 0;
}

.nt-case-study-forms-control {
    flex: 0 0 auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.nt-case-study-forms-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary-color);
    text-align: left;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nt-case-study-forms-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 8px 20px var(--primary-light);
    transform: translateY(-1px);
}

.nt-case-study-forms-btn:focus {
    outline: none;
}

.nt-case-study-forms-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nt-case-study-forms-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.nt-case-study-forms-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nt-case-study-forms-btn:hover .nt-case-study-forms-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.nt-case-study-forms-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.nt-case-study-forms-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.nt-case-study-forms-btn:hover .nt-case-study-forms-title {
    color: var(--primary-color);
}

.nt-case-study-forms-summary {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-case-study-forms-chevron {
    flex: 0 0 auto;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nt-case-study-forms-btn:hover .nt-case-study-forms-chevron {
    opacity: 1;
    transform: translateX(2px);
}

.nt-customize-subtab-item {
    width: 100%;
    list-style: none;
    border: 1px solid #e5e9f2;
    background: #f7f9fb;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
    border-bottom-width: 1px;
}

.nt-customize-subtab-item:not(.active):not(.disabled):hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(0, 93, 170, 0.12);
}

.nt-customize-subtab-item.active {
    cursor: default;
    pointer-events: none;
    width: 100%;
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-bottom-width: 1px;
    box-shadow: 0 10px 24px var(--primary-light);
    font-weight: 600;
}

/* Content Area */
.nt-form-card {
    flex: 1;
    padding: 0 40px;
}

.nt-case-study-form-sticky-action {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e6ebf2;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.nt-case-study-form-sticky-action .btn {
    min-width: 220px;
}

.nt-case-study-form-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: calc(100vh - 180px);
    overflow: hidden;
    padding: 0;
}

.nt-case-study-layout-card .nt-main-flex {
    align-items: stretch;
}

.nt-case-study-form-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 40px 0px;
}

.nt-case-study-form-scroll .select-wrapper,
.nt-case-study-form-scroll .input-label-v2 {
    position: relative;
}

.nt-case-study-form-scroll .custom-dropdown-menu,
.nt-case-study-form-scroll .select2-container--open .select2-dropdown {
    z-index: 140 !important;
}

/* Medical Assessment V3: Major Symptoms dropdown should use light grey borders */
.nt-medical-wrapper #update-patient-details-form .select2-container--open .select2-dropdown,
.nt-medical-wrapper #update-patient-details-form .select2-container--open .select2-search--dropdown .select2-search__field,
.nt-medical-wrapper #update-patient-details-form .select2-container--open .select2-results__option {
    border-color: #ced4da !important;
}

/* Case Study vitals (Height feet / inches) sit inside .category-wrapper but have no clear icon:
   don't reserve the clear-icon space below, the columns are too narrow for it. */
.nt-medical-wrapper .category-wrapper .nt-case-study-vitals-form .select2-container--default .select2-selection--single {
    padding-right: 0;
}

/* Case Study vitals: unit captions (Feet / Inches / Cm, Kg / Lbs ...) under the question label */
.nt-case-study-vitals-form .nt-vitals-fields .nt-vitals-unit-label {
    font-size: 13px;
    color: #6c757d !important;
    margin-bottom: 4px;
}

/* "or" / "/" between unit fields, vertically centred on the inputs (below the unit caption) */
.nt-case-study-vitals-form .nt-vitals-separator {
    padding-top: 34px;
    color: #6c757d;
    font-size: 14px;
}

/* Case Study dynamic dropdown: keep clear icon at far right like textarea clear affordance */
.nt-medical-wrapper .category-wrapper .select2-container--default .select2-selection--single {
    position: relative;
    padding-right: 42px;
}

.nt-medical-wrapper .category-wrapper .select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    float: none;
    z-index: 2;
}

/* Case Study dynamic dropdown: selected option/value should be bold */
.nt-medical-wrapper .category-wrapper .select2-container--has-value .select2-selection__rendered,
.nt-medical-wrapper .category-wrapper .select2-container--default .select2-results__option--selected {
    font-weight: 700 !important;
}

/* Manual nadi keywords field should always look like placeholder text */
.nt-medical-wrapper #keywords-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #aeb8c2 !important;
    font-weight: 400 !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 14px !important;
}

/* Medical Assessment V3: show text cursor + visible caret in editable fields */
.nt-medical-wrapper input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not(:disabled):not([readonly]),
.nt-medical-wrapper textarea:not(:disabled):not([readonly]) {
    cursor: text;
    caret-color: #111827;
}

/* Case Study patient details: keep Feet/Inches visibly greyed when field is disabled */
.nt-medical-wrapper #height_feet:disabled + .select2-container .select2-selection--single,
.nt-medical-wrapper #height_inches:disabled + .select2-container .select2-selection--single {
    background: #e9e8ea !important;
    border-color: #e2e8f0 !important;
    color: #8b95a1 !important;
    cursor: not-allowed !important;
}

.nt-medical-wrapper #height_feet:disabled + .select2-container .select2-selection__rendered,
.nt-medical-wrapper #height_inches:disabled + .select2-container .select2-selection__rendered {
    color: #8b95a1 !important;
}

.nt-medical-wrapper #height_feet:disabled + .select2-container .select2-selection__clear,
.nt-medical-wrapper #height_inches:disabled + .select2-container .select2-selection__clear,
.nt-medical-wrapper #height_feet:disabled + .select2-container .select2-selection__arrow,
.nt-medical-wrapper #height_inches:disabled + .select2-container .select2-selection__arrow {
    opacity: 0.45;
    pointer-events: none;
}

/* Case Study patient details lock: show not-allowed cursor on all disabled fields */
.nt-medical-wrapper #update-patient-details-form input:disabled,
.nt-medical-wrapper #update-patient-details-form select:disabled,
.nt-medical-wrapper #update-patient-details-form textarea:disabled,
.nt-medical-wrapper #update-patient-details-form button:disabled,
.nt-medical-wrapper #update-patient-details-form .select2-container--disabled .select2-selection {
    cursor: not-allowed !important;
}

.nt-info-banner {
    background: #f1f3f4;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}

.nt-info-img img {
    width: 18px;
    height: 18px;
}

.nt-form-body {
    margin-top: 35px;
}

.nt-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.nt-input-group label {
    display: block;
    font-size: 12px;
    color: #bbb;
    margin-bottom: 8px;
}

.nt-select, .nt-input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--nt-border);
    border-radius: 6px;
    padding: 0 12px;
    background: #fafafa;
    color: #555;
    outline: none;
}

.nt-custom-input-wrapper {
    display: flex;
    gap: 12px;
}

.nt-btn-add {
    background: var(--nt-light-teal);
    color: #444;
    border: 1px solid #b2ebf2;
    padding: 0 20px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}

.nt-btn-save {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.nt-form-footer {
    display: flex;
    justify-content: center;
}
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
/* Container for the 50-50 tabs */
.nadi-horizontal-tabs {
    display: flex;
    width: 100%;
    background-color: #f8f9fa; /* Light grey background */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* margin-bottom: 20px; */
    overflow: hidden;
}
.nadi-sub-item {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color:rgb(73, 80, 87);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

/* Active State - Teal Color */
.nadi-sub-item.active {
    background-color: #ffffff;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    cursor: default;
    pointer-events: none;
}

/* Hover Effect */
.nadi-sub-item:hover:not(.active) {
    background-color: #f1f1f1;
}

/* Blank Content Card */
.nt-blank-card {
    background: #fff;
    min-height: 300px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.nt-nadi-restart-warning {
    display: none;
    align-items: center;
    gap: 14px;
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 74px !important;
    left: 16px !important;
    z-index: 10050 !important;
    width: min(520px, calc(100vw - 32px));
    min-height: 82px;
    margin: 0;
    padding: 16px 52px 16px 24px;
    border: 1px solid #8a6500 !important;
    border-radius: 8px !important;
    background: #fff0c2 !important;
    color: #8a6500 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.nt-nadi-restart-warning.show {
    display: flex !important;
}

.nt-nadi-restart-warning::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: #8a6500;
}

.nt-nadi-restart-warning.show::after {
    width: 100%;
    animation: nt-nadi-warning-progress 10s linear forwards;
}

@keyframes nt-nadi-warning-progress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

.nt-nadi-restart-warning__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    box-sizing: border-box;
    border: 4px solid #8a6500;
    border-radius: 50%;
    color: #8a6500;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.nt-nadi-restart-warning strong {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
}

.nt-nadi-restart-warning__close {
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent url('/images/nt_v2/common/error_close_icon_red.svg') center / 24px 24px no-repeat !important;
    opacity: 1;
    box-shadow: none !important;
    filter: brightness(0) saturate(100%) !important;
}
.comman-btn-style{
    background: white;
    color: var(--primary-color) !important;
    border: rebeccapurple;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px;
}
.comman-btn-style:hover{
    background: white;
    color: var(--primary-color);
    background-color: var(--primary-light) !important;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
}
.comman-btn-style-color{
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px !important;
}
.comman-btn-style-color:hover{
    color: white;
    background-color: var(--primary-dark) !important;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
}
.nt-top-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #dee2e6; 
}

.progress {
    background-color: #f8f9fa; 
    box-shadow: none;
    overflow: hidden;
}
.color-progress {
    color: var(--primary-color-filter);
    font-weight: 900;
    font-size: 11px;
}
.edit-icon-prescription{
    filter: invert(58%) sepia(90%) saturate(1800%) hue-rotate(150deg) brightness(95%) contrast(101%);
}
.prescription-action-btn{
    display: flex   ;
}
#progress-v3 {
    height: 10px;
    border-radius: 999px;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    margin-bottom: 12px;
}

#progress-v3 .progress-bar {
    min-width: 64px;
}

#progress-v3 .progress-bar[aria-valuenow="0"] {
    min-width: 0;
}

/* Medical assessment 4-tab arrow stepper */
.nt-top-tabs.nt-stepper-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 12px;
    padding: 8px 10px !important;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid transparent;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item {
    position: relative;
    flex: 1 1 0;
    min-width: 160px;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    justify-content: center;
    text-align: center;
    gap: 4px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
    filter: drop-shadow(1px 0 0 var(--primary-color))
            drop-shadow(-1px 0 0 var(--primary-color))
            drop-shadow(0 1px 0 var(--primary-color))
            drop-shadow(0 -1px 0 var(--primary-color));
    z-index: 1;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item:first-child {
    filter: drop-shadow(1px 0 0 var(--primary-color))
            drop-shadow(0 1px 0 var(--primary-color))
            drop-shadow(0 -1px 0 var(--primary-color));
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item:last-child {
    filter: drop-shadow(-1px 0 0 var(--primary-color))
            drop-shadow(0 1px 0 var(--primary-color))
            drop-shadow(0 -1px 0 var(--primary-color));
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item:first-child {
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding-left: 20px;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item::before,
.nt-top-tabs.nt-stepper-tabs .nt-tab-item::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: inherit;
    pointer-events: none;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item::before {
    background: var(--primary-color);
    z-index: -2;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item::after {
    inset: 1px;
    background: #ffffff;
    z-index: -1;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.active {
    background: transparent;
    color: #ffffff;
    z-index: 2;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.completed {
    background: transparent;
    color: var(--primary-color);
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.active::after {
    background: var(--primary-color);
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.completed::after {
    background: var(--primary-light);
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item:not(.disabled):hover {
    transform: none;
    box-shadow: none;
    border-radius: 0;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item .nt-img-icon {
     display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item .nt-img-icon img {
    width: 18px;
    height: 18px;
    filter: var(--primary-color-filter);
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.completed .nt-img-icon img {
    filter: var(--primary-color-filter);
    opacity: 0.9;
}

.nt-top-tabs.nt-stepper-tabs .nt-tab-item.active .nt-img-icon img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Medical Assessment V3: make left report partition full-height with content */
.nt-report-layout-flex {
    align-items: stretch;
}

.nt-report-layout-flex .nt-customize-subtab-sidebar {
    align-self: stretch;
    max-height: none;
}

.nt-report-layout-flex .nt-customize-subtab-menu {
    height: 100%;
}

/* Medical Assessment V3: make Treatment sidebar partition full-height */
.nt-treatment-layout-flex {
    align-items: stretch;
}

.nt-treatment-layout-flex .nt-customize-subtab-sidebar {
    align-self: stretch;
    max-height: none;
}

.nt-treatment-layout-flex .nt-customize-subtab-menu {
    height: 100%;
}

@media (max-width: 768px) {
    .nt-top-tabs.nt-stepper-tabs .nt-tab-item {
        min-width: 140px;
        font-size: 13px;
        padding: 10px 14px;
    }

    .nt-case-study-form-sticky-action {
        padding: 10px 12px;
        width: 100%;
    }

    .nt-case-study-form-card {
        max-height: calc(100vh - 220px);
    }

    .nt-case-study-form-scroll {
        padding: 0 16px 160px;
    }
}
