.request-form-container {
  display: flex;
  justify-content: center;
}
.request-form-component {
}

.form-inputs-container {
  display: flex;
  gap: 20px;
}

.request-form-component h2 {
  line-height: 48px;
  font-weight: 300;
  font-size: 38px;
  color: #d52618 !important;
  margin-bottom: 16px;
}


.request-form-component form {
  display: flex;
  flex-direction: column;
}

.request-form-component .form-group label {
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #22272a;
  display: block;
  margin-bottom: 8px;
}

.request-form-component .form-input {
  padding: 12px 16px;
  border: 1px solid #b7b9bb;
  border-radius: 4px;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #7a7d7f;
}

.request-form-component input[type="tel"] {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.request-form-component input::placeholder {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  color: #b7b9bb;
}

.request-form-component textarea::placeholder {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  color: #b7b9bb;
}

.request-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;
  width: 334px;
  align-self: flex-end;
}

.spinnerReq {
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.request-form-component button:hover {
  background-color: #c9302c;
}

button[disabled] {
    opacity: .85;
    pointer-events: none;
}


.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;
}

#requestCountrySelect,
#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;
}

#requestPhoneCountryCode,
#phoneCountryCodeMobile {
  display: flex;
}

.dropbtn img {
  width: 18px !important;
  height: 13px !important;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
}

.dropdown-icon {
  right: 10px;
  width: 36px !important;
  height: 36px;
  cursor: pointer;
}

/*.request-form-component input:focus {
  outline: none;
}*/

.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;
}

.request-form-component .form-group {
  flex: 1;
}

#requestForm textarea,
#patientGuideRequestForm textarea,
#feedbackRequestForm textarea {
  width: 100%;
  height: 464px;
  padding: 12px 6px 12px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  margin-top: 0;
  color: #7a7d7f;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: rgba(34, 39, 42, 1);
  font-weight: 500;
}

.request-form-component .dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  padding-left: 16px;
  border: 1px solid rgba(183, 185, 187, 1);
  background-color: white;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #7a7d7f;
  width: 100%;
  height: 48px;
}

.dropdown-selected img {
  transition: transform 0.3s ease;
}

.dropdown-options {
  display: none;
  position: absolute;
  min-width: 100%;
  width:100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
  z-index: 9;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 270px;
  overflow: hidden;
  overflow-y: auto;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    white-space: normal;
    word-wrap: break-word;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.dropdown-options.show {
  display: block;
}

.dropdown-selected.open img {
  transform: rotate(90deg);
}

.dropdown-icon {
  background-color: rgba(251, 233, 232, 0.5);
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
}

.dropdown-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(95%) saturate(7480%)
    hue-rotate(354deg) brightness(85%) contrast(104%);
}

@media (max-width: 768px) {
  .form-inputs-container {
    display: block;
  }

  .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;
  }

  .request-form-container {
    padding: 0;
  }

  .request-form-component {
    padding: unset !important;
  }

  .request-form-component h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .request-form-component .form-input {
    justify-content: space-between;
  }

  #requestCountrySelect,
  #countrySelectMobile {
    flex: unset;
  }

  .request-form-component button[type="submit"] {
    width: 100%;
  }

  #requestForm textarea {
    height: 124px;
  }
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.has-error .form-input,
.has-error .custom-dropdown > .dropdown-selected {
  border: 1px solid red;
  border-radius: 4px;
}

#group-message.has-error textarea {
  border: 1px solid red;
  border-radius: 4px;
}

.has-error input[type="checkbox"] {
  outline: 2px solid red;
  outline-offset: 2px;
  border-radius: 4px;
}

.has-error .checkbox-container label {
  color: red;
}

.request-form-component .dropdown-selected:focus-visible,
.request-form-component #requestCountrySelect:focus-visible,
.request-form-component .dropdown-item.keyboard-focus,
.request-form-component .dataCountry.keyboard-focus,
.request-form-component input:focus-visible,
.request-form-component textarea:focus-visible,
.request-form-component button:focus-visible,
.request-form-component input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(183,185,187,.4);
    border-radius: 4px;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
}

#requestFormWrapper .textarea-wrapper textarea {
    box-sizing: border-box;
    padding-bottom: 36px;
}

.character-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: #7a7d7f;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    pointer-events: none;
    user-select: none;
}