/* #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: scale-px(16px);
  left: scale-px(16px);
  bottom: 0;
  border-bottom: var(--nutui-collapse-item-border-bottom, 1px solid var(--nutui-color-border));
  -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, var(--nutui-spacing-xxl) var(--nutui-spacing-l));
  font-size: var(--nutui-collapse-item-font-size, var(--nutui-font-text-large));
  line-height: var(--nutui-collapse-item-line-height, var(--nutui-line-height-base, var(--nutui-line-height, var(--nutui-font-text))));
  background-color: var(--nutui-color-surface-2);
  box-sizing: border-box;
}
.nut-collapse-item-header::after {
  position: absolute;
  box-sizing: border-box;
  content: " ";
  pointer-events: none;
  right: scale-px(16px);
  left: scale-px(16px);
  bottom: 0;
  border-bottom: var(--nutui-collapse-item-header-border-bottom, none);
  /* #ifdef harmony dynamic*/
  transform: scale(1, 1);
  /* #endif */
  /* #ifndef harmony dynamic*/
  transform: scale(1, 0.5);
  /* #endif */
}
.nut-collapse-item-title {
  color: var(--nutui-collapse-item-color, var(--nutui-color-title));
  display: flex;
  align-items: center;
}
.nut-collapse-item-extra {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0 scale-px(20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--nutui-collapse-item-extra-color, var(--nutui-color-text));
}
.nut-collapse-item-icon-box {
  display: flex;
  width: scale-px(24px);
  position: relative;
  color: var(--nutui-color-text);
}
.nut-collapse-item-icon {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  left: scale-px(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));
}
.nut-collapse-item-header-disabled .nut-collapse-item-title {
  color: var(--nutui-collapse-item-disabled-color, var(--nutui-color-text-disabled));
}
.nut-collapse-item-header-disabled .nut-collapse-item-icon {
  color: var(--nutui-collapse-item-disabled-color, var(--nutui-color-text-disabled));
}
.nut-collapse-item-content-wrapper {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.nut-collapse-item-content-wrapper-tran {
  transition: all 0.3s linear;
}
.nut-collapse-item-content {
  display: block;
  position: absolute;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  color: var(--nutui-collapse-wrapper-content-color, var(--nutui-color-text));
  font-size: var(--nutui-collapse-wrapper-content-font-size, var(--nutui-font-text));
  line-height: var(--nutui-collapse-wrapper-content-line-height, var(--nutui-line-height-base, var(--nutui-line-height, var(--nutui-font-text))));
  background-color: var(--nutui-collapse-wrapper-content-background-color, var(--nutui-color-surface-2));
}
.nut-collapse-item-content-text {
  color: var(--nutui-collapse-wrapper-content-color, var(--nutui-color-text));
  padding: var(--nutui-collapse-wrapper-content-padding, var(--nutui-spacing-l));
}

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