@charset "UTF-8";
/**
 * YH-UI Sass Variables
 * 原具体的 CSS 变量输出规则 (:root, html.dark 等) 已移至 root.scss，以防止各组件样式编译时产生重复的全局变量 CSS 冗余。
 */
.yh-time-select {
  --yh-time-select-height: var(--yh-component-size-default, 32px);
  --yh-time-select-font-size: var(--yh-font-size-base, 14px);
  --yh-time-select-icon-size: 14px;
  --yh-time-select-prefix-margin: 12px;
  --yh-time-select-display-padding: 38px;
  position: relative;
  display: inline-flex;
  width: 100%;
  cursor: pointer;
}
.yh-time-select__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--yh-time-select-height);
  font-size: var(--yh-time-select-font-size);
  background-color: var(--yh-fill-color-blank, #fff);
  border: 1px solid var(--yh-border-color, #dcdfe6);
  border-radius: var(--yh-radius-base, 4px);
  transition: var(--yh-transition-base, all 0.2s ease);
  box-sizing: border-box;
}
.yh-time-select__wrapper:hover {
  border-color: var(--yh-border-color-hover, #c0c4cc);
}

.yh-time-select__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yh-text-color-placeholder, #a8abb2);
  margin-right: 8px;
  margin-left: var(--yh-time-select-prefix-margin);
  font-size: var(--yh-time-select-icon-size);
}

.yh-time-select__inner {
  flex: 1;
  width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--yh-text-color-primary, #303133);
  font-size: inherit;
  padding: 0;
  cursor: inherit;
}
.yh-time-select__inner::placeholder {
  color: var(--yh-text-color-placeholder, #a8abb2);
}

.yh-time-select__display-value {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding-left: var(--yh-time-select-display-padding);
  color: var(--yh-text-color-primary, #303133);
  font-size: inherit;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yh-time-select__suffix {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
  gap: 4px;
}

.yh-time-select__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--yh-text-color-placeholder, #a8abb2);
  transition: var(--yh-transition-fast, all 0.15s ease);
  font-size: var(--yh-time-select-icon-size);
}
.yh-time-select__icon svg {
  width: 1em;
  height: 1em;
}

.yh-time-select__clear {
  cursor: pointer;
}
.yh-time-select__clear:hover {
  color: var(--yh-text-color-secondary, #909399);
}

.yh-time-select__arrow {
  transition: transform var(--yh-duration-base, 0.2s) ease;
}
.yh-time-select__arrow.is-reverse {
  transform: rotate(180deg);
}

.yh-time-select__dropdown {
  position: absolute;
  z-index: var(--yh-z-index-popper, 2000);
  background-color: var(--yh-bg-color-overlay, #fff);
  border: 1px solid var(--yh-border-color-light, #e4e7ed);
  border-radius: var(--yh-radius-base, 4px);
  box-shadow: var(--yh-shadow-lg);
  overflow: hidden;
}

.yh-time-select__options {
  max-height: 274px;
  overflow-y: auto;
  padding: 4px 0;
}

.yh-time-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 34px;
  line-height: 34px;
  font-size: 14px;
  color: var(--yh-text-color-regular, #606266);
  cursor: pointer;
  transition: background-color var(--yh-duration-fast) ease;
}
.yh-time-select__option:hover, .yh-time-select__option.is-hovering {
  background-color: var(--yh-fill-color-light, #f5f7fa);
}
.yh-time-select__option.is-selected {
  color: var(--yh-color-white, #ffffff);
  background-color: var(--yh-color-primary, #409eff);
  font-weight: 700;
}

.yh-time-select__option.is-disabled {
  color: var(--yh-text-color-disabled, #c0c4cc);
  cursor: not-allowed;
}
.yh-time-select__option.is-disabled:hover {
  background-color: transparent;
}

.yh-time-select__option-check {
  display: inline-flex;
  align-items: center;
  color: inherit;
  margin-left: 8px;
}
.yh-time-select__option-check svg {
  width: 14px;
  height: 14px;
}

.yh-time-select__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  font-size: 14px;
  color: var(--yh-text-color-placeholder, #a8abb2);
}

.yh-time-select {
  /* 尺寸变体 - 通过变量继承解决 BEM 嵌套导致的 at-root 丢失上下文问题 */
}
.yh-time-select--large {
  --yh-time-select-height: var(--yh-component-size-large, 40px);
  --yh-time-select-font-size: var(--yh-font-size-base, 14px);
  --yh-time-select-icon-size: 16px;
  --yh-time-select-display-padding: 42px;
}

.yh-time-select--small {
  --yh-time-select-height: var(--yh-component-size-small, 24px);
  --yh-time-select-font-size: var(--yh-font-size-xs, 12px);
  --yh-time-select-icon-size: 12px;
  --yh-time-select-prefix-margin: 8px;
  --yh-time-select-display-padding: 30px;
}

.yh-time-select.is-focused .yh-time-select__wrapper {
  border-color: var(--yh-color-primary);
  box-shadow: 0 0 0 2px var(--yh-color-primary-light-8);
}

.yh-time-select.is-disabled {
  cursor: not-allowed;
}
.yh-time-select.is-disabled .yh-time-select__wrapper {
  background-color: var(--yh-fill-color-light);
  border-color: var(--yh-border-color-light);
  color: var(--yh-text-color-disabled);
  cursor: not-allowed;
}
.yh-time-select.is-disabled .yh-time-select__wrapper:hover {
  border-color: var(--yh-border-color-light);
}
.yh-time-select.is-disabled .yh-time-select__inner {
  color: var(--yh-text-color-disabled);
  cursor: not-allowed;
}
.yh-time-select.is-disabled .yh-time-select__display-value {
  color: var(--yh-text-color-disabled);
}