/* ===========================
   FORM CONTAINER
=========================== */
.form-container {
  display: none;
  padding: 0 0 0 2.07rem;
  padding-right: 0;
  /* height: 11.77rem; */
  /* margin: 1.88rem 0 0 0; */
}

@media screen and (max-width: 768px) {
  .form-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem 1.8rem;
    /* padding-left: 0; */
    gap: 0.72rem;
  }
}

/* ===========================
   IMAGE CONTAINER (LEFT)
=========================== */
.form-container > div {
  background-image: url("../assets/patientAndDoctors.webp");
  background-size: cover;
  background-position: left;
  width: 20.66rem;
  height: 13.3rem;
  position: relative;
  left: -2rem;
  display: none;
}
@media screen and (max-width: 768px) {
  .form-container > div {
    background-image: url("../assets/patientAndDoctorsPhone.webp");
    height: 38rem;
    background-position: top;
    padding-left: 1.2rem;
  }
}

.form-container > div > h1 {
  width: 15.5rem;
  margin: 8rem 0 0 0;
  font-family: "Crimson Pro", serif;
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 400;
  color: #635d60;
  letter-spacing: -0.02rem;
  position: relative;
  z-index: 1;
  left: 2rem;
}
@media screen and (max-width: 768px) {
  .form-container > div > h1 {
    font-size: 2.18rem;
    position: relative;
    margin-top: 13rem;
    color: #5f4f62;
    font-family: Crimson Pro;
    font-weight: 500;
    leading-trim: NONE;
    line-height: 104%;
    letter-spacing: 0%;
  }
}

@media screen and (max-width: 768px) {
  .form-container > h1 {
    margin-top: 2.3em;
    margin-left: 0;
    margin-bottom: 0;
  }
}

/* ===========================
   IMAGE ELEMENT
=========================== */
.up-image {
  position: absolute;
  z-index: -1;
  width: 1.636rem;
  top: -0.4rem;
  left: -0.6rem;
}

@media screen and (max-width: 768px) {
  .form-container img {
    top: -0.5rem;
    left: -0.6rem;
  }
}

/* ===========================
   FORM ELEMENT
=========================== */
.form-container__form {
  display: flex;
  flex-direction: column;
  height: 14.32rem;
  width: 11.77rem;
  border-radius: 0.15rem;
  box-shadow: 0 4px 16px 0 #bfbfbf;
  /* overflow: hidden; */
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .form-container__form {
    width: 16.4rem;
    height: 21.75rem;
    padding: 0 0 1rem 0;
    /* margin-left: 1.25rem; */
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 0.72rem 0 0 0;
  }
}

/* ===========================
   FORM INPUTS & TEXTAREA
=========================== */
.form-container__form > input {
  width: 10.56rem;
  height: 1.1rem;
  border: 0;
  background-color: white;
  margin-top: 0.72rem;
  align-self: center;
  padding-left: 0.4rem;
  border: 1.22px solid #c7527f;
  border-radius: 0.1rem;
  flex-shrink: 0;
}

.form-container__form > textarea {
  width: 10.56rem;
  height: 3.2rem;
  border: 0;
  background-color: white;
  margin-top: 0.4rem;
  align-self: center;
  padding: 0.4rem;
  padding-top: 0.2rem;
  resize: none;
  border: 1.22px solid #c7527f;
  border-radius: 0.1rem;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .form-container__form > input {
    width: 15.09rem;
    height: 2rem;
    background-color: rgba(239, 239, 239, 0.5);
  }

  .form-container__form > textarea {
    width: 15.09rem;
    height: 5.45rem;
    background-color: rgba(239, 239, 239, 0.5);
    /* color: #f7f7f7; */
  }
}

/* ===========================
   FOCUS STYLES
=========================== */
.form-container input:focus,
.form-container textarea:focus,
.banner__input:focus,
.banner__message:focus {
  outline: var(--brandClr) !important;
  border: 1px solid var(--brandClr);
}

/* ===========================
   PLACEHOLDER STYLES
=========================== */
.banner__input::placeholder,
.banner__message::placeholder {
  color: #b0b0b0;
}

/* ===========================
   FORM BUTTON
=========================== */
.form-container__form > button {
  width: 4.47rem;
  height: 1.13rem;
  margin-top: 0.2rem;
  align-self: center;
  background-color: var(--brandClr);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 0.377rem;
  border-radius: 1rem;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .form-container__form > button {
    width: 7.18rem;
    height: 1.8rem;
    margin-top: 0.2rem;
    font-size: 0.636rem;
  }
}

/* ===========================
   FORM LINK (CALL CTA)
=========================== */
.form-container__form > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1.622rem;
  background-color: var(--brandClr);
  color: #fff;
  font-weight: 500;
  font-size: 0.44rem;
  text-align: center;
  text-decoration: none;
  height: 1.18rem;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .form-container__form > a {
    height: 2.2rem;
    font-size: 0.727rem;
  }
}

/* ===========================
   PHONE IMAGE INSIDE LINK
=========================== */
.form__phone-img {
  height: 0.45rem;
  width: 0.45rem;
  top: initial;
  left: initial;
  margin-right: 0.2rem;
}
@media screen and (max-width: 768px) {
  .form__phone-img {
    height: 1rem;
    width: 1rem;
  }
}

.form__title {
  font-size: 1.01rem;
  color: #ffffff;
  font-weight: 600;
  font-style: SemiBold;
  align-self: center;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
  /* margin-top: 0.5rem; */
}

.form__description {
  font-size: 0.63rem;
  color: #ffffff;
  font-weight: 400;
  align-self: center;
  margin: 0 0 0.36rem 0;
  padding-top: 0;
}
input::placeholder {
  font-size: 0.45rem;
}
textarea::placeholder {
  font-size: 0.45rem;
}
@media screen and (min-width: 768px) {
  input::placeholder {
    font-size: 0.54rem;
  }
  textarea::placeholder {
    font-size: 0.54rem;
  }
  .captcha-container {
    width: 5rem;
    height: 3rem;
  }
}

@media screen and (min-width: 768px) {
  .form__title {
    font-size: 0.646rem;
  }
  .form__description {
    font-size: 0.36rem;
  }
  .form-header {
    border-top-left-radius: 0.27rem;
    border-top-right-radius: 0.27rem;
  }
  .or {
    display: none;
  }
}
.or {
  color: #4d2a53;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 1.01rem;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
