.eControls .eComboBox {
    & .k-combobox {
        width: 100%;
        border-radius: var(--radius-lg);
        border: 1px solid var(--gray-300);
        background: transparent;
        font-weight: 400;
        min-height: 40px;
        max-width: var(--eComboBoxMaxW, 100%);
    }

    & .k-button-solid-base {
        background: transparent;
        border: none; 
    }

    & .k-focus {
        border: 1px solid var(--brand-600);
        box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05), 0 -2px 0 0 rgba(10, 13, 18, 0.05) !important;
    }

    & .k-i-arrow-s::before {
        content: "\e015";
        color: var(--gray-500);
    }

    & .k-input-inner {
        font-size: 16px;
        font-weight: 500;
        color: var(--gray-900);
    }

    & .k-clear-value + .k-clear-value {
        display: none;
    }
}

.eControls .eComboBox {
    & select.custom-select {
        position: absolute;
        inset: 0;
        left: -9999px;
        opacity: 0;
        pointer-events: none;
        width: 100%;
        z-index: -1;
    }

    & .custom-select-wrapper {
        position: relative;
    }

    & .eComboBox-ui {
        position: relative;
        width: 100%;
    }

    & .eComboBox-ui__button {
        position: relative;
        width: 100%;
        min-height: 40px;
        padding: 4px 28px 4px 8px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--gray-300);
        background: var(--white);
        font-size: var(--font-size-text-md);
        line-height: var(--line-height-text-md);
        color: var(--gray-700);
        cursor: pointer;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 2;
    }

        & .eComboBox-ui__button:hover {
            border-color: rgba(0, 0, 0, 0.15);
        }

        & .eComboBox-ui__button:focus {
            outline: none;
            border-color: var(--brand-600);
            box-shadow: 0 0 0 0.2rem rgba(var(--brand-600), 0.25);
        }

    & .eComboBox-ui__value {
        font-size: 16px;
        font-weight: 500;
        color: var(--gray-900);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    & .eComboBox-ui__list {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 4px);
        margin: 0;
        padding: 4px 0;
        list-style: none;
        border: 3px double var(--brand-600); /*thick */
        border-radius: var(--radius-lg);
        background: var(--bg-color-accent);
        max-height: 360px;
        overflow: auto;
        z-index: 3;
        display: none;
    }

    &.is-open .eComboBox-ui__list {
        display: block !important;
    }

    & .eComboBox-ui__option {
        padding: 8px 12px;
        cursor: pointer;
        color: var(--gray-700);
        font-weight: 600;
        font-size: 14px;
    }

        & .eComboBox-ui__option:hover,
        & .eComboBox-ui__option:focus {
            outline: none;
            background-color: var(--brand-50);
        }

        & .eComboBox-ui__option[aria-selected="true"] {
            color: var(--brand-600);
        }

        & .eComboBox-ui__option[aria-disabled="true"] {
            color: var(--gray-300);
            cursor: not-allowed;
        }

    & .custom-select-wrapper .select-icon {
        position: absolute;
        top: 12px;
        right: 8px;
        width: 16px;
        height: 16px;
        pointer-events: none;
        z-index: 2;
    }

    & .eComboBox-ui__button:disabled {
        background: var(--gray-100, #f5f5f5);
        border-color: var(--gray-200, #e9eaeb);
        color: var(--gray-400, #9ca3af);
        cursor: default;
        opacity: 0.7;
    }

        & .eComboBox-ui__button:disabled:hover {
            border-color: var(--gray-200, #e9eaeb);
        }

        & .eComboBox-ui__button:disabled .eComboBox-ui__value {
            color: var(--gray-400, #9ca3af);
        }

    & .eComboBox-ui__button.is-placeholder .eComboBox-ui__value {
        color: var(--gray-400, #9ca3af);
        opacity: 0.7;
    }

    & .k-clear-value {
        visibility: visible !important;
    }

    & .k-clear-value.k-hidden {
        visibility: hidden !important;
        display: block !important;
    }
}

.eControls .k-popup {
    & .k-list-item-text::before,
    & .k-popup .k-list-optionlabel::before {
        content: "";
        width: 0;
        height: 0;
        overflow: hidden;
    }

    & .association-name,
    & .role-title {
        color: var(--gray-700);
        font-weight: 600;
        font-size: 14px;
    }

    & .k-selected .role-title,
    & .k-selected .association-name {
        color: var(--brand-600) !important;
    }

    & .k-focus.k-list-optionlabel,
    & .k-list-item.k-focus,
    & .k-list-item:focus,
    & .k-list-optionlabel:focus {
        border: none !important; /*1px solid var(--gray-300)*/
        background-color: var(--brand-50) !important;
        box-shadow: none !important;
    }

    & .k-selected.k-list-optionlabel {
        color: var(--brand-700) !important;
    }
}

.eControls .eComboBox__dash {
    & input {
        color: var(--brand-700);
    }

    & .k-combobox {
        border: none;
    }

    & .k-clear-value {
        visibility: visible !important;
    }

    & .k-clear-value.k-hidden {
        visibility: hidden !important;
        display: block !important;
    }

    & .k-input-solid:focus-within {
        box-shadow: none !important;
    }

    & .k-button {
        background: transparent;
        border: none;
    }

    & .k-button .k-icon:before {
        content: "";
        width: 20px;
        height: 20px;
        background-image: url("/images/DashArrow-icon.svg");
        background-origin: content-box;
        background-repeat: no-repeat;
        background-position: center;
    }

    & .k-button .k-icon svg {
        display: none;
    }
}