.contact-form-container {
  display: flex;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 30px;
}
.contact-form-component {
  padding: 20px 20px 20px 40px;
  background-color: #faf8f7;
}

.contact-form-left-image {
  height: 100%;
  object-fit: cover;
}

.contact-form-image-container {
  width: 50%;
}

.contact-form-component h2 {
  line-height: 48px;
  font-weight: 300;
  font-size: 38px;
  color: #d52618 !important;
  margin-bottom: 16px;
}

.contact-form-component form {
  display: flex;
  flex-direction: column;
}

.contact-form-component .form-group label {
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #22272a;
  display: block;
  margin-bottom: 3px;
}

.contact-form-component .form-input {
  padding: 12px 16px;
  border: 1px solid #b7b9bb;
  border-radius: 4px;
  width: 100%;
  min-width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #7a7d7f;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-right: 5px !important;
}

.contact-form-component input[type="tel"] {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.body-language .contact-form-component input[type="tel"] {
  border: 1px solid #b7b9bb;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.body-language #mpForm-countrySelect {
  border-left: none;
  border-right: 1px solid #b7b9bb;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.contact-form-component input::placeholder {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  color: #b7b9bb;
}

.contact-form-component textarea::placeholder {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  color: #b7b9bb;
}

.contact-form-component button[type="submit"] {
  margin-top: 20px;
  line-height: 24px;
  font-size: 20px;
  font-weight: 500;
  padding: 11px 16px;
  background-color: #d52618;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form-component button:hover {
  background-color: #c9302c;
}

.city-select,
.city-select-mobile {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 8px 12px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #4e5255;
  line-height: 20px;
  font-weight: 500;
  height: 44px;
  margin-top: 8px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
}
.dropdown-menu div {
  padding: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}
.dropdown-menu div:hover {
  background: #f0f0f0;
}

.form-country-code-image {
  width: 18px;
  height: 13px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

#mpForm-countrySelect,
#mpForm-countrySelectMobile {
  padding: 15px 4px 15px 16px;
  border: 1px solid #b7b9bb;
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 13px;
  color: #4e5255;
  flex: 1;
  gap: 4px;
  cursor: pointer;
  background-color: #f9fafb;
}

.dropbtn {
  cursor: pointer;
}

.search-countryCode {
  border-bottom: 1px solid #e6ecf5;
  padding-bottom: 16px;
  overflow-y: auto;
  max-height: 320px;
  padding: 10px;
  border: 1px solid #e6ecf5;
  background: white;
  border-radius: 4px;
  position: absolute;
  margin-top: 55px;
  z-index: 111111 !important;
}

.search-countryCode::-webkit-scrollbar {
  width: 5px;
}

.search-countryCode::-webkit-scrollbar-track {
  background: transparent;
}

.search-countryCode::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 5px;
}

.search-medical-units-text img {
  width: 18px !important;
  height: 13px;
}

.search-medical-units-text {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #5f6273;
  cursor: pointer;
  margin-bottom: 6px;
  border-radius: 6px;
  gap: 4px;
}

.input-wrapper-phone {
  --padding: 10px;
  --focus-color: #6b7280;
  position: relative;
  align-items: flex-end;
  width: 100%;
  flex: 3;
}

.input-wrapper-phone input {
  padding-left: 10px !important;
  font-size: 14px;
  border-left: none;
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
  width: 335px;
  color: #7a7d7f;
}

.gray-down-button {
  width: 12px !important;
  height: 12px !important;
}

#mpForm-phoneCountryCode,
#mpForm-phoneCountryCodeMobile {
  display: flex;
}

.dropbtn img {
  width: 18px;
  height: 13px;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
}

.dropdown-icon {
  right: 10px;
  width: 36px !important;
  height: 36px;
  cursor: pointer;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}
.checkbox-container input {
  accent-color: red;
  width: 18px;
  height: 18px;
}
.checkbox-container label {
  font-size: 14px;
  color: #7a7d7f;
  line-height: 18px;
  font-weight: 300;
  margin-top: 0 !important;
}
.checkbox-container label a {
  text-decoration: none;
  border-bottom: 1px solid #b7b9bb;
  color: #b7b9bb;
}

.form-row {
  display: flex;
  gap: 20px;
}

.contact-form-component .form-group {
  flex: 1;
}

.file-upload {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  max-width: 400px;
  padding: 0 !important;
  background-color: #ffffff;
}

.file-input {
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  background-color: #ffffff;
  color: #7a7d7f;
}

.file-button {
  background-color: #d52618;
  color: white;
  padding: 7px 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 4px;
  position: absolute;
  right: 4px;
}

.file-button:hover {
  background-color: #b71c1c;
}

.file-info {
  font-size: 14px;
  color: #b7b9bb;
  margin-top: 8px;
  text-align: end;
  line-height: 18px;
  font-weight: 500;
}

input[type="file"] {
  display: none;
}

textarea {
  width: 100%;
  height: 124px;
  padding: 12px 6px 12px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  margin-top: 5px;
  color: #7a7d7f;
}

.contact-form-component .dropbtn img {
  width: 24px !important;
}

.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

@media (max-width: 768px) {
  .branch-detail-banner-image {
    height: 268px;
  }

  .contact-form-left-image {
    display: none;
  }

  .content-with-image h1 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 300;
  }

  .content-with-image p {
    font-size: 16px;
    line-height: 23px;
    font-weight: 300;
    min-width: unset;
    max-width: unset;
  }

  .mobile-none {
    display: none;
  }

  .desktop-none {
    display: block;
  }

  .form-row {
    display: block !important;
  }

  .contact-form-container {
    padding: 20px;
    background-color: #faf8f7;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  }

  .contact-form-component {
    padding: unset !important;
    background-color: unset;
  }

  .contact-form-component h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .contact-form-component .form-input {
    justify-content: space-between;
  }

  .file-input {
    padding-left: 16px;
    background-color: unset;
  }

  .file-upload {
    padding-right: 8px !important;
    max-width: 100%;
  }

  .file-button {
    padding: 5px 12px;
  }

  #mpForm-countrySelect,
  #mpForm-countrySelectMobile {
    flex: unset;
  }

  .contact-form-image-container {
    display: none;
  }
}

.error-label::after {
  content: " *";
  color: #e74c3c;
  margin-left: 2px;
}
