/* 优惠码 */
.promo-code .client-search {
  display: flex;
}
.promo-code .client-search .t-input,
.promo-code .client-search .t-select {
  width: 240px;
  margin-right: 16px;
}
.promo-code .client-search .t-select__wrap,
.promo-code .client-search .t-input__wrap {
  width: auto;
}
.promo-code .t-table__body .used {
  color: var(--td-brand-color-active);
  cursor: pointer;
}
.promo-code .t-table__body tr {
  cursor: pointer;
}
.promo-code .code {
  opacity: 0;
  position: absolute;
  z-index: -1;
  left: 0;
}
.promo-code .code-item {
  position: relative;
}
.promo-code .jump {
  color: var(--td-brand-color-active);
  cursor: pointer;
}
.promo-code .bottom-box {
  display: flex;
  justify-content: space-between;
}
.promo-code .bottom-box .batch {
  display: flex;
  align-items: center;
}
.promo-code .bottom-box .batch .t-button {
  margin-right: 10px;
}
.promo-code .bottom-box .t-pagination__total {
  flex: none;
  margin-right: 20px;
}
/* promo-detail */
.promo-detail .tit {
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  margin: 0 0 24px 0;
}
.promo-detail .tit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -24px;
  right: -24px;
  width: calc(100% + 48px);
  height: 1px;
  background: #f9f9fc;
}
.promo-detail .s-tip {
  margin-top: -20px;
  color: #666;
}
.promo-detail .s-tip.error {
  margin-top: 0;
}
.promo-detail .t-input__wrap,
.promo-detail .t-date-picker {
  flex: 1;
}
.promo-detail .random {
  padding: 0 14px;
  background: var(--td-brand-color-1);
  color: var(--td-brand-color);
  border-radius: 4px;
  line-height: 32px;
  margin-left: 10px;
  cursor: pointer;
}
.promo-detail .type {
  margin-bottom: 0;
  width: auto !important;
  margin-right: 20px;
}
.promo-detail .type .t-form__controls {
  display: block;
}
.promo-detail .t-form__label {
  width: auto !important;
  padding-right: 10px !important;
}
.promo-detail .t-form__controls {
  margin-left: auto !important;
}
.promo-detail .time-item {
  display: flex;
  align-items: flex-start;
}
.promo-detail .s-item {
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.promo-detail .s-item .t-form__item,
.promo-detail .s-item .t-select__wrap {
  display: inline-block;
  width: auto;
  margin-right: 20px;
}
.promo-detail .t-textarea {
  width: 100%;
  height: 210px;
}
.promo-detail .t-textarea textarea {
  height: 100%;
}
.promo-detail .f-btn {
  text-align: right;
  width: 100%;
}
.promo-detail .switch .t-form__label {
  width: auto !important;
  padding-right: 10px;
}
.promo-detail .switch .t-form__controls {
  margin-left: auto !important;
}
.promo-detail .switch .pack-tip {
  font-size: 16px;
  margin-right: 32px;
}
.promo-detail .time-diff {
  position: relative;
  top: 15px;
  height: 32px;
  line-height: 32px;
  margin-left: 10px;
}
.promo-detail .t-input__extra {
  color: var(--td-error-color) !important;
}
.promo-detail .p-tip {
  margin-left: 10px;
  color: #333333;
  font-size: 14px;
}
.promo-detail .p-tip .tip {
  color: #ff0000;
}
.promo-detail .box {
  margin-top: -24px;
  padding-top: 1px;
}
.promo-detail .t-row {
  width: auto;
  margin-top: 24px;
}
.promo-detail .type-lable {
  flex: 1;
  margin-top: -32px !important;
}
.promo-detail .custom-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-detail .switch .t-col {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 72px;
  row-gap: 10px;
}
.promo-detail .switch .t-form__item {
  display: inline-block;
  margin-bottom: 0;
}
.promo-detail .switch .t-form__item .t-form__label {
  margin-right: 0;
  padding-right: 0 !important;
}
.flow-packet label {
  margin-right: 32px;
}
@media screen and (max-width: 1600px) {
  .promo-detail .time-item {
    display: block;
  }
}
:root[theme-mode='dark'] .promo-detail .p-tip {
  color: rgba(255, 255, 255, 0.4);
}
