:root {
  --red-color: rgba(255, 27, 27, 1);
  --background-blue: #f7fcff;
  --page-blue: #6bbec8;
}

*,
*:before,
*:after {
  box-sizing: border-box !important;
}

button {
  cursor: pointer;
}

.bigGap {
  gap: 20px;
}

.innerContainerWidth {
  max-width: 1250px;
}

.form-input {
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background-color: #e6e6e6 !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 20px !important;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
  color: #898989;
  transition: border 0.3s ease-in-out;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3e%3cpath d='M1 1L7 7L13 1' stroke='%23898989' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px 8px;
  padding-right: 45px !important;
  cursor: pointer;
}

.form-input.class-form {
  border-radius: 6px !important;
  border: 1.5px solid #d2d2d2 !important;
  background: rgba(255, 255, 255, 0.11) !important;
  color: #d5d5d5 !important;
  height: 40px !important;
  min-height: 40px !important;
  font-size: 14px;
  padding: 0 10px 0 10px;
}
.form-input.class-form::placeholder {
  opacity: 1;
  color: #d5d5d5 !important;
}

textarea.form-input {
  resize: none;
  padding-top: 10px !important;
}

.form-input:focus {
  outline: none !important;
  border: 1px solid #b2b2b2 !important;
}

.form-input.error {
  outline: none !important;
  border: 1px solid var(--red-color) !important;
}

.submit-btn {
  border: none;
  width: fit-content;
  padding: 8px 24px;
  margin-top: 32px !important;
}

.error-text {
  color: var(--red-color);
  font-size: 10px;
}

.error-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
  margin-top: 8px !important;
}

.error-container.hidden {
  max-height: 0;
}

.error-container.active {
  max-height: 100px;
}

.form-title {
  color: var(--main-color);
  margin-top: 40px !important;
}

.form-title.quiz {
  color: black
}

.text-link {
  text-decoration: underline;
  cursor: pointer;
}

.star-sign {
  color: var(--red-color);
}

.label-helper {
  margin-top: 32px;
  margin-bottom: 8px;
}

.label-helper.class-form {
  margin-top: 12px;
}

.form-img-container {
  max-width: 100%;
  margin-top: 16px;
}

.form-img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

#signup-bottom-form,
#trial-class-dialog,
.popup-form {
  width: min(90%, 600px);
  padding: 20px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-height: 90%;
}

#signup-bottom-form::backdrop,
#trial-class-dialog::backdrop,
.popup-form::backdrop {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
}

.radio-container {
  margin-left: 20px;
}
.radio-container:last-of-type {
  margin-bottom: 20px;
}
.radio-container > * {
  cursor: pointer;
}

.form-container {
  position: relative;
}

.close-form-btn {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(147, 147, 147, 0.056);
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

.close-form-btn:hover {
  background-color: rgba(147, 147, 147, 0.5);
}

.close-form-btn:active {
  background-color: rgba(147, 147, 147, 0.5);
}


.contact-form-section {
  background-color: var(--background-blue);
  /* padding: 40px 10px; */
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(107, 190, 200, 0.12);
  max-width: 700px;
  /* margin: 20px auto; */
  display: flex;
  flex-direction: column;
  gap: 24px;
}