.psy-crm-select {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    vertical-align: top;
}

.psy-crm-select--filter {
    width: auto;
    min-width: 140px;
}

.psy-crm-select--sort {
    min-width: 196px;
}

.psy-crm-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.psy-crm-select__btn {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 8px 36px 8px 12px;
    border-radius: 5px;
    border: 1px solid #666;
    font-size: 16px;
    background: #fff;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
}

.psy-crm-select--status .psy-crm-select__btn {
    min-height: 36px;
    padding: 6px 32px 6px 10px;
    font-size: 14px;
}

.psy-crm-select__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.psy-crm-select__btn::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 13px;
    height: 13px;
    margin-top: -6.5px;
    background: url("../img/personal/select.svg") center / contain no-repeat;
    opacity: 0.8;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.psy-crm-select.is-open .psy-crm-select__btn::after {
    transform: rotate(180deg);
}

.psy-crm-select__btn:hover,
.psy-crm-select.is-open .psy-crm-select__btn {
    border-color: var(--color-primary, #9AC355);
    background-color: rgba(154, 195, 85, 0.18);
}

.psy-crm-select__list {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1200;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
}

.psy-crm-select__option {
    padding: 7px 12px;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.psy-crm-select__option:first-child {
    border-radius: 4px 4px 0 0;
}

.psy-crm-select__option:last-child {
    border-radius: 0 0 4px 4px;
}

.psy-crm-select__option:only-child {
    border-radius: 4px;
}

.psy-crm-select__option:hover,
.psy-crm-select__option:focus {
    background-color: rgba(154, 195, 85, 0.18);
}

.psy-crm-select__option[aria-selected="true"] {
    background-color: rgba(154, 195, 85, 0.28);
    font-weight: 500;
}

.psy-crm-select__list[hidden] {
    display: none !important;
}

.psy-crm-select.is-disabled .psy-crm-select__btn,
.psy-crm-select__btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #f8f8f8;
}
