
.ss-container {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 0.9rem;
    text-align: left;
}

.ss-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.ss-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ss-trigger:hover:not(:disabled) {
    border-color: #9ca3af;
}

.ss-trigger:focus,
.ss-open .ss-trigger {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.ss-trigger:disabled,
.ss-disabled .ss-trigger {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.ss-label {
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ss-label.ss-placeholder {
    color: #9ca3af;
}

.ss-clear {
    flex: 0 0 auto;
    padding: 0 0.25rem;
    color: #9ca3af;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

.ss-clear:hover {
    color: #ef4444;
}

.ss-arrow {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #6b7280;
    transition: transform 0.15s ease;
}

.ss-open .ss-arrow {
    transform: rotate(180deg);
}

.ss-dropdown {
    position: absolute;
    z-index: 1060;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.ss-dropdown[hidden] {
    display: none;
}

.ss-search-wrap {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.ss-search {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    color: #111827;
}

.ss-search:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.ss-options {
    max-height: 240px;
    margin: 0;
    padding: 0.25rem;
    overflow-y: auto;
    list-style: none;
}

.ss-option {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    color: #111827;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ss-option-active {
    background: #ecfdf5;
}

.ss-option-selected {
    background: #059669;
    color: #fff;
    font-weight: 500;
}

.ss-option-selected.ss-option-active {
    background: #047857;
}

.ss-option-disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.ss-empty {
    padding: 0.75rem 0.65rem;
    color: #6b7280;
    text-align: center;
}

.ss-option .user-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ss-option .user-option i {
    color: #6b7280;
}

.ss-option-selected .user-option i {
    color: #d1fae5;
}
