@keyframes Gradient {
  0% {
    background-color: #fff;
  }
  10% {
    background-color: #e2f1fd;
  }
  100% {
    background-color: #fff;
  }
}

/* 标题 */
.panel-title {
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
  display: inline-block;
}

.panel-group.active .panel-title {
  position: relative;
  z-index: 1;
}
.panel-group.active .panel-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 110%;
  width: 110%;
  animation: Gradient 1.5s ease-in;
  background: #fff;
  z-index: -1;
}

/* 选项卡 */
.component_tab {
  height: 34px;
  display: flex;
  align-items: center;
}

.component_tab > ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}
.component_tab > ul > li {
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}
.component_tab > ul > li:not(:first-child) {
  margin-left: 32px;
}
.component_tab li.active {
  color: var(--ms-color-theme);
}
.component_tab li.active::after {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--ms-color-theme);
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}
/* 方块风格 */
.component_tab.box li{
  line-height: 32px;
  padding: 0 16px;
  min-width: 64px;
  text-align: center;
  font-weight: normal;
  border: 1px solid #D9D9D9;
  border-right-color: transparent;
  box-sizing: border-box;
}
.component_tab.box li:first-child{
  border-radius: 6px 0 0 6px;
}
.component_tab.box li:last-child{
  border-radius: 0 6px 6px 0;
  border-right-color: #D9D9D9;
}
.component_tab.box > ul > li:not(:first-child){
  margin-left: 0;
}
.component_tab.box li.active{
  background-color: var(--ms-color-theme);
  border-color: var(--ms-color-theme);
  color: #fff;
}
.component_tab.box li.active::after{
  content: none;
}

/* 输入框 */
.component_input {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  overflow: hidden;
}
.component_input input {
  border: none;
  line-height: 32px;
  padding: 0 12px;
  flex: 1;
  width: 0;
}

.component_input.active {
  border-color: var(--theme-primary-color);
}

.component_input.active .prefix,
.component_input.active .suffix {
  color: var(--theme-primary-color);
}

/* .component_input i {
  position: absolute;
  inset: 9px 13px auto auto;
  font-size: 14px;
  line-height: 14px;
} */

/** component_table **/
.component_table {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: #333;
  overflow: auto;
  /* border-left: 1px solid #eaf1fa;
  border-top: 1px solid #eaf1fa; */
}

.component_table .component_table_overflow {
  overflow: auto;
}

.component_table .component_table_wrap {
  display: table;
}

.component_table .component_table_tbody_wrap {
  flex: 1;
  /* overflow: hidden auto; */
  border-bottom: 1px solid #eaf1fa;
}

.component_table .component_table_tbody_wrap,
.component_table .component_table_thead_table {
  border-left: 1px solid #eaf1fa;
}

.component_table .component_table_thead_table,
.component_table .component_table_tbody_table {
  table-layout: fixed;
}

.component_table .component_table_thead_table,
.component_table .component_table_tbody_table,
.component_table .component_table_tbody_wrap {
  width: 100%;
}
.component_table .component_table_thead_table {
  background-color: #f7fafe;
}

.component_table .component_table_th {
  font-weight: normal;
}

.component_table .component_table_th.sortable {
  padding-right: 18px;
  position: relative;
}

.component_table .component_table_th.sortable i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  row-gap: 4px;
  cursor: pointer;
}

.component_table .component_table_th.sortable i::before,
.component_table .component_table_th.sortable i::after {
  content: "";
  border: 5px solid transparent;
  width: 0;
  height: 0;
}

.component_table .component_table_th.sortable i::before {
  border-bottom-color: #ccc;
}

.component_table .component_table_th.sortable i::after {
  border-top-color: #ccc;
}

.component_table .component_table_th.sortable i.asc::before {
  border-bottom-color: var(--theme-primary-color);
}

.component_table .component_table_th.sortable i.desc::after {
  border-top-color: var(--theme-primary-color);
}

.component_table .component_table_th,
.component_table .component_table_td {
  border-right: 1px solid #eaf1fa;
}

.component_table .component_table_content {
  min-height: 39px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px;
  word-break: break-all;
}

.component_table .component_table_content.text-left {
  justify-content: flex-start;
}
.component_table .component_table_content.text-right {
  justify-content: flex-end;
}
.component_table .component_table_content.text-center {
  justify-content: center;
}

.component_table .component_table_content.component_table_no_data,
.component_table .component_table_content.component_table_loading {
  justify-content: center;
  color: #999;
}

.component_table .component_table_tr {
  border-top: 1px solid #eaf1fa;
  position: relative;
}

.component_table .component_table_action > .component_table_action_link {
  color: var(--theme-primary-color);
}

.component_table .component_table_tr:hover .component_table_action:not([data-slot="false"]) {
  display: flex;
}

.component_table .component_table_action > :not([hidden]) ~ :not([hidden]) {
  margin-left: 15px;
}

/** component_pagination **/
.component_pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.component_pagination .component_pagination_ul {
  display: flex;
  align-items: center;
}

.component_pagination .component_pagination_ul > li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  border: 1px solid #dcdcdc;
  color: var(--theme-medium-text-color);
  cursor: pointer;
}
.component_pagination .component_pagination_ul > li.fill,
.component_pagination .component_pagination_ul > li.prev,
.component_pagination .component_pagination_ul > li.next {
  border: none !important;
  background: transparent !important;
}

.component_pagination .component_pagination_ul > li:hover {
  background-color: var(--theme-lighter-color);
}

.component_pagination .component_pagination_ul > li.active {
  background-color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: #fff;
}

.component_pagination .component_pagination_ul > li:not(:first-child) {
  margin-left: 8px;
}

/** component_select **/

.component_select {
  position: relative;
}
.component_select > .component_select_input {
  width: 100%;
  color: #333;
  height: 32px;
  line-height: 32px;
  padding: 0 32px 0 12px;
  outline: none;
  border-radius: 4px;
  user-select: none;
  transition: 0.3s;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.component_select > .component_select_drop_icon {
  position: absolute;
  top: 0;
  right: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: 0.3s;
}

.component_select.focus > .component_select_drop_icon {
  transform: rotate(180deg);
  color: var(--theme-primary-color);
}

/** component_radio **/
.component_radio {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.component_radio .component_radio_item {
  border-radius: 4px;
  border: 1px solid #e6e6e6;
  font-size: 14px;
  line-height: 26px;
  color: var(--theme-dark-text-color);
  padding: 3px 12px;
  cursor: pointer;
}
.component_radio .component_radio_item:not(:first-child) {
  margin-left: 12px;
}

.component_radio .component_radio_item.active {
  border-color: var(--theme-primary-color);
  color: var(--theme-primary-color);
}

/** component_detail **/
.component_detail {
  width: 100%;
  border-left: 1px solid #eaf1fa;
  border-top: 1px solid #eaf1fa;
}

.component_detail .component_detail {
  border-top: none;
  border-left: none;
}

.component_detail .component_detail .component_detail_row:last-child .component_detail_label,
.component_detail .component_detail .component_detail_row:last-child .component_detail_content {
  border-bottom: none;
}

.component_detail
  .component_detail
  .component_detail_row
  .component_detail_item:last-child
  .component_detail_content {
  border-right: none;
}

.component_detail_row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.component_detail_item {
  display: flex;
  line-height: 22px;
}

.component_detail_label {
  flex-shrink: 0;
  color: var(--theme-dark-text-color);
  background: #f7fafe;
}

.component_detail_label,
.component_detail_content {
  border-bottom: 1px solid #eaf1fa;
  border-right: 1px solid #eaf1fa;
  display: flex;
  align-items: center;
}

.line-clamp {
  -webkit-line-clamp: var(--line-clamp);
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.component_detail_label .component_detail_container,
.component_detail_content .component_detail_container {
  padding: 12px 8px;
}

.component_detail_content {
  flex: 1;
  color: var(--theme-dark-text-color);
  word-break: break-all;
}

.component_detail_container.use-copy {
  cursor: pointer;
}

/** component_step **/

.component_step .component_step_list {
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-direction: row;
}

.component_step_item {
  flex: 1;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.component_step_item .component_step_header {
  position: relative;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.component_step_item:not(:last-child) .component_step_header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1px;
}

.component_step_item.active .component_step_number_container {
  background-color: var(--theme-active);
}
.component_step_item.finish .component_step_number_container {
  background-color: var(--theme-finish);
}
.component_step_item.wait .component_step_number_container {
  background-color: var(--theme-wait);
}

.component_step_item.finish .component_step_header::after {
  background-color: var(--theme-finish);
}

.component_step_item.active .component_step_header::after,
.component_step_item.wait .component_step_header::after {
  background-color: var(--theme-wait);
}

.component_step_number {
  background: var(--theme-bg);
  padding: 0 24px;
  z-index: 10;
  position: relative;
}

.component_step_number_container {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.component_step_title_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.component_step_title {
  font-size: 14px;
  color: var(--theme-dark-text-color);
  line-height: 1;
}

.component_step_desc {
  font-size: 12px;
  color: var(--theme-light-text-color);
  line-height: 20px;
  margin-top: 10px;
}

.component_step_tip {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
}

.component_step_tip .iconfont {
  color: var(--theme-light-text-color);
  font-size: 14px;
}

.component_step_tip:hover .component_step_tooltip {
  display: block;
}

.component_step_tooltip {
  display: none;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  color: var(--theme-medium-text-color);
  font-size: 14px;
  white-space: pre;
  margin-left: 8px;
  z-index: 566;
  box-shadow: 0 0 8px #d3d2d2;
}

.component_step_tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
}

.component_step.vertical,
.component_step.vertical .component_step_list {
  height: 100%;
}

.component_step.vertical .component_step_list {
  flex-direction: column;
}

.component_step.vertical .component_step_item {
  flex-direction: row;
  align-items: flex-start;
  height: 120px;
  flex: auto;
}

.component_step.vertical .component_step_number {
  padding: 4px 0;
}
.component_step.vertical .component_step_header {
  margin-right: 12px;
  margin-bottom: 0;
  width: auto;
  height: 100%;
  align-items: flex-start;
}

.component_step.vertical .component_step_item:not(:last-child) .component_step_header::after {
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
}

.component_step.vertical .component_step_info {
  text-align: left;
}

.component_step.vertical .component_step_item:last-child {
  flex: 0;
}

.component_step.vertical .component_step_title_wrap {
  justify-content: flex-start;
}

/** dropdown **/
.component_select_dropdown {
  position: fixed;
  z-index: 10;
  display: none;
}

.component_select_dropdown .component_select_dropdown_ul,
.component_select_dropdown .component_panel_select_dropdown_wrap {
  padding: 6px;
  background: #fff;
  box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.1), 0px 8px 10px 1px rgba(0, 0, 0, 0.06),
    0px 3px 14px 2px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  max-height: 397px;
  max-width: 500px;
  overflow: auto;
}

.component_select_dropdown .component_select_dropdown_item {
  font-size: 14px;
  padding: 10px 8px;
  position: relative;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  line-height: 18px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 3px;
}

.component_select_dropdown .component_select_dropdown_item:not(:last-child) {
  margin-bottom: 6px;
}

.component_select_dropdown .component_select_dropdown_item:hover,
.component_select_dropdown .component_select_dropdown_item.active {
  background-color: #f5f5f5;
}

/** panel_dropdown **/
.component_panel_select_dropdown_wrap {
  padding: 24px !important;
}

.component_panel_select_dropdown_column {
  border-bottom: 1px solid #E6E6E6;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.component_panel_select_dropdown_column:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.component_panel_select_dropdown_column_label {
  color: var(--theme-light-text-color);
  line-height: 22px;
}

.component_panel_select_dropdown_column_ul {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-top: -4px;
}

.component_panel_select_dropdown_column_li {
  padding: 0 10px;
  line-height: 22px;
  border-radius: 4px;
  color: var(--theme-dark-text-color);
  margin-top: 10px;
  margin-right: 12px;
  cursor: pointer;
}

.component_panel_select_dropdown_column_li:hover {
  background-color: #f7fafe;
}

.component_panel_select_dropdown_column_li.active {
  color: #fff !important;
  background-color: var(--theme-primary-color);
}

.component_panel_select_dropdown_column_li.active * {
  color: #fff !important;
}