/* main css */
.heading h3 {
  font-size: 32px;
  font-weight: 700;
}
.heading h3 span {
  color: #ff0000;
}
#noChancesMessage {
  display: none;
  margin-top: 15px;
  font-weight: bold;
}

#noChancesMessage a {
  color: #42288a;
  text-decoration: none;
}

.remainingChances {
  margin-left: 10px;
}

.textForm textarea {
  width: 100%;
  margin-top: 10px;
  min-height: 100px; /* Minimum height */
  overflow-y: hidden; /* Prevent scrollbar */
  padding: 8px;
  box-sizing: border-box;
  overflow-y: auto;
}

.textForm .clickable-text {
  cursor: pointer;
  text-decoration: underline;
}
.textForm .clickable-url {
  cursor: pointer;
  text-decoration: underline;
}
.textForm button {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #42288a; /* Example blue background */
  color: white; /* Button text color */
  border: none; /* Remove default border */
  margin-top: 4px;

  border-radius: 5px; /* Rounded corners */
}

.apiResponse h2 {
  color: #333;
  font-size: 2rem;
}

#ekit-popup-modal-toggler {
  display: none;
}
/* loading */

.loading-dots {
  display: inline-flex;
  overflow: hidden;
  white-space: nowrap;
  animation: typing;
  animation-duration: 2s;
  animation-timing-function: steps(30, end);
  animation-fill-mode: forwards;
  animation-iteration-count: 10, infinite;
}
@keyframes typing {
  0% {
    width: 0;
  }
  50% {
    width: 40px;
  }
  100% {
    width: 0;
  } /* Reset to 0% for looping */
}
/* end loading */
.mainContainer {
  display: flex;
  justify-content: space-evenly;
}

.rightContainer {
  width: 45%;
}
.leftContainer {
  width: 45%;
}

/* main css */
.textForm button:hover,
.textForm button:focus {
  color: white;
}
.revisionMode {
  cursor: pointer;
  margin-bottom: 6px;
}
.revisionMode .buttonContainer {
  margin-top: 2px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.revisionMode .buttonContainer p {
  width: 50%;
  margin: 0;
  border: 1px solid #42288a;
  padding: 2px;
  border-radius: 10px;
  text-align: center;
}
.revisionMode .buttonContainer p.checked {
  background: #42288a;
  color: #fff;
}
#revisorApiMessage {
  border: 1px solid;
  padding: 6px;
  border-radius: 10px;
  text-align: center;
  margin-top: 10px;
}
#errorMessageEmptyRevisor {
  color: red;
}
.reviserLoading {
  display: inline-flex;
  overflow: hidden;
  white-space: nowrap;
  animation: typing;
  animation-duration: 2s;
  animation-timing-function: steps(30, end);
  animation-fill-mode: forwards;
  animation-iteration-count: 1000, infinite;
}
@keyframes typing {
  0% {
    width: 0;
  }
  50% {
    width: 40px;
  }
  100% {
    width: 0;
  } /* Reset to 0% for looping */
}
@media only screen and (max-width: 600px) {
  .mainContainer {
    display: block;
    width: 100%;
  }
  .rightContainer {
    width: 100%;
  }
  .leftContainer {
    width: 100%;
  }
  .remainingChances {
    display: block;
    margin-left: 0;
    padding: 10px;
    text-align: center;
  }
  .submitButton {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .heading h3 {
    text-align: center;
    font-size: 24px;
  }
  .revisionMode .buttonContainer {
    flex-direction: column;
    gap: 3px;
  }
  .revisionMode .buttonContainer p {
    width: 100%;
  }
  .apiResponse h2 {
    font-size: 1.2rem;
    text-align: center;
  }
  @keyframes typing {
    0% {
      width: 0px;
    }
    50% {
      width: 6px;
    }
    100% {
      width: 12px;
    } /* Reset to 0% for looping */
  }
}
