@import "sharedDark.css";

.react_select.default {
  position: relative;
  z-index: 1;
}

.react_select.default.is-open {
  z-index: 2;
}

.status-with-icon {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--theme-primary);
  padding: 2px 0;
}

body.dark .status-with-icon {
  color: #9c9c9c;
}

.status-with-icon .icon {
  margin-right: 5px;
  font-size: 17px;
}

.mdc-switch__knob:before {
  background: none !important;
}

.hidden-for-user {
  position: relative;
  height: 0;
  width: 0;
  opacity: 0;
}

.status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 25vh;
  min-height: 100vh;
  text-align: center;
}

.status-container .fa {
  font-size: 100px;
  color: #e2231a !important;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 6px solid currentColor;
  border-top: 8px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1.5rem;
}

.dots {
  display: inline-block;
  width: 1.5em;
  text-align: left;
}

.dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

.loading-text {
  font-family: 'Consolas, Courier New', monospace;
}

.alert {
  border-radius: .25rem;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  display: block;
}

.alert.danger {
  color: #842029;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
