@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

:root {
  --clr-primary-200: #f7911d;
  --clr-primary-400: #fbb03b;
  --clr-primary-500: #f7931e;
  font-size: 16px;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  background-image: url("../img/curve_blue.svg");
  background-repeat: no-repeat;
  background-position-y: 100%;
  background-size: 100%;
}

#telidesk-form {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

#telidesk-form * {
  font-family: "Poppins", Helvetica Neue, Helvetica, Arial, sans-serif;
}

#telidesk-form .loader-container {
  display: none;
}

#telidesk-form #progress-bar {
  background-color: #42cbff;
}

#telidesk-form .form-group .form-control {
  height: 40px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
#telidesk-form .form-group .control-label {
  margin-bottom: 0.65rem;
}

#telidesk-form #submit-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 1.25rem;
  width: 100%;
}

#telidesk-form #submit-button .btn {
  --bg-color: var(--clr-primary-500);
  --font-color: white;

  text-decoration: none;
  color: var(--font-color) !important;

  padding: 0.75rem 3.2rem;
  border-radius: 100vh;
  min-width: 180px;
  min-height: 47px;
  transition: transform ease 250ms, background-color ease 300ms;
  width: 100%;
  border: none;
  font-size: 1rem;
  padding: 0.75em 2em;
  margin: 5px;
  box-shadow: none;
  text-shadow: none;
  background-image: none;
  background-color: var(--clr-primary-500);
  transition: background-color ease-in-out 250ms;
}

#telidesk-form #submit-button .btn:hover {
  background-color: var(--clr-primary-400);
}

#telidesk-form .help-cta {
  margin-top: 2.5rem;
}

#telidesk-form .help-cta .link {
  color: var(--clr-primary-500);
}

#telidesk-form .to-validate .title {
  text-transform: capitalize;
  margin: 1.5rem 0;
}

.telidesk-branding {
  /* margin-top: 2rem; */
}

.telidesk-logo {
  width: 160px;
  transition: transform 200ms ease-in-out;
}

.telidesk-logo:hover {
  transform: scale(1.025);
}

.telidesk-slogan {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.85rem 0;
}

.telidesk-description {
  max-width: 900px;
  align-self: center;
  margin-bottom: 1.25rem;
}

.telidesk-terms {
  text-align: left;
  min-height: 200px;
  background-color: #eee;
  overflow-y: scroll;
}

@media only screen and (min-width: 900px) {
  #telidesk-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    width: 75%;
    min-height: 660px;
  }

  #telidesk-form .loader-container {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
  }

  #telidesk-form .form-group {
    display: flex;
    height: 50px;
  }

  #telidesk-form .form-group .control-label {
    width: 33%;
  }

  #telidesk-form .form-group .col-lg-8 {
    width: 66%;
  }

  #telidesk-form .to-validate .title {
    margin-bottom: 2rem;
  }

  #telidesk-form #submit-button {
    flex-direction: row;
    justify-content: center;
  }

  #telidesk-form #submit-button .btn {
    max-width: 200px;
  }

  #telidesk-form #termstext {
    resize: vertical;
    min-height: 200px;
  }

  .telidesk-validate {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #telidesk-form .col-md-6 {
    width: 80%;
  }
}
