:root {
  --primary-color: #3498db;
  --primary-darker-color: #2f89c5;
  --background-color: #fbfefb;
  --alt-background-color: #edf2fb;
  --highlight-color: #ffda79;
  --dark-color: #34495e;
  --alert-color: #eb3b5a;
  --mono-color: #333;

  --copy-font: 'Open Sans', sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

p {
  font-family: var(--copy-font);
  font-size: 2.25vmin;
  margin: 0;
  padding: 0;
  color: var(--background-color);
}

/* --------------------------- SWEET ALERT STYLES --------------------------- */

.swal2-popup * {
  font-family: var(--copy-font);
}

.swal2-popup {
  background-color: var(--background-color);
  border: 0.5vmin solid var(--alt-background-color);
  border-radius: 2vmin;
  line-height: 1.5;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.swal2-popup h2 {
  font-size: 32px !important;
  color: var(--background-color);
  font-weight: normal !important;
  background-color: var(--primary-color);
  border-radius: 1.5vmin 1.5vmin 0 0;
  padding: 1vmin;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.swal2-popup p {
  font-size: 18px;
  color: var(--dark-color);
  line-height: 1.5;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  border: 0;
  border-radius: 6px;
  padding: 16px;
  background: initial;
  background-color: #16a085;
  color: #fff;
  font-size: 18px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  outline: none !important;
}

/* ------------------------- SPINNING LOAD ANIMATION ------------------------ */

.loaderAnimation {
  position: relative;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 152, 219, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out; /* Adjust time as needed */
  opacity: 1;
}

.loaderBck {
  background-color: #3498db;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1vmin;
  align-items: center;
  justify-content: center;
  border-radius: 2vmin;
  padding: 3vmin;
  padding-left: 6vmin;
  padding-right: 6vmin;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.smallCaps {
  text-transform: uppercase;
  font-size: 1.5vmin;
}

.lds-circle {
  display: inline-block;
  transform: translateZ(1px);
}

.lds-circle > div {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  background: var(--background-color);
  animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes lds-circle {
  0%,
  100% {
    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
  }
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(1800deg);
    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
  }
  100% {
    transform: rotateY(3600deg);
  }
}

.reportHolder {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  justify-content: space-evenly;
}

.report {
  display: flex;
  flex-direction: column;
  width: 80vw;
  max-width: 900px;
  background-color: #edf2fb;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
    rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
    rgba(0, 0, 0, 0.09) 0px 32px 16px;
  overflow-y: auto;
  border-radius: 6px;
}

@media print {
  .report {
    box-shadow: none;
  }
  .report .feedbackTitle p {
    margin-top: 0;
  }
  .report .feedbackText {
    padding: 0;
  }
  .report .question {
    color: #333;
    margin-top: 5vmin;
    background-color: none;
    padding: 0 !important;
  }
  .buttons {
    display: none !important;
  }
}

.report p {
  font-size: 18px;
  line-height: 32px;
}

.report .feedbackTitle p {
  font-size: 32px !important;
  color: #000;
  text-align: center;
  font-weight: 800;
  margin-top: 50px;
}

.report .totalScore {
  font-size: 26px !important;
  color: #eee;
  text-align: center;
  font-weight: 800;
  margin-top: 30px;
  background-color: #3498db;
  padding: 8px;
  border-radius: 4px;
}

.report .feedbackText {
  padding-bottom: 3vmin;
  padding-left: 10vmin;
  padding-right: 10vmin;
}

.report .question {
  color: #333;
  margin-top: 5vmin;
  background-color: #ffda79;
  width: fit-content;
  padding: 8px;
  border-radius: 4px;
}

.report .answer {
  color: #333;
  margin-top: 2vmin;
}

.report .boldText {
  color: #000;
  font-weight: 800;
}

.report .feedbackPositive {
  color: #218c74;
  font-weight: 800;
}

.report .feedbackNegative {
  color: #b33939;
  font-weight: 800;
}

.reportHolder .buttons {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  margin: 4vmin;
}

button {
  background-color: #fbfefb;
  border: none;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
    rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  width: 10vw;
  min-width: fit-content;
  cursor: pointer;
}

button p {
  color: #333;
  font-size: 18px;
  padding: 12px;
  font-weight: 800;
}

#iframeReport {
  width: 100vw;
  height: 95vh;
  padding: 5vmin;
  border: none;
  background-color: #3498db;
  z-index: 99;
}
