.sortable-wallet-pass-types {
  background: #fff;
  border-radius: 8px;

  &-disabled {
    pointer-events: none;
    opacity: 0.6;
  }
}

.sortable-wallet-pass-item {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: all 0.2s ease;
  cursor: grab;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background: #fafafa;
  }

  &:active {
    cursor: grabbing;
  }

  &-disabled {
    cursor: not-allowed;

    &:hover {
      background: #fff;
    }
  }

  &-hidden {
    .sortable-wallet-pass-title {
      opacity: 0.5;
    }
  }
}

.sortable-wallet-pass-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 18px;
  cursor: grab;
  line-height: 1;

  .drag-dots {
    display: inline-block;
  }

  &:active {
    cursor: grabbing;
  }
}

.sortable-wallet-pass-title {
  flex: 1;
  margin-right: 12px;
  display: flex;
  align-items: center;
  min-height: 36px;
  font-weight: bold;

  .pisell-text-editable {
    min-width: 120px;
  }
}

.sortable-wallet-pass-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;

  &:hover {
    background: #f5f5f5;
  }

  .eye-icon {
    font-size: 16px;
  }
}

// 拖拽时的样式
.sortable-wallet-pass-item[data-dnd-dragging='true'] {
  background: #e6f7ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  transform: rotate(3deg);
}

// 拖拽占位符样式
.sortable-wallet-pass-item[data-dnd-placeholder='true'] {
  background: #f0f2f5;
  border: 2px dashed #d9d9d9;
  opacity: 0.6;
}