@charset "utf-8";

@import url(../css2.css);

/* ===== Registration form ===== */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.lead-form__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: rgb(13, 25, 133);
  text-align: center;
}

.lead-form__subtitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lead-form__field input {
  height: 50px;
  padding: 0 14px;
  font-size: 16px;
  font-family: inherit;
  color: #000;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}

.lead-form__field input::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.lead-form__field input:hover,
.lead-form__field input:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.lead-form__field input.is-invalid {
  border-color: #d32f2f;
}

.lead-form__error {
  min-height: 16px;
  font-size: 13px;
  line-height: 16px;
  color: #d32f2f;
}

.lead-form__btn {
  height: 60px;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background-color: rgb(13, 25, 133);
  border: none;
  border-radius: 100px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lead-form__btn:hover {
  background-color: rgb(37, 48, 145);
}

.lead-form__btn:active {
  background-color: rgb(13, 25, 133);
}

.lead-form__success {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #1b7e3c;
  text-align: center;
}
