.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;
  width: 650px;
  height: 670px;
}

/* 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;
}

/* Tab Styles */
.pivot-subaccount-form-tabs,
.pivot-group-manager-form-tabs {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.pivot-tab-subaccount-form,
.pivot-tab-group-manager-form {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

.pivot-tab-subaccount-form:hover,
.pivot-tab-group-manager-form:hover {
  background-color: #ddd;
}

.pivot-tab-subaccount-form.active,
.pivot-tab-group-manager-form.active {
  background-color: #ccc;
}

.pivot-subaccount-form-tab-content,
.pivot-group-manager-form-tab-content {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.pivot-scrollable-div {
  height: 450px;
  overflow: auto;
}

.view-email-modal-trigger.hide {
  display: none;
}

.pivot-creative-email-opt-out-page {
  text-align: center;
}

.pivot-creative-email-opt-out-form-container #pivot-opt-out-email {
  width: 50%;
}

.pivot-creative-email-opt-out-form-container #pivot-submit-email-opt-out {
  background: #053466;
  color: #ffffff;
  padding: 10px 20px;
  border: 1px solid #c8c8c8;
  font: bold 14px Raleway;
  cursor: pointer;
}
