@charset "UTF-8";
/**
 * YH-UI Sass Variables
 * 原具体的 CSS 变量输出规则 (:root, html.dark 等) 已移至 root.scss，以防止各组件样式编译时产生重复的全局变量 CSS 冗余。
 */
/* 穿梭框面板独立样式 */
.yh-transfer-panel {
  display: inline-flex;
  flex-direction: column;
  background: var(--yh-fill-color-blank, #fff);
  border: 1px solid var(--yh-border-color-lighter, #ebeef5);
  border-radius: var(--yh-radius-base, 4px);
  overflow: hidden;
  box-sizing: border-box;
  width: 200px;
  height: 300px;
}
.yh-transfer-panel__header {
  height: 40px;
  background: var(--yh-fill-color-light, #f5f7fa);
  padding: 0 12px;
  border-bottom: 1px solid var(--yh-border-color-lighter, #ebeef5);
  display: flex;
  align-items: center;
  color: var(--yh-text-color-primary, #303133);
  box-sizing: border-box;
}

.yh-transfer-panel__check-all {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 10px;
}
.yh-transfer-panel__check-all.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.yh-transfer-panel__title {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yh-transfer-panel__count {
  font-size: 12px;
  color: var(--yh-text-color-secondary, #909399);
  margin-left: 4px;
}

.yh-transfer-panel__filter {
  padding: 10px;
  box-sizing: border-box;
}
.yh-transfer-panel__filter-input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--yh-border-color, #dcdfe6);
  border-radius: var(--yh-radius-base, 4px);
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--yh-transition-base, 0.2s);
}
.yh-transfer-panel__filter-input:focus {
  border-color: var(--yh-color-primary, #409eff);
}

.yh-transfer-panel__body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.yh-transfer-panel__list {
  margin: 0;
  padding: 6px 0;
  list-style: none;
  flex: 1;
  overflow-y: auto;
  box-sizing: border-box;
}

.yh-transfer-panel__virtual-wrapper {
  overflow-y: auto;
  width: 100%;
  flex: 1;
}

.yh-transfer-panel__item {
  padding: 0 12px;
  height: 30px;
  line-height: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--yh-text-color-regular, #606266);
}
.yh-transfer-panel__item:hover:not(.is-disabled) {
  background: var(--yh-fill-color-light, #f5f7fa);
  color: var(--yh-color-primary, #409eff);
}
.yh-transfer-panel__item.is-disabled {
  color: var(--yh-text-color-disabled, #c0c4cc);
  cursor: not-allowed;
}

.yh-transfer-panel__item-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid var(--yh-border-color, #dcdfe6);
  border-radius: 2px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yh-fill-color-blank, #fff);
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}
.yh-transfer-panel__item-checkbox.is-checked {
  background-color: var(--yh-color-primary, #409eff);
  border-color: var(--yh-color-primary, #409eff);
  color: #fff;
}

.yh-transfer-panel__item-checkbox.is-indeterminate {
  background-color: var(--yh-color-primary, #409eff);
  border-color: var(--yh-color-primary, #409eff);
  color: #fff;
}

.yh-transfer-panel__item-checkbox__icon {
  width: 100%;
  height: 100%;
  transform: scale(0.8);
}

.yh-transfer-panel__item-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yh-transfer-panel__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--yh-text-color-secondary, #909399);
  padding: 20px 0;
}
.yh-transfer-panel__empty-text {
  font-size: 14px;
}

.yh-transfer-panel__empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  color: var(--yh-border-color-light, #dcdfe6);
}

.yh-transfer-panel__footer {
  border-top: 1px solid var(--yh-border-color-lighter, #ebeef5);
  background: var(--yh-fill-color-blank, #fff);
}

/* 穿梭框整体样式 */
.yh-transfer {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  vertical-align: middle;
}
.yh-transfer__buttons {
  display: inline-flex;
  flex-direction: column;
  padding: 0 12px;
  gap: 10px;
}

.yh-transfer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--yh-border-color, #dcdfe6);
  background: var(--yh-fill-color-light, #f5f7fa);
  color: var(--yh-text-color-regular, #909399);
  cursor: pointer;
  padding: 0 10px;
  transition: var(--yh-transition-base, 0.3s);
  white-space: nowrap;
}
.yh-transfer__button:hover:not(:disabled) {
  color: var(--yh-color-primary, #409eff);
  border-color: var(--yh-color-primary, #409eff);
}
.yh-transfer__button.is-active:not(:disabled) {
  background: var(--yh-color-primary, #409eff);
  color: #fff;
  border-color: var(--yh-color-primary, #409eff);
}

.yh-transfer__button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.yh-transfer__button svg {
  width: 14px;
  height: 14px;
}
.yh-transfer__text {
  margin: 0 4px;
}

.yh-transfer {
  /* 尺寸支持 */
}
.yh-transfer--large .yh-transfer-panel {
  width: 240px;
  height: 360px;
}

.yh-transfer--small .yh-transfer-panel {
  width: 180px;
  height: 260px;
}