.div-grid-container {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  position: relative;
  border: 1px solid var(--Flat-Gray-20, #e7e7e7) !important;
  border-radius: 5px;
  overflow-y: hidden;
}

.div-grid-header {
  width: 100%;
  display: flex;
  background-color: #f3f3f3;
  position: relative;
  height: 40px;
  background-color: #f7f8fb;
}

.div-grid-header .div-grid-row .div-grid-cell {
  background-color: #f7f8fb;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.div-grid-row {
  display: flex;
  justify-content: space-around;
  height: 50px;
  border-bottom: 1px solid var(--Flat-Gray-20, #e7e7e7) !important;
  width: fit-content;
}

.div-grid-header .div-grid-row {
  height: 40px;
}

.main-content-header {
  flex: 1;
}

.main-content {
  background-color: white;
}

.div-grid-cell {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--Flat-Gray-20, #e7e7e7) !important;
  padding: 10px 15px;
  overflow: hidden;
  background-color: white;
}

.div-grid-cell-checkbox {
  padding: 15px;
}

.main-content-header .div-grid-cell:not(:last-child),
.main-content-header .div-grid-cell:not() {
  /* border-right: 1px solid var(--Flat-Gray-20, #e7e7e7) !important; */
}

.div-grid-cell.sticky-right,
.sticky-right {
  border-right: none;
  border-left: 1px solid var(--Flat-Gray-20, #e7e7e7) !important;
}

.sticky-column-container {
  position: absolute;
  z-index: 10;
}

.left-sticky-columns {
  left: 0;
}
.right-sticky-columns {
  right: 0;
}

.div-grid-body {
  display: flex;
  position: relative;
  overflow: hidden;
  flex: 1;
  height: calc(100% - 40px);
}
.override-height {
  height: calc(100% - 80px) !important;
}

.div-grid-body .div-grid {
  height: 100%;
  overflow: scroll;
}

.div-grid-body .sticky-column-container {
  background-color: white;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.resize-handle {
  width: 5px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  cursor: col-resize;
  background-color: transparent;
}

.resize-handle:hover {
  background-color: #ccc;
}

.header-cell {
  position: relative;
}

.resize-overlay {
  position: fixed;
  z-index: 11;
  top: 0;
  height: 100%;
  background-color: #0005;
}

.main-content .div-grid-cell:last-child {
  border-right: none !important;
}
.main-content .div-grid-row:last-child {
  border-bottom: none !important;
}

.right-sticky-columns .div-grid-cell:last-child {
  border-right: none !important;
}

.expand-toggle {
  margin-right: 10px;
  cursor: pointer;
}

.loaderContainer {
  position: relative;
  overflow: hidden;
  padding: 10px;
  width: 100%;
  height: 100%;
}

.loader {
  width: 100%;
  height: 100%;
  background-color: rgb(229, 231, 235);
  border-radius: 0.25rem;
  min-width: 40px;
  min-height: 16px;
}

.animate {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
}

.shimmerAnimate {
  animation: shimmer 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.pagination-main-container {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  justify-content: center;
  border-top: 1px solid var(--Flat-Gray-20, #e7e7e7) !important;
  select {
    border-radius: 5px;
    border: 1px solid lightgray;
    outline: none;
  }
}
.pagination-container {
  display: flex;
  list-style-type: none;
  justify-content: "center";
  align-items: center;
  justify-content: center;
  padding: 7px;
  .pagination-item {
    padding: 0 12px;
    height: 32px;
    margin: auto 4px;
    color: rgba(0, 0, 0, 0.87);
    display: flex;
    box-sizing: border-box;
    align-items: center;
    border-radius: 16px;
    font-size: 13px;
    min-width: 32px;

    &.dots:hover {
      background-color: transparent;
      cursor: default;
    }
    &:hover {
      background-color: rgba(0, 0, 0, 0.04);
      cursor: pointer;
    }

    &.selected {
      background-color: rgba(0, 0, 0, 0.08);
    }

    .arrow {
      &::before {
        position: relative;
        /* top: 3pt; Uncomment this to lower the icons as requested in comments*/
        content: "";
        /* By using an em scale, the arrows will size with the font */
        display: inline-block;
        width: 0.4em;
        height: 0.4em;
        border-right: 0.12em solid rgba(0, 0, 0, 0.87);
        border-top: 0.12em solid rgba(0, 0, 0, 0.87);
      }

      &.left {
        transform: rotate(-135deg) translate(-50%);
      }

      &.right {
        transform: rotate(45deg);
      }
    }

    &.disabled {
      pointer-events: none;

      .arrow::before {
        border-right: 0.12em solid rgba(0, 0, 0, 0.43);
        border-top: 0.12em solid rgba(0, 0, 0, 0.43);
      }

      &:hover {
        background-color: transparent;
        cursor: default;
      }
    }
  }
}
