#svg-container,
#legacy-svg-container {
  display: none;
}

body {
  margin: 0;
}

#hrblizz-wrapper {
  width: 100vw;
  height: 100vh;

  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: min-content 1fr;

  & > div {
    position: relative;
  }

  & > div > .single-spa-container {
    display: contents;
  }
}

#content-div {
  overflow: hidden;
}

.spa__wrapper,
.loading-failure {
  height: 100%;
  justify-content: center;
  display: flex;
  width: 100vw;
}

.loading-failure.fullscreen {
  position: fixed;
  width: max-content;
  inset-inline-start: 50%;
  translate: calc(-50% * var(--x-direction, 1)) 0;
}

.loading-failure-wrapper {
  height: 30vh;
  min-height: 300px;
  width: 40vw;
  min-width: 400px;
  border-radius: 12px;
  background-color: white;
  padding-block: 32px;
  padding-inline: 60px;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.161);
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-block-start: 20vh;
}

.loading-failure__heading {
  font-size: 15px;
  line-height: 20px;
  font-family: "sansproBold";
  text-align: center;
  margin-block-end: 30px;
  font-weight: bold;
}

.loading-failure__subheading {
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  margin-block-end: 10px;
}

.button--primary {
  background-color: #ff5f1f;
  height: 32px;
  border-radius: 20px;
  color: white;
  line-height: 32px;
  padding-block: 0;
  padding-inline: 16px;
  font-size: 14px;
  width: fit-content;
  margin-block: 0;
  margin-inline: auto;
}

.button--primary:hover:not(.disabled) {
  cursor: pointer;
  background-color: #e35d3b;
}

.button--primary.disabled {
  color: transparent;
  position: relative;
  pointer-events: none;
}

.button--primary.disabled::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  inset-block-start: 3px;
  inset-block-end: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  margin: auto;
  border: 3px solid transparent;
  border-block-start-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
  from {
    rotate: calc(0turn * var(--x-direction, 1));
  }

  to {
    rotate: calc(1turn * var(--x-direction, 1));
  }
}

.button--primary.hidden {
  display: none;
}

.loading-failure__submit {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.loading-failure__submit textarea {
  width: 100%;
  height: 100%;
  resize: none;
  box-sizing: border-box;
  display: flex;
  margin-block: 0 20px !important;
  margin-inline: 0 !important;
}

.loading-failure__submit.hidden {
  display: none;
}

.spa__loader {
  z-index: 1;
  border-radius: 12px;
  height: calc(211px - 32px - 32px);
  width: calc(264px - 24px - 24px);
  background-color: white;
  padding-block: 32px;
  padding-inline: 24px;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.161);
  position: absolute;
  inset-block-start: calc(50vh - 211px);
  inset-inline-start: calc(50% - 108px);
}

.spa__logo {
  height: 54px;
  width: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: auto 24px;
  margin-inline: auto;
}

.spa__loading {
  font-size: 16px;
  line-height: 20px;
  color: #657387;
  text-align: center;
}

.spa--loading-bar {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background-color: #cccccc;
  margin-block-start: 32px;
}

.spa--loading-bar:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background-color: #001738;
  animation: load 2s linear infinite;
}

@keyframes load {
  0% {
    inset-inline-start: 0%;
    inset-inline-end: 100%;
    width: 0%;
  }
  10% {
    inset-inline-start: 0%;
    inset-inline-end: 90%;
    width: 10%;
  }
  50% {
    inset-inline-start: 0%;
    inset-inline-end: 50%;
    width: 50%;
  }
  99% {
    inset-inline-end: 1%;
    inset-inline-start: 39%;
    width: 60%;
  }
  100% {
    inset-inline-start: 100%;
    inset-inline-end: 0%;
    width: 0%;
  }
}
