:root,
:root[theme-mode='light'] {
  --td-brand-color: #165dff;
  --td-warning-color: #ff7d00;
  --td-error-color: #f53f3f;
  --td-success-color: #00b42a;
}

.t-dialog--default {
  padding-top: 20px;
}
.t-dialog__body {
  padding-top: 25px;
  overflow: initial;
}
.t-dialog__body .t-form__label,
.t-drawer__body .t-form__label {
  color: #595959;
  padding-right: 8px;
}

.t-date-picker__panel .t-pagination-mini .t-pagination-mini__current {
  display: none;
}
.t-dialog__ctx .t-dialog__position.t-dialog--top {
  padding: 0;
  align-items: center;
}
.t-table__empty-row > td {
  padding: 0 !important;
  .t-table__empty {
    min-height: 40px;
  }
}

.t-head-menu__inner .t-menu:first-child {
  margin-left: 0;
}
.t-col > .t-form__item {
  width: 100%;
  margin-right: 0;
}
.t-form__item .t-date-picker {
  width: 100%;
}
// .t-tabs {
//   border: 1px solid #dcdfe6;
//   box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
//   .t-tabs__content {
//     .t-tab-panel {
//       padding: 15px;
//     }
//   }
// }

.table-search .t-select {
  &.t-select-input--multiple {
    .t-input__prefix {
      display: flex !important;
      overflow: auto;
    }
    .t-input__inner.t-input--soft-hidden {
      display: none;
    }
  }
}
.t-button {
  &:not(.t-button--icon-only) .svg-icon {
    margin-right: 8px;
  }
  .svg-icon {
    width: 13px;
    height: 13px;
  }
  &.t-size-s .svg-icon {
    width: 11px;
    height: 11px;
  }

  &.t-button--theme-default:hover {
    .svg-icon use {
      fill: #165dff;
    }
  }
}
.t-button--theme-default.t-is-disabled {
  .svg-icon use {
    fill: #00000042 !important;
  }
}
.t-button--theme-primary.t-is-disabled {
  .svg-icon use {
    fill: #fff !important;
  }
}

.t-link--theme-primary.t-is-disabled {
  color: #b0b0b0 !important;
}

.t-date-range-picker__panel .t-date-picker__presets {
  width: 560px;
  overflow: auto;
  display: block;
  padding-bottom: 10px;
}
.t-upload
  .t-upload__card
  .t-upload__card-item
  .t-upload__card-content
  .t-image__wrapper {
  min-width: 64px;
}
