
#cat-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#cat-container {
  width: 18em;
  max-width: 90vw;
  height: 32em;
  max-height: 90vh;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(250, 250, 250);
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.06);
}

#cat-message {
  width: auto;
  max-width: 16em;
  height: auto;
  min-height: 1em;
  font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  font-size: 0.8em;
  text-align: center;
  color: #555;
  opacity: 0.96;
}

.cat-spinner {
  width: 5em;
  height: 5em;
  margin-bottom: 2em;
  border: 0.08em solid rgba(0, 0, 0, 0.1);
  border-top-color: #70cbef;
  border-radius: 50%;
  animation: cat-spin 1s linear infinite;
  position: relative;
  transition: border-color 0.2s ease-in-out;
}

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

.success, .failure, .pending {
  animation: none;
  transition: border-color 0.2s ease;
}

.success {
  border: 0.1em solid rgba(40, 167, 69, 0.6);
}

.failure {
  border: 0.14em solid rgb(200, 93, 109);
}

.failure::before, .failure::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.6em;
  height: 0.2em;
  background-color: rgb(200, 93, 109);
  transform-origin: center;
  border-radius: 1em;
}

.failure::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.failure::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pending {
  border: 0.1em solid rgba(40, 80, 200, 0.6);
}

