.multiUserSelect-wrapper {
    position: relative;
    width: 100%;
}

/* Main box */
.multiUserSelect-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* 👈 ensures items start from the top */
    border: 1px solid var(--im-login-input-border);
    border-radius: 4px;
    background-color: white;
    font-family: var(--im-font-family);
    width: 100%;
    min-height: 34px;
    box-sizing: border-box;
    padding: 4px 8px 0px 8px; /* 👈 no bottom padding -> fixes center issue */
    cursor: text;
}

/* Selected tags */
.multiUserSelect-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
}

/* Input */
.multiUserSelect-input {
    flex: 1;
    min-width: 80px;
    border: none;
    outline: none;
    background: transparent;
    height: 28px;
    line-height: 28px; /* 👈 baseline fix */
    padding: 0;
    margin: 0;
    align-self: flex-start;
    vertical-align: top;
    font-size: 14px;
}

/* Tag style */
.multiUserSelect-tag {
    display: flex;
    align-items: center;
    background: var(--primary-color);
    border: 1px solid #90caf9;
    color: #fff;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 13px;
    height: 24px;
    line-height: 1;
    white-space: nowrap;
}

.multiUserSelect-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    margin-left: 4px;
    padding: 0;
}

/* Dropdown */
.multiUserSelect-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--im-login-input-border);
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    font-family: var(--im-font-family);
}

.multiUserSelect-item {
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.multiUserSelect-item:hover {
    background: #f3f6f9;
}
