.titaui-table-excel-v2 {
  position: relative;
  box-shadow: 0 0 0 1px #e2e2e2;
  background-color: #fff;
  overflow: auto;
}

.titaui-table-excel-v2__main {
  width: max-content;
  display: flex;
  flex-direction: column;
}

.titaui-table-excel-v2--header-fixed .titaui-table-excel-v2__header {
  position: sticky;
  top: 0;
}

.titaui-table-excel-v2__header {
  display: flex;
  z-index: 3;
  width: max-content;
  transition: box-shadow .3s;
}

.titaui-table-excel-v2__header--shadow {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.titaui-table-excel-v2__header--fixed {
  position: absolute;
  top: 0;
}

.titaui-table-excel-v2__header__drag-size-bar {
  position: absolute;
  right: -2px;
  height: 100%;
  width: 5px;
  z-index: 4;
  cursor: col-resize;
}

.titaui-table-excel-v2__header__item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #89919F;
  background-color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-sizing: border-box;
  transition: background-color .3s;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.titaui-table-excel-v2__header__item--aligin-left {
  justify-content: flex-start;
}

.titaui-table-excel-v2__header__item--aligin-center {
  justify-content: center;
}

.titaui-table-excel-v2__header__item--aligin-right {
  justify-content: flex-end;
}

.titaui-table-excel-v2__header__item:hover {
  background-color: #f2f2f2;
}

.titaui-table-excel-v2__isPinned::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 100%;
  transition: box-shadow .3s;
}

.titaui-table-excel-v2__isPinned--left::after {
  content: '';
  position: absolute;
  transform: translate(100%);
  width: 10px;
  height: 100%;
  transition: box-shadow .3s;
  top: 0;
  right: 0;
}

.titaui-table-excel-v2__isPinned--right::after {
  content: '';
  position: absolute;
  transform: translate(-100%);
  width: 10px;
  height: 100%;
  transition: box-shadow .3s;
  top: 0;
  left: 0;
}

.titaui-table-excel-v2__isPinned--left-shadow {
  border-right: 0 !important;
}

.titaui-table-excel-v2__isPinned--left-shadow::after, .titaui-table-excel-v2__isPinned--right-shadow::after {
  box-shadow: inset 10px 0 8px -8px #00000026;
}

.titaui-table-excel-v2__childs {
  display: flex;
  flex-direction: column;
}

.titaui-table-excel-v2__childs > div {
  height: 100%;
}

.titaui-table-excel-v2__row {
  display: flex;
}

.titaui-table-excel-v2__box {
  position: relative;
  border-right: 1px solid #e2e2e2;
  border-top: 1px solid #e2e2e2;
  box-sizing: border-box;
  flex-shrink: 0;
  background-color: #fff;
  min-width: 24px;
}

.titaui-table-excel-v2__box-content {
  position: relative;
  height: 100%;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  min-height: 30px;
  box-sizing: border-box;
}

.titaui-table-excel-v2__box-content--aligin-left {
  justify-content: flex-start;
}

.titaui-table-excel-v2__box-content--aligin-center {
  justify-content: center;
}

.titaui-table-excel-v2__box-content--aligin-right {
  justify-content: flex-end;
}
