/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-collapse-item {
  position: relative;
}
.nut-collapse-item::after {
  position: absolute;
  box-sizing: border-box;
  content: " ";
  pointer-events: none;
  right: 16px;
  left: 16px;
  bottom: 0;
  border-bottom: var(--nutui-collapse-item-border-bottom, none);
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}
.nut-collapse-item:last-child::after {
  display: none;
}
.nut-collapse-item-header {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: var(--nutui-collapse-item-padding, 13px 26px);
  font-size: var(--nutui-collapse-item-font-size, var(--nutui-font-size-base, 14px));
  line-height: var(--nutui-collapse-item-line-height, 24px);
  background-color: var(--nutui-color-background-overlay, #ffffff);
  box-sizing: border-box;
}
.nut-collapse-item-header::after {
  position: absolute;
  box-sizing: border-box;
  content: " ";
  pointer-events: none;
  right: 16px;
  left: 16px;
  bottom: 0;
  border-bottom: var(--nutui-collapse-item-header-border-bottom, 1px solid var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}
.nut-collapse-item-title {
  color: var(--nutui-collapse-item-color, var(--nutui-color-title, #1a1a1a));
  display: flex;
  align-items: center;
}
.nut-collapse-item-extra {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0px 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--nutui-collapse-item-extra-color, var(--nutui-color-text, #505259));
}
.nut-collapse-item-icon-box {
  display: flex;
  width: 24px;
  position: relative;
  color: var(--nutui-color-text, #505259);
}
.nut-collapse-item-icon {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  transform-origin: center;
  transition: transform 0.3s;
}
.nut-collapse-item-header.disabled {
  color: var(--nutui-collapse-item-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
}
.nut-collapse-item-header.disabled .nut-collapse-item-title {
  color: var(--nutui-collapse-item-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
}
.nut-collapse-item-header.disabled .nut-collapse-item-icon {
  color: var(--nutui-collapse-item-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
}
.nut-collapse-item-content {
  overflow: hidden;
  display: block;
  color: var(--nutui-collapse-wrapper-content-color, var(--nutui-color-text, #505259));
  font-size: var(--nutui-collapse-wrapper-content-font-size, var(--nutui-font-size-base, 14px));
  line-height: var(--nutui-collapse-wrapper-content-line-height, 1.5);
  background-color: var(--nutui-collapse-wrapper-content-background-color, var(--nutui-color-background-overlay, #ffffff));
  transition: all 0.3s linear;
}
.nut-collapse-item-content-text {
  color: var(--nutui-collapse-wrapper-content-color, var(--nutui-color-text, #505259));
  padding: var(--nutui-collapse-wrapper-content-padding, 12px 26px);
}

[dir=rtl] .nut-collapse-item-icon,
.nut-rtl .nut-collapse-item-icon {
  left: auto;
  right: 5px;
}