.container {
  width: 100%;
  position: fixed;
  z-index: 3;
  bottom: 0dvh;
  border: 1px solid var(--secondary);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: var(--secondary-600);
}

.wrapper {
  padding: 20px 15px;
}

.content {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.title {
  font-size: 20px;
  line-height: 135%;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: var(--primary-100);
}

.subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 150%;
  color: var(--primary-200);
  text-align: center;

  & > span {
    color: var(--primary);
    font-weight: 700;
  }
}

.form {
  position: relative;
}

.label {
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 120%;
  color: var(--typography-100);
}

.inputContainer {
  min-width: 0;
  margin-bottom: 0;

  & > input:focus {
    border-color: var(--primary);
  }

  & > .input:focus + .placeholder,
  & > .input:not(:placeholder-shown) + .placeholder {
    opacity: 0;
  }
}

.input {
  display: block;
  color: var(--typography-100) !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px !important;
  background-color: transparent;
  background-clip: padding-box;
  padding: 0 15px !important;
  height: 40px !important;
  border: 1px solid var(--secondary-100);
  border-radius: 25px !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  &.invalid {
    border: 2px solid var(--error) !important;
  }
}

.placeholder {
  left: 15px;
}

.error {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 100%;
  padding-left: 17px;
  margin-top: 8px;
  color: var(--error);
  font-size: 12px;
  text-align: left;
}

.button {
  margin-top: 28px;

  & > button {
    width: 100%;
    height: 50px;
    font-weight: 600;
    padding: 10px 50px;
  }
}

.why-ask {
  margin: 8px auto 5px;
  text-align: center;

  & > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-self: center;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
    line-height: 24px;
    transition: all 0.15s ease-in-out 0ms;
    padding: 0;
    border: none;
    height: auto;
    width: auto;
    background: transparent;
    color: var(--secondary-100);
    text-decoration: underline;

    & > span {
      display: inherit;
      align-items: inherit;
      justify-content: inherit;
    }
  }
}
