.overlay-parent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999999;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
}

.overlay-text {
  font-size: 2em;
  margin: 0 !important;
  text-align: center;
}

.overlay-circle {
  width: 8vw;
  height: 8vw;
}

.pivot-table-group-row {
  font-weight: 900;
  font-size: 1.1em;
  background: #ccc !important;
}

.pivot-datatable-search-columns-3 {
  float: left;
  width: 33.3%;
  padding: 10px;
}

.pivot-datatable-search-row {
  content: '';
  display: table;
  clear: both;
  width: 100%;
}

/* Styling for the popup */
.pivot-popup {
  display: none;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  z-index: 200000;
}

/* Styling for an overlay to darken the background */
#pivot-popup-overlay,
.pivot-spinner-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.pivot-spinner-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.pivot-spinner-background {
  z-index: 200001;
}

/* Styling for the spinner */
.pivot-spinner {
  border: 6px solid #f3f3f3;
  /* Light grey */
  border-top: 6px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  z-index: 100002;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pivot-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pivot-form-label {
  text-align: center;
}

.pivot-form-labels-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pivot-form-inputs-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pivot-form-labels-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pivot-form-inputs-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pivot-form-row {
  display: flex;
  align-items: center;
}

.pivot-form-row input {
  flex: 1;
}
