﻿.soap-accordion-wrapper {
    /* PayDC theme-aligned defaults. Light mode values come from variable.css. */
    --soap-shadow: 0 1px 4px rgba(16, 24, 40, .06);
    --soap-chip-text: #344054;
    --soap-chip-default-bg: #eef4ff;
    --soap-chip-default-border: #d6e2ff;
    --soap-chip-spinal-bg: #fce7f3;
    --soap-chip-spinal-border: #f9a8d4;
    --soap-chip-extremity-bg: #dbeafe;
    --soap-chip-extremity-border: #bfdbfe;
    --soap-chip-soft-bg: #fef3c7;
    --soap-chip-soft-border: #fde68a;
    --soap-chip-assessment-bg: #d1fae5;
    --soap-chip-assessment-border: #a7f3d0;
    --soap-subjective-tab-bg: #fff7ed;
    --soap-subjective-tab-selected-bg: #ffedd5;
    --soap-subjective-tab-border: #fed7aa;
    --soap-subjective-accent: #f97316;
    --soap-subjective-accent-text: #c2410c;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding-right: .75rem;
}

/* PayDC dark mode is controlled by body.dark in dark-mode.css. */
body.dark .soap-accordion-wrapper {
    --soap-shadow: none;
    --soap-chip-text: var(--primaryTextColor);
    --soap-chip-default-bg: rgba(45, 96, 255, .20);
    --soap-chip-default-border: rgba(183, 199, 255, .45);
    --soap-chip-spinal-bg: rgba(236, 72, 153, .20);
    --soap-chip-spinal-border: rgba(249, 168, 212, .52);
    --soap-chip-extremity-bg: rgba(45, 96, 255, .20);
    --soap-chip-extremity-border: rgba(183, 199, 255, .45);
    --soap-chip-soft-bg: rgba(245, 158, 11, .22);
    --soap-chip-soft-border: rgba(253, 230, 138, .48);
    --soap-chip-assessment-bg: rgba(16, 185, 129, .20);
    --soap-chip-assessment-border: rgba(167, 243, 208, .48);
    --soap-subjective-tab-bg: rgba(251, 146, 60, .12);
    --soap-subjective-tab-selected-bg: rgba(251, 146, 60, .22);
    --soap-subjective-tab-border: rgba(253, 186, 116, .5);
    --soap-subjective-accent: #fb923c;
    --soap-subjective-accent-text: #fed7aa;
}

.soap-accordion-section {
    background: var(--white);
    border: 1px solid var(--borderColor);
    border-left-width: 5px;
    border-radius: 6px;
    overflow: visible;
    box-shadow: var(--soap-shadow);
    position: relative;
    overflow: auto !important;
}

    .soap-accordion-section.subjective-section {
        border-left-color: var(--soap-subjective-color) !important;
        border-color: var(--soap-subjective-color);
    }

    .soap-accordion-section.objective-section {
        border-left-color: var(--soap-objective-color);
        border-color: var(--soap-objective-color);
    }

    .soap-accordion-section.assessment-section {
        border-left-color: var(--soap-assessment-color);
        border-color: var(--soap-assessment-color);
    }

    .soap-accordion-section.plan-section {
        border-left-color: var(--soap-plan-color);
        border-color: var(--soap-plan-color);
    }

.soap-accordion-header {
    width: 100%;
    min-height: 46px;
    border: 0;
    color: var(--primaryTextColor);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    padding: .5rem .5rem;
    text-align: left;
    cursor: pointer;
    background: none;
}

.assessment-header-listbox .k-nodata {
    display: none;
}

.soap-accordion-section .bodyparts-div {
    padding: 1rem 2rem;
    background: var(--bodyColor);
}

.soap-accordion-section .subject-body {
    background: var(--white);
}

.soap-accordion-section .subject-body-width {
    width: 300px;
}

.soap-accordion-section.expanded .soap-accordion-header {
    border-bottom: 1px solid var(--borderColor);
    background: var(--white);
}

.soap-section-left {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 116px;
    min-width: 116px;
}

.complaints-note-area .k-input {
    border-color: #dbdbdb !important;
}

.soap-section-title {
    font-weight: 700;
    color: var(--primaryTextColor);
    font-size: 1rem;
}

.soap-summary-chip-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .4rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.soap-summary-chip-grid {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
}

.soap-summary-chip-group {
    min-height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    overflow: hidden;
    padding: 8px 10px;
    background: transparent;
    width: auto;
    max-width: 42%;
    flex: 1 auto;
}

    .soap-summary-chip-group.spinal-group {
        background: #e6e3f7;
    }

    .soap-summary-chip-group.em-group {
        background: #fbeed3;
    }

    .soap-summary-chip-group.extremity-group {
        background: #f1f8b5;
    }

    .soap-summary-chip-group.procedure-group {
        background: #ffe6e6;
    }

    .soap-summary-chip-group.diagnostic-group {
        background: #cad9ff;
    }

    .soap-summary-chip-group.soft-tissue-group,
    .soap-summary-chip-group.exam-group {
        background: #f4e7f8 !important;
    }

.symptoms-div .k-chip {
    min-width: auto;
    max-width: 140px;
}

.spinal-group .soap-summary-chip {
    background: #c0b4ff;
    color: #604817;
    border: none;
}

.em-group .soap-summary-chip {
    background: #eecc87;
    color: #282828;
    border: none;
}

.extremity-group .soap-summary-chip {
    color: #282828;
    background: #dae94e;
    border: 0;
}

.procedure-group .soap-summary-chip {
    color: #6c1c1c;
    background: #ffafaf;
    border: 0;
}

.soft-tissue-group .soap-summary-chip, .exam-group .soap-summary-chip {
    background: #e7bff3;
    color: #391545;
    border: none;
}

    .soft-tissue-group .soap-summary-chip:hover {
        background: #d796eb;
    }

.diagnostic-group .soap-summary-chip {
    background: #8aabff;
    color: #1a2a54;
    border: none;
}

.assessment-group .soap-summary-chip {
    background: var(--soap-chip-assessment-bg);
    border-color: var(--soap-chip-assessment-border);
}

.soap-summary-chip-group.assessment-group {
    background: rgba(16, 185, 129, .10);
}

.soap-summary-chip {
    background: var(--soap-chip-default-bg);
    color: var(--soap-chip-text);
    border: 1px solid var(--soap-chip-default-border);
    border-radius: 999px;
    padding: .18rem .5rem;
    font-size: .76rem;
    line-height: 1.15;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subjective-figma-header {
    padding-top: 6px;
    padding-bottom: 4px;
}

.subjective-complaint-tab-container {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 1 auto;
    max-width: calc(100% - 130px);
    overflow: auto;
}

.subjective-section .kebab-menu-button {
    transform: rotate(0deg);
    font-size: 18px;
}

    .subjective-section .kebab-menu-button:hover {
        background: var(--soap-subjective-tab-selected-bg);
    }

.subjective-header-listbox.k-listbox.k-listbox-actions-right {
    width: fit-content !important;
    height: fit-content;
    max-height: 54px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--primaryTextColor) !important;
}

.subjective-header-listbox .k-list-scroller,
.subjective-header-listbox .k-list-content,
.subjective-header-listbox .k-list-ul {
    background: transparent !important;
    border: 0 !important;
}

.subjective-header-listbox .k-list-ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: .4rem;
}

.subjective-header-listbox .k-list-item {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--primaryTextColor) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

    .subjective-header-listbox .k-list-item.k-selected,
    .subjective-header-listbox .k-list-item.k-focus,
    .subjective-header-listbox .k-list-item:hover,
    .subjective-header-listbox .k-list-item.k-hover {
        background: transparent !important;
        color: var(--primaryTextColor) !important;
        box-shadow: none !important;
    }

.subjective-header-listbox .k-listbox,
.subjective-header-listbox .k-listbox-content,
.subjective-header-listbox .k-list {
    /* background: transparent !important;
                border: 0 !important;
                height: auto !important;
                min-height: 0 !important;
                max-height: 54px !important; */
    /* overflow: visible !important;  */
}

.subjective-header-listbox .k-listbox-toolbar,
.subjective-header-listbox .k-listbox-actions,
.subjective-header-listbox .k-listbox-toolbar-wrapper {
    display: none !important;
}

.subjective-complaint-tab-shell {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    min-width: 145px;
    max-width: 215px;
    flex: 0 0 auto;
    cursor: grab;
}

    .subjective-complaint-tab-shell:active {
        cursor: grabbing;
    }

.subjective-complaint-tab {
    width: 100%;
    border: none;
    background: var(--soap-subjective-tab-selected-bg);
    border-radius: 5px;
    padding: 4px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--primaryTextColor);
    text-align: left;
    gap: 2px;
}

    .subjective-complaint-tab.selected {
        border: 1px solid var(--soap-subjective-accent);
        box-shadow: inset 0 0 0 1.2px var(--soap-subjective-accent);
    }

.subjective-complaint-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .1rem;
    min-width: 0;
}

.subjective-complaint-title {
    font-size: .77rem;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: normal;
}

.subjective-complaint-symptoms {
    font-size: .7rem;
    color: var(--secondaryTextColor);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subjective-complaint-menu {
    position: absolute;
    right: .22rem;
    top: .22rem;
    z-index: 1055;
}

.subjective-complaint-menu-btn {
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: var(--primaryTextColor);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    opacity: .85;
}

    .subjective-complaint-menu-btn:hover,
    .subjective-complaint-menu-btn:focus {
        background: rgba(148, 163, 184, .18);
        opacity: 1;
    }

.subjective-complaint-dropdown-menu {
    min-width: 9rem;
    font-size: .82rem;
    z-index: 1060;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .18);
    background: var(--white);
    border-color: var(--borderColor);
}

    .subjective-complaint-dropdown-menu .dropdown-item {
        color: var(--primaryTextColor) !important;
    }

.subjective-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    padding-right: .25rem;
    margin-left: auto;
    opacity: 1 !important;
}

.subjective-header-link,
.soap-accordion-wrapper .subjective-header-actions .subjective-header-link,
body:not(.dark) .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link {
    border: 0;
    background: transparent;
    color: #5f1b08 !important;
    font-size: .86rem;
    font-weight: 900 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    cursor: pointer;
    padding: .2rem .1rem;
    opacity: 1 !important;
    filter: none !important;
}

    .subjective-header-link:hover,
    .subjective-header-link:focus,
    body:not(.dark) .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link:hover,
    body:not(.dark) .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link:focus {
        color: #c2410c !important;
    }

body.dark .subjective-header-link,
body.dark .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link {
    color: #fed7aa !important;
    font-weight: 900 !important;
    opacity: 1 !important;
}

    body.dark .subjective-header-link:hover,
    body.dark .subjective-header-link:focus,
    body.dark .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link:hover,
    body.dark .soap-accordion-wrapper .subjective-header-actions button.subjective-header-link:focus {
        color: #fb923c !important;
    }

.subjective-add-complaint-btn {
    width: 34px;
    min-width: 44px;
    height: 41px;
    align-self: center;
    border: 1px dashed var(--soap-subjective-accent);
    background: var(--soap-subjective-tab-bg);
    color: var(--soap-subjective-color);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.complaint-resolved {
    text-decoration: line-through;
    color: var(--secondaryTextColor);
    background: #10cd2640;
    border: 0 !important;
    box-shadow: none !important;
}

.soap-accordion-body {
    padding: .85rem;
    background: var(--white);
    color: var(--primaryTextColor);
    border-bottom: 1px solid var(--borderColor);
    overflow: auto;
}

.assessment-figma-header {
    overflow: visible;
    position: relative;
}

.assessment-header-main {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    overflow: auto;
    justify-content: flex-start;
}

.assessment-section .soap-accordion-header {
    justify-content: flex-start !important;
}

.assessment-header-listbox {
    width: fit-content !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 36px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--primaryTextColor) !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: auto !important;
}

    .assessment-header-listbox .k-list-scroller,
    .assessment-header-listbox .k-list-content,
    .assessment-header-listbox .k-list-ul {
        background: transparent !important;
        border: 0 !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 36px !important;
        width: auto !important;
        max-width: max-content !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

    .assessment-header-listbox .k-list-ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: .4rem;
        padding: 8px 10px !important;
        width: fit-content !important;
        background: #e8f6e0 !important;
        border-radius: 4px;
        min-width: 500px;
    }

    .assessment-header-listbox .k-list-item {
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--primaryTextColor) !important;
        box-shadow: none !important;
        display: inline-flex !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }

        .assessment-header-listbox .k-list-item.k-selected,
        .assessment-header-listbox .k-list-item.k-focus,
        .assessment-header-listbox .k-list-item:hover,
        .assessment-header-listbox .k-list-item.k-hover {
            background: transparent !important;
            color: var(--primaryTextColor) !important;
            box-shadow: none !important;
        }

    .assessment-header-listbox .k-listbox,
    .assessment-header-listbox .k-listbox-content,
    .assessment-header-listbox .k-list {
        background: transparent !important;
        border: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 36px !important;
        overflow: visible !important;
    }

    .assessment-header-listbox .k-listbox-toolbar,
    .assessment-header-listbox .k-listbox-actions,
    .assessment-header-listbox .k-listbox-toolbar-wrapper {
        display: none !important;
    }



    .assessment-header-listbox .k-listbox,
    .assessment-header-listbox .k-listbox-content,
    .assessment-header-listbox .k-list,
    .assessment-header-listbox .k-list-scroller,
    .assessment-header-listbox .k-list-content {
        width: auto !important;
        max-width: max-content !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

.assessment-section .soap-summary-chip-container,
.assessment-section .soap-summary-chip-grid {
    justify-content: flex-start !important;
    flex: 0 1 auto !important;
}

.assessment-diagnosis-chip-shell {
    display: inline-flex;
    align-items: center;
    max-height: 30px;
    cursor: grab;
}

    .assessment-diagnosis-chip-shell:active {
        cursor: grabbing;
    }

.assessment-diagnosis-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #beefa5;
    background: #beefa5;
    color: #1e4c06;
    border-radius: 50px;
    padding: 2px 6px;
    font-size: .75rem;
    max-width: 170px;
    cursor: pointer;
}

.assessment-diagnosis-code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assessment-diagnosis-remove {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    line-height: 1;
    color: #424242;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    touch-action: manipulation;
    user-select: none;
}

.complaints-note-area textarea.k-input-inner {
    height: 38px;
}

.assessment-diagnosis-remove:hover,
.assessment-diagnosis-remove:focus {
    background: rgba(239, 68, 68, .16);
    color: #ef4444;
    opacity: 1;
}

.range-card-area {
    width: 780px;
}

    .range-card-area .accordion {
        background: var(--bodyColor);
        border-radius: 3px;
        padding: 4px;
    }

    .range-card-area .custom-card-border {
        min-height: 180px;
        max-height: 230px;
        overflow: auto;
    }

    .range-card-area .k-slider .k-label, .assessment-slider.k-slider .k-label {
        font-size: 11px !important;
        color: var(--secondaryTextColor);
        bottom: -2em;
        text-align: center;
        word-wrap: break-word;
        text-wrap: wrap;
    }

/*    .rotatedText {
        display: block;
        transform: rotate(-35deg);
        transform-origin: top left;
        width: 90px;
        font-size: 11px;
        line-height: 1.15;
        white-space: normal;
        margin-top: 6px;
        text-align: left;
    }*/

.range-card-area1 {
    width: 780px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .range-card-area1 .k-slider .k-label {
        font-size: 11px !important;
        color: var(--secondaryTextColor);
        bottom: -2em;
        text-align: center;
        word-wrap: break-word;
        text-wrap: wrap;
    }

    .range-card-area1 .accordion {
        background: var(--bodyColor);
        border-radius: 3px;
        padding: 4px;
        margin-bottom: .5rem !important;
    }

        .range-card-area1 .accordion:last-child {
            margin-bottom: 0 !important
        }

    .range-card-area1 .custom-card-border {
        max-height: 290px;
        overflow: auto;
    }

.diagram-radio-inputs {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 10px;
}

    .diagram-radio-inputs .diagram-radio {
        flex: 1 1 auto;
        text-align: center;
        min-width: 80px;
    }

        .diagram-radio-inputs .diagram-radio input {
            display: none;
        }

        .diagram-radio-inputs .diagram-radio .diagram-name {
            display: flex;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--borderColor);
            border-radius: 4px;
            padding: 6px 0;
            color: var(--primaryTextColor);
            transition: all .15s ease-in-out;
            font-size: .8rem;
        }

        .diagram-radio-inputs .diagram-radio input:checked + .diagram-name {
            background-color: var(--lightblue);
            font-weight: 600;
            border-color: var(--primaryColor);
        }

.increase-button .extermityCheckBox, .decrease-button .extermityCheckBox, .NA-button .extermityCheckBox {
    min-width: 3rem !important;
}

.increase-button .extermity-CheckBoxInput:checked + .customCheckBoxWrapper .extermityCheckBox {
    background: #FFD2CF;
    border: none;
    background-image: linear-gradient(147deg, #990000 0%, #ff0000 74%);
}

.decrease-button .extermity-CheckBoxInput:checked + .customCheckBoxWrapper .extermityCheckBox {
    background: #E5F7CA;
    border: none;
    background-image: linear-gradient(139deg, #378b29 0%, #74d680 74%);
}

.NA-button .extermity-CheckBoxInput:checked + .customCheckBoxWrapper .extermityCheckBox {
    background-image: linear-gradient(136deg, #ebddb4 6%, #b58f43 55%, #ebddb4 100%);
    border: none;
    color: #fff;
}

.increase-button .extermityCheckBox:hover, .decrease-button .extermityCheckBox:hover, .NA-button .extermityCheckBox:hover {
    background: var(--lightblue);
    border: 1px solid var(--borderColor);
}

.soapnote-history .k-tabstrip-item .k-svg-icon {
    background: green;
    color: #fff;
    border-radius: 50%;
    padding: 2px;
}

.slider-radio-inputs {
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 1rem;
}

    .slider-radio-inputs .slider-radio {
        text-align: center;
    }

        .slider-radio-inputs .slider-radio input {
            display: none;
        }

        .slider-radio-inputs .slider-radio .name {
            display: flex;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            padding: .2rem 0;
            color: var(--primaryTextColor);
            transition: all .15s ease-in-out;
            border: 1px solid var(--borderColor);
            min-width: 68px;
        }

        .slider-radio-inputs .slider-radio input:checked + .name {
            color: #fff;
            background-image: linear-gradient(136deg, #ebddb4 6%, #b58f43 55%, #ebddb4 100%);
            font-weight: 600;
            border: none;
        }

        .slider-radio-inputs .slider-radio.popup-radio .name {
            padding: 6px 0;
        }

.diagnostic-empty-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 4px;
}

.refer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #62B2FD;
}

.refer-dotcolor-1 {
    background-color: #62B2FD;
}

.refer-dotcolor-2 {
    background-color: #9BDFC4;
}

.refer-dotcolor-3 {
    background-color: #F99BAB;
}

.refer-dotcolor-4 {
    background-color: #FFB44F;
}

.refer-dotcolor-5 {
    background-color: #9F97F7;
}

.refer-dotcolor-6 {
    background-color: #9F97F7;
}

.objective-card {
    min-width: 440px;
    height: 785px;
}

.selected-card-group {
    border: 1px solid var(--borderColor);
    display: flex;
    padding: 2px 6px;
    gap: 6px;
    border-radius: 4px;
    min-height: 30px;
    overflow: auto;
}

    .selected-card-group .selected-card.wid {
        min-width: fit-content;
        width: 40px;
    }

.exter-radio-group {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: .6rem;
}

.selected-card {
    background-color: #E9ECF1 !important;
    padding: 4px !important;
    min-width: 100px;
    text-align: left !important;
    border-radius: 2px !important;
    margin-bottom: 0.5rem;
    color: var(--primaryTextColor) !important;
    font-size: .8rem !important;
}

.extermity-card {
    overflow: auto;
    height: 96%;
}

.extermity-dropdown.show {
    height: 282px;
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    /*width: max-content;*/
    width: 280px;
    overflow: auto;
}

.extermity-L .extermityCheckBox, .extermity-R .extermityCheckBox {
    min-width: 30px;
}

.extermityCheckBox {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    font-size: .8rem;
    color: var(--primaryTextColor);
    display: flex;
    height: 24px;
    align-items: center;
    outline: none;
    justify-content: center;
    min-width: 110px;
    border: 1px solid var(--borderColor);
    transition: ease-in .2s;
}

    .extermityCheckBox:hover {
        border: 1px solid #e4d3a5;
        background: #e2d0a0;
        color: #424242;
    }

.extermity-CheckBoxInput {
    display: none;
}

    .extermity-CheckBoxInput:checked + .customCheckBoxWrapper .extermityCheckBox {
        background-image: linear-gradient(136deg, #ebddb4 6%, #b58f43 55%, #ebddb4 100%);
        color: #fff;
        font-weight: 600;
    }

        .extermity-CheckBoxInput:checked + .customCheckBoxWrapper .extermityCheckBox:hover {
            background-color: #FFE8B7;
        }

.spinal-checkbox {
    min-width: 60px;
}

.subject-body {
    border-radius: 6px;
    box-shadow: 0px 0px 6px 2px rgba(96, 97, 112, 0.16);
    min-width: 320px;
    transition: width .5s;
    max-width: 340px;
}

    .subject-body .btn-outline-custom {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .subject-body .custom-checkbox {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }

.subject-body-btn {
    background: var(--bodyColor);
    position: absolute;
    top: 10px;
    left: 10px;
}

.subject-body-collapse {
    border-radius: 6px;
    box-shadow: 0px 0px 6px 2px rgba(96, 97, 112, 0.16);
    width: 50px;
    height: 674px;
    transition: width .5s;
}

.subject-body-width {
    width: 320px;
}

.symptoms-div .k-input-solid .k-input-values .k-chip-solid-base {
    min-width: unset !important;
    max-width: unset !important;
}

.symptoms-card .search-form-control {
    max-width: 250px;
    justify-content: space-between;
}

.pain-multiselect-wid {
    max-width: 240px;
}

.slider-selected-content {
    background: #E9ECF1;
    padding: 2px 6px;
    color: #ED0303;
    font-size: .8rem;
    border-radius: 4px;
}

.custom-selection-checkbox {
    min-width: 210px;
}

.compliantlist-box .k-selected:hover .diagnosis-cards label span {
    color: #fff !important;
}

.long-term-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--borderColor);
    min-height: 100px;
}

    .long-term-goals .k-slider {
        width: 450px;
    }

.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul,
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul {
    display: flex;
    flex-flow: row;
    align-items: center;
}

    .soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li,
    .newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-weight: 500;
        font-size: .85rem;
    }

.soapnote-history.k-tabstrip div.k-tabstrip-content, .soapnote-history.k-tabstrip > .k-content,
.newcare-plan-tab.k-tabstrip div.k-tabstrip-content, .newcare-plan-tab.k-tabstrip > .k-content {
    border: 0 !important;
    height: fit-content;
}

.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:first-child,
.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(2),
.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(3),
.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(4),
.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:last-child,
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:first-child,
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(2),
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(3),
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:nth-child(4),
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:last-child {
    color: var(--primaryTextColor) !important;
}

.soapnote-history.k-tabstrip-top > .k-tabstrip-items-wrapper .k-tabstrip-item.k-active,
.newcare-plan-tab.k-tabstrip-top > .k-tabstrip-items-wrapper .k-tabstrip-item.k-active,
.soapnote-history.k-tabstrip .k-tabstrip-items-wrapper ul > li:hover,
.newcare-plan-tab.k-tabstrip .k-tabstrip-items-wrapper ul > li:hover {
    color: var(--primaryColor) !important;
}

.soapnote-history.k-tabstrip div.k-tabstrip-content:nth-child(2),
.soapnote-history.k-tabstrip div.k-tabstrip-content:nth-child(3),
.soapnote-history.k-tabstrip div.k-tabstrip-content:nth-child(4),
.soapnote-history.k-tabstrip div.k-tabstrip-content:nth-child(5),
.newcare-plan-tab.k-tabstrip div.k-tabstrip-content:nth-child(2),
.newcare-plan-tab.k-tabstrip div.k-tabstrip-content:nth-child(3),
.newcare-plan-tab.k-tabstrip div.k-tabstrip-content:nth-child(4),
.newcare-plan-tab.k-tabstrip div.k-tabstrip-content:nth-child(5) {
    border: 0 !important;
    padding: 1rem !important;
}

.soap-expand-icon {
    font-size: 26px !important;
    color: var(--primaryTextColor);
    width: 16px;
    display: inline-flex !important;
    justify-content: center;
}

.Rm-finding.k-tabstrip-top > .k-tabstrip-items-wrapper .k-tabstrip-item.k-active {
    background: var(--lightblue);
}

.compliant-list-div {
    width: 310px;
    min-width: 310px;
}

.complaints-note-area textarea {
    resize: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.provider-area-tab {
    display: none;
}

.compliantlist-box .k-listbox .k-list-scroller {
    border: none;
    height: 460px;
    background: none;
}

.compliantlist-box .k-list-item {
    margin-bottom: 6px;
    border-radius: 4px;
    background: #E9ECF1;
}

    .compliantlist-box .k-list-item.k-selected, .compliantlist-box .k-selected.k-list-optionlabel {
        background: var(--lightblue);
        border: 2px solid var(--primaryColor) !important;
    }

.assessment-goal-area-empty {
    height: 140px;
    overflow: auto;
}

.assessment-goal-area {
    max-height: 400px;
    overflow: auto;
}

.slider-body-div {
    min-width: 920px;
    width: 100%;
}

.casepage .accordion-item .accordion-button.collapsed {
    background: none !important;
}

.casepage .k-pdf-viewer-pages {
    height: 500px;
    min-height: 800px;
}

.case-overview-card {
    height: 172px;
    overflow: auto;
    padding: 1rem;
    box-shadow: 0px 0px 2px 0px rgba(40, 41, 61, 0.04), 0px 0px 8px 0px rgba(96, 97, 112, 0.16);
    border-radius: 4px;
    background-color: var(--white);
}

    .case-overview-card .k-listbox {
        width: 100%;
    }

.custom-date.e-control-wrapper {
    border: 1px solid #FFA318 !important;
    border-radius: 4px;
}

.custom-date .form-control {
    border: 0;
}

.quick-action-img {
    width: 2rem;
}

.case-recent-dt label {
    font-size: .7rem;
    color: var(--secondaryTextColor);
}

.soap-notes-list-card {
    font-size: .8rem;
    color: var(--primaryTextColor);
}

    .soap-notes-list-card .tags div {
        padding: 2px 6px;
        border-radius: 14px;
        font-size: .7rem;
    }

    .soap-notes-list-card .tags .Iexam, .soap-notes-list-card .tags .exam {
        background-color: #DFD8FD;
        color: #4343C4;
    }

    .soap-notes-list-card .tags .addendumlabel {
        background-color: #FFC5C5;
        color: #C02020;
    }

    .soap-notes-list-card .tags .unsigned {
        background-color: #FFC5C5;
        color: #C02020;
    }

    .soap-notes-list-card .tags .other-care-plan {
        background-color: #f8e6a0;
        color: #7f5f01;
    }

    .soap-notes-list-card .k-listbox {
        height: 172px;
    }

        .soap-notes-list-card .k-listbox .k-list-scroller {
            border-width: 0 !important;
        }

.ass-diag-area {
    height: calc(100% - 2rem);
}

.examination-listbox.k-listbox {
    height: calc(100vh - 15rem);
    min-height: 200px;
}

    .examination-listbox.k-listbox .k-list-scroller,
    .dt-listbox.k-listbox .k-list-scroller {
        height: 100%;
    }

.dt-listbox.k-listbox {
    height: calc(100vh - 39rem);
    min-height: 200px;
}

/* Outcomes Assessment (FRI / NDI / PCLBDQ) — ported verbatim from PayDC_PatientPortal_Client app.css
   so the provider's read-only view matches what the patient saw. */

.badge-green {
    color: #1B6F14 !important;
    background-color: #F7FFEA;
    border: 1px solid #C9DCAA;
}

.badge-orange {
    color: #AA6B0C !important;
    background-color: #FFE3B8;
    border: 1px solid #FED18D;
}

.badge-gray {
    color: #4B4B4B !important;
    background-color: #E7E7E7 !important;
    border: 1px solid #CBCBCB !important;
}

.score-summary {
    background: var(--lightblue);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.score-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primaryColor);
}

.slider-card {
    background: var(--bodyColor);
    padding: 1rem;
    border-radius: 4px;
    padding-bottom: 4rem;
}

.signature-field {
    border-bottom: 1px solid var(--primaryTextColor);
    height: 30px;
    margin-bottom: 0.5rem;
}

.office-box {
    border: 1px solid var(--borderColor);
    padding: 1rem 1.5rem;
    background: var(--bodyColor);
    border-radius: 4px;
}

/* Six-point assessment questions (NDI / PCLBDQ read-only option cards) */

.assessment-option-list {
    display: grid;
    gap: 0.75rem;
}

.assessment-option {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: var(--bodyColor);
    border: 1px solid var(--borderColor);
    border-radius: 4px;
    color: var(--primaryTextColor);
    cursor: default;
    font-size: .75rem;
    font-weight: 500;
    gap: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .assessment-option-selected,
    .assessment-option:has(.assessment-option-radio:checked) {
        background-color: var(--lightblue);
        border-color: var(--primaryColor);
        color: #424242;
    }

.assessment-option-radio {
    accent-color: var(--primaryColor);
    cursor: default;
    flex: 0 0 auto;
    height: 1.2rem;
    margin: 0;
    width: 1.2rem;
}

.fri-card .assessment-slider.k-slider .k-label {
    min-width: 100px;
    bottom: -4em;
}

    .fri-card .assessment-slider.k-slider .k-label span {
        line-height: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
