/* ===========================
   FORM CONTAINER
=========================== */
.form-container {
  display: flex;
  padding: 0 0 0 2.07rem;
  padding-right: 0;
  /* height: 11.77rem; */
}

@media screen and (max-width: 768px) {
  .form-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.8rem 1.2rem;
    padding-left: 0;
    
  }
}

/* ===========================
   IMAGE CONTAINER (LEFT)
=========================== */
.form-container > div {
  background-image: url("../assets/chemo/patientAndDoctors.webp");
  background-size: cover;
  background-position: left;
  width: 20.66rem;
  height: 13.3rem;
  position: relative;
  left: -2rem;
  display: block;
}
@media screen and (max-width: 768px) {
  .form-container > div {
    background-image: url("../assets/chemo/patientAndDoctorsPhone.webp");
    height: 38rem;
    background-position: top;
    padding-left: 1.2rem;
    display: none;
  }
}

.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;
  }
}

@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.54rem;
    height: 22.95rem;
    padding: 0 0 1rem 0;
    margin: 10rem 0 0 0;
    border-radius: 0.36rem;
  }
}

/* ===========================
   FORM INPUTS & TEXTAREA
=========================== */
.form-container__form > input {
  width: 10.56rem;
  height: 1.1rem;
  border: 0;
  background-color: white;
  margin-top: 0.4rem;
  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: .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: .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;
     border-top-left-radius: 0.36rem;
     border-top-right-radius: 0.36rem;
  }
}

/* ===========================
   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: 0.64rem;
  color: var(--brandClr);
  font-weight: 700;
  align-self: center;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1;
  margin-top: 0.5rem;
}

.form__description {
  font-size: 0.377rem;
  color: var(--brandClr);
  font-weight: 400;
  align-self: center;
  margin-top: 0;
  padding-top: 0;
}
