.saas-device-planning-sider {
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  width: 240px;
  min-height: 0;
  padding: 16px;
  background: #fff;
  border-right: 1px solid #f0f0f0;

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  &__title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.88);
  }

  &__list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: auto;
  }

  &__loading {
    display: flex;
    justify-content: center;
    padding: 24px 0;
  }
}

.saas-device-planning-workarea-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;

  &:hover {
    background: #f8fbff;
    border-color: #d6e4ff;
  }

  &.is-selected {
    background: #e6f4ff;
    border-color: #91caff;
  }

  &.is-dragging {
    opacity: 0.6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  &__drag {
    color: rgba(0, 0, 0, 0.25);
    cursor: grab;
  }

  &__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.88);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__more {
    flex: 0 0 auto;
  }
}
