/* * {
  outline: 1px solid red;
} */

/* body {
  padding: 0;
  margin: 0;
} */

.loadCover {
  width: 100%;
  height: 100%;
  background-color: #3498db;
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1vmin;
  align-items: center;
  justify-content: center;
}

.loadCover h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2vmin;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.loadCover img {
  width: 12vmin;
  height: auto;
}

.aiHolder h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #111;
}

.aiHolder p {
  font-family: 'Open Sans', sans-serif;
  color: #2c3e50;
  font-weight: 400;
  text-wrap: balance;
}

.smallText {
  font-weight: 700 !important;
  font-size: 1.75vmin !important;
  align-self: center;
  margin-bottom: -1.5vmin !important;
  margin-left: 0.5vmin !important;
}

.smallTextSimple {
  font-size: 1.75vmin !important;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

dialog {
  width: 80%;
  max-width: 700px;
  border: none;
  background-color: #fff;
  border-radius: 1vmin;
  padding: 6vmin;
  box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.75);
}

.dialogContent {
  display: flex;
  flex-direction: column;
  gap: 3vmin;
  align-items: center;
  text-align: center;
  text-wrap: balance;
}

.dialogContent p {
  font-size: 2vmin;
}

.dialogContent p:first-child {
  font-weight: 700;
}

.tripticoWizard {
  display: block;
}

.aiHolder {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  align-items: center;
  justify-items: center;
  background-color: #3498db;
  z-index: 998 !important;
  position: fixed;
  background: url(https://www.tripticoplus.com/media/resources/css/aiBck.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.aiHolder a {
  text-decoration: underline;
  text-decoration-color: #2c3e50;
  text-decoration-thickness: 2px;
}

.aiHolder a:hover {
  color: initial;
}

.close-button {
  position: fixed;
  top: 1em;
  right: 1em;
  width: 3.5vw;
  height: 3.5vw;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.25em;
  text-align: center;
  cursor: pointer;
  border: none;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  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;
  user-select: none;
  -webkit-user-select: none;
}

.close-button:focus {
  outline: none;
}

.close-button svg {
  width: 50%;
}

.aiPanel {
  grid-column: 1/2;
  grid-row: 1/2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80vw;
  max-width: 800px;
  height: 80vh;
  height: 80svh;
  max-height: 800px;
  background-color: #fff;
  border-radius: 2vmin;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 0.6vmin 1.2vmin -0.2vmin,
    rgba(0, 0, 0, 0.3) 0px 0.3vmin 7vmin -0.3vmin;
}

.aiPanel:nth-child(1) {
  rotate: 2deg;
  filter: brightness(0.95);
  box-shadow: none;
}

.aiPanel:nth-child(2) {
  rotate: -2deg;
  filter: brightness(0.975);
  box-shadow: none;
}

.aiPanel:nth-child(3) {
  rotate: 0deg;
}

.title-ai {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 10%;
  background-color: #ffda79;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0.125vmin 0px;
  border-radius: 1vmin 1vmin 0 0;
  padding: 3vmin 0 !important;
}

.title-ai p {
  font-size: 3vmin;
  color: #2c3e50;
  margin-bottom: 0;
}

.title-ai p .boldText {
  font-weight: 800;
}

.mainSection-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.questionHolder {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 4fr 1fr 0.5fr;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  padding: 1vmin;
}

.generatedContent {
  width: 100%;
  height: 100%;
  border-radius: 3vmin;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vmin;
  background: rgb(255, 229, 161);
  background: linear-gradient(
    135deg,
    rgba(255, 229, 161, 1) 0%,
    rgba(255, 218, 121, 1) 100%
  );
  border: 1px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 0.2vmin 0.4vmin;
  box-sizing: border-box;
  padding: 2vmin;
  overflow: auto;
}

#text_aiMagic {
  max-height: 40vh;
}

.generatedContent p {
  width: 90%;
}

.infoText {
  height: 30%;
}

.infoText p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.75vmin !important;
  color: #999 !important;
  font-weight: 400 !important;
}

.infoText p a {
  color: #999 !important;
}

/* .questions-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  width: 80%;
  height: 80%;
} */

.questions-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.questions-ai p {
  font-size: 2vmin;
  color: #34495e;
  padding: 0;
  margin: 0;
}

.questions-ai p:first-child {
  font-size: 2.5vmin;
  font-weight: 800;
}

.cardCount {
  width: 50%;
  font-weight: 800 !important;
  font-size: 10vmin !important;
  background-color: #fff;
  text-align: center;
  border-radius: 1vmin;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0;
  margin-bottom: 1vmin !important;
  padding: 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.1vmin 0.1vmin,
    rgba(0, 0, 0, 0.15) 0px 0.125vmin 0.2vmin,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 0.2vmin inset;
  background: linear-gradient(
    180deg,
    rgba(248, 248, 248, 1) 0%,
    rgba(248, 248, 248, 1) 50%,
    rgba(220, 220, 220, 1) 50%,
    rgba(255, 255, 255, 1) 51%,
    rgba(255, 255, 255, 1) 100%
  );
}

.footerButtons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 10%;
  padding-top: 1vmin;
  padding-bottom: 1vmin;
  background-color: #eee;
  border-radius: 0 0 1vmin 1vmin;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#progressBarContainer {
  width: 40%;
  background-color: #ccc;
  height: 3vmin;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#progressBar {
  width: 0%;
  height: 100%;
  background: rgb(26, 188, 156);
  background: linear-gradient(
    180deg,
    rgba(26, 188, 156, 1) 0%,
    rgba(26, 188, 156, 1) 50%,
    rgba(22, 160, 133, 1) 50%,
    rgba(22, 160, 133, 1) 100%
  );
  text-align: center;
  line-height: 3vmin;
  color: white;
  transition: width 0.2s ease-in;
}

.addShadow {
  overflow: visible;
}

.addShadow circle {
  filter: drop-shadow(0 0.15vmin 0 rgba(0, 0, 0, 0.1));
}

.help {
  display: flex;
  align-items: center;
  height: 100%;
}

.help svg {
  fill: #2c3e50;
  height: 4vmin;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.help svg:hover {
  scale: 1.25;
}

.help-ai {
  display: none;
  width: 80%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.help-ai > .button-ai {
  width: fit-content;
  height: 8vmin;
}

.help-ai h1 {
  font-size: 2.5vmin;
  margin-bottom: 3vmin;
}

.help-ai p {
  font-size: 2vmin;
  text-align: left;
  text-wrap: auto !important;
}

#closeHelpBtn {
  padding-left: 3vmin;
  padding-right: 3vmin;
}

.simpleButton {
  width: fit-content;
  height: fit-content;
  padding: 1.5vmin 1.75vmin;
  border: none;
  border-radius: 1vmin;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5vmin;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #c44569;
  cursor: pointer;
  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;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.simpleButton:hover {
  scale: 1.1;
}

.button-ai {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 20%;
  height: 90%;
  background-color: #fff;
  border-radius: 1vmin;
  box-sizing: border-box;
  color: #2c3e50;
  cursor: pointer;
  padding: 3vmin;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.1vmin 0.1vmin,
    rgba(0, 0, 0, 0.15) 0px 0.125vmin 0.2vmin,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 0.2vmin inset;
}

.button-ai p {
  font-family: 'Open Sans';
  text-transform: uppercase;
  font-size: 2vmin;
  font-weight: 800 !important;
  line-height: 1;
  text-align: center;
  padding: 0;
  margin-left: 0.5vmin;
  margin-right: 0.5vmin;
  margin-bottom: 0;
}

.button-ai:hover {
  background-color: #2c3e50;
}

.button-ai svg {
  fill: #2c3e50;
  height: 3vmin;
}

.button-ai:hover svg,
.button-ai:hover p {
  fill: #eee;
  color: #eee;
}

#nextBtn:hover {
  background-color: #16a085 !important;
}

.disabledBtn {
  box-shadow: none;
  pointer-events: none;
  background-color: #ccc;
}

.disabledBtn p,
.disabledBtn svg {
  color: #aaa;
  fill: #aaa;
}

/* -------------------------------- DROPDOWN -------------------------------- */

.select-wrapper {
  position: relative;
  width: 70%;
  height: 8vmin;
  border-radius: 1vmin;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-select {
  height: 100%;
  width: 100%;
  padding: 1vmin;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5vmin;
  color: #000;
  background-color: transparent;
  border-radius: 1vmin;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.1vmin 0.1vmin,
    rgba(0, 0, 0, 0.15) 0px 0.125vmin 0.2vmin,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 0.2vmin inset;
}

.select-wrapper:after {
  content: '';
  background-image: url('caret-down-fill.svg');
  background-size: cover;
  height: 3vmin;
  width: 3vmin;
  position: absolute;
  top: 50%;
  right: 2vmin;
  transform: translateY(-50%);
  pointer-events: none;
}

/* -------------------------------- TEXTAREA -------------------------------- */

.custom-textarea {
  font-family: 'Open Sans';
  width: 100%;
  height: 37.5%;
  /* flex-grow: 1; */
  padding: 1vmin;
  background-color: #fff;
  border: 1px solid #ffda79;
  border-radius: 1vmin;
  box-sizing: border-box;
  resize: none;
  font-size: 2vmin;
  line-height: 1.5;
  color: #000;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.1vmin 0.1vmin,
    rgba(0, 0, 0, 0.15) 0px 0.125vmin 0.2vmin,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 0.2vmin inset;
}

.custom-textarea::placeholder {
  color: #333;
}

/* --------------------------------- SLIDER --------------------------------- */

:root {
  --col0: #3498db;
  --col1: #eee;
  --col2: #ddd;
  --thumbSize: 5vmin;
  --trackWidth: 50vmin;
  --max-trackWidth: 500px;
  --trackHeight: 2vmin;
}

[type='range'] {
  width: var(--trackWidth);
  background-color: transparent;
}

[type='range']:focus {
  outline: 0;
}

[type='range']:focus::-webkit-slider-runnable-track {
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 0.1vmin inset;
}

[type='range']:focus::-ms-fill-lower {
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
}

[type='range']:focus::-ms-fill-upper {
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
}

[type='range']::-webkit-slider-runnable-track {
  cursor: pointer;
  height: var(--trackHeight);
  transition: all 0.2s ease;
  width: var(--trackWidth);
  max-width: var(--max-trackWidth);
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
  border: none;
  border-radius: 2vmin;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 0.1vmin inset;
}

[type='range']::-webkit-slider-thumb {
  background: var(--col0);
  border-radius: 50%;
  cursor: pointer;
  height: var(--thumbSize);
  width: var(--thumbSize);
  -webkit-appearance: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.2vmin 0.4vmin,
    rgba(0, 0, 0, 0.3) 0px 0.3vmin 0.1vmin -0.3vmin,
    rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
}

[type='range']::-moz-range-track {
  cursor: pointer;
  height: var(--trackHeight);
  transition: all 0.2s ease;
  width: var(--trackWidth);
  max-width: var(--max-trackWidth);
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
  border-radius: 2vmin;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 0.1vmin inset;
}

[type='range']::-moz-range-thumb {
  background: var(--col0);
  border-radius: 50%;
  cursor: pointer;
  height: var(--thumbSize);
  width: var(--thumbSize);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.2vmin 0.4vmin,
    rgba(0, 0, 0, 0.3) 0px 0.3vmin 0.1vmin -0.3vmin,
    rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
}

[type='range']::-ms-track {
  cursor: pointer;
  height: var(--trackHeight);
  background: transparent;
  border-color: transparent;
  color: transparent;
}

[type='range']::-ms-fill-lower {
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
  border-radius: 50%;
}

[type='range']::-ms-fill-upper {
  background: linear-gradient(
    to bottom,
    var(--col1),
    var(--col1) 49.9%,
    var(--col2) 50%,
    var(--col2) 100%
  );
  border-radius: 50%;
}

[type='range']::-ms-thumb {
  background: var(--col0);
  border-radius: 50%;
  cursor: pointer;
  height: var(--thumbSize);
  width: var(--thumbSize);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.2vmin 0.4vmin,
    rgba(0, 0, 0, 0.3) 0px 0.3vmin 0.1vmin -0.3vmin,
    rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
}

/* ------------------------------ RADIO BUTTON ------------------------------ */

/* Hide the default radio input */
.custom-radio-input {
  display: none;
}

/* Style for the custom radio label */
.custom-radio-label {
  font-family: 'Open Sans';
  font-size: 2.5vmin;
  width: 20vw;
  max-width: 500px;
  color: rgba(0, 0, 0, 0.3) !important;
  display: inline-block;
  padding: 1vmin;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1vmin;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.custom-radio-label {
  background-color: rgba(0, 0, 0, 0.1);
}

.custom-radio-input:checked + .custom-radio-label {
  background-color: #3498db; /* Default checked background color */
  color: #fff !important;
  font-weight: 800;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0.2vmin 0.4vmin,
    rgba(0, 0, 0, 0.3) 0px 0.4vmin 0.1vmin -0.3vmin,
    rgba(0, 0, 0, 0.2) 0px -0.3vmin 0px inset;
}

.custom-radio-input:checked + .custom-radio-label.noButton {
  background-color: #9b59b6; /* Different color for the first button when selected */
}

/* Little Animation */

.shake-horizontal {
  animation: shake-horizontal 0.8s linear both;
}
@keyframes shake-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    transform: translateX(-1vmin);
  }
  20%,
  40%,
  60% {
    transform: translateX(1vmin);
  }
  80% {
    transform: translateX(0.5vmin);
  }
  90% {
    transform: translateX(-0.5vmin);
  }
}

.swal2-container.swal2-center {
  z-index: 9999;
}

.quizCreate {
  position: fixed;
  bottom: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  column-gap: 2vmin;
  width: 100vw;
  height: 7.5vmin;
  background-color: #34495e;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.quizCreate p {
  font-size: 2vmin;
  padding: 0;
  margin: 0;
}
