.org-selector-wrapper {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.org-selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: var(--sidebar-text, #e2e8f0);
    cursor: pointer;
    font-size: 12px;
    text-align: left;
    transition: all 0.15s;
}

.org-selector-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.org-selector-icon {
    color: #818cf8;
    font-size: 12px;
    flex-shrink: 0;
}

.org-selector-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.org-selector-arrow {
    font-size: 10px;
    color: var(--text-muted, #94a3b8);
    flex-shrink: 0;
    transition: transform 0.15s;
}

.org-selector-dropdown {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: var(--surface-secondary, #1e293b);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 1000;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.org-selector-search {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.org-selector-search input {
    width: 100%;
    padding: 6px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: var(--sidebar-text, #e2e8f0);
    font-size: 12px;
    outline: none;
    box-sizing: border-box;
}

.org-selector-search input:focus {
    border-color: #818cf8;
}

.org-selector-search input::placeholder {
    color: var(--text-muted, #64748b);
}

.org-selector-list {
    overflow-y: auto;
    max-height: 320px;
    padding: 4px 0;
}

.org-selector-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 2px 8px;
}

.org-node-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    color: var(--sidebar-text, #cbd5e1);
    transition: background 0.1s;
    border-left: 2px solid transparent;
}

.org-node-item:hover {
    background: rgba(255,255,255,0.06);
}

.org-node-item.selected {
    background: rgba(99,102,241,0.15);
    border-left-color: #818cf8;
    color: var(--sidebar-text, #e2e8f0);
    font-weight: 500;
}

.org-node-item.org-node-reset {
    padding: 8px 12px;
    font-weight: 500;
    color: var(--sidebar-text, #e2e8f0);
}

.org-node-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-node-code {
    color: var(--text-muted, #64748b);
    font-size: 10px;
    margin-left: 6px;
    flex-shrink: 0;
}
