@import "ag-grid-community/styles/ag-grid.css";
@import "ag-grid-community/styles/ag-theme-quartz.css";

.e-cellselectionbackground{
  background-color: #E6EDEF !important;
}
.e-freezeleftborder{
  border-right-color: #E0E0E0 !important;
}
.e-spinner-pane {
  display: none !important;
}
.e-emptyrow{
  position:fixed;
  top:60%;
  left:55%
}
body {
  font-family: var(--font-poppins), sans-serif !important;
  margin: 0;
  height:100%;
}
.rdrDefinedRangesWrapper{
  width:0px !important;
}

.ag-theme-quartz {
  --ag-font-family: var(--font-poppins), sans-serif;
}

.ag-row .ag-cell {
  display: flex;
  align-items: center;
}
.ag-header-cell-text {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 13px;
}

.ag-theme-quartz .ag-header-cell .ag-header-icon {
  visibility: visible !important;
  opacity: 1 !important; 
}

.ag-theme-quartz .ag-header-cell:hover .ag-header-icon {
  visibility: visible !important;
  opacity: 1 !important;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background-color: #ffffffff;
}

::-webkit-scrollbar-thumb {
  background: #a19f9fff;
  border-radius: 10px;
}

::-webkit-scrollbar-button{
  display: none !important;
}

::-webkit-scrollbar-button:single-button {
  background-color: white;
  display: block;
  background-size: 10px;
  background-repeat: no-repeat;
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
  height: 12px;
  width: 12px;
  background-position: center 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,00 0,50 100,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:increment {
  height: 12px;
  width: 12px;
  background-position: center 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 100,0 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:decrement {
  height: 12px;
  width: 12px;
  background-position: 3px -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,100 50,0'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:increment {
  height: 12px;
  width: 12px;
  background-position: 3px -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 0,100 50,50'/></svg>");
}


@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.ag-header-left .ag-header-cell-label {
  justify-content: flex-start;
}

.ag-header-center .ag-header-cell-label {
  justify-content: center;
}

.ag-header-right .ag-header-cell-label {
  justify-content: flex-end;
}

.ag-header-cell-label {
  overflow: hidden;
  min-width: 0;
}

.ag-header-cell {
  overflow: hidden;
}

.ag-cell-range-selected {
  background-color: rgba(59, 164, 232, 0.2) !important;
  border: 1px solid #3BA4E8 !important;
  cursor: pointer;
}

.ag-cell-range-selected::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(59, 164, 232, 0.1);
  pointer-events: none;
  z-index: 1;
}

.ag-cell-range-selected:first-child {
  border-top-left-radius: 2px;
}

.ag-cell-range-selected:last-child {
  border-bottom-right-radius: 2px;
}

/* Prevent text selection during range selection */
.ag-cell-range-selecting {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
