.leadFormContainer2 {
  width: 100%;
  max-width: 300px;
  border: none;
}

.leadFormContainer2 .name-container {
  display: flex;
  gap: 10px;
}

.leadFormContainer2 input {
  width: 100%;
  padding: 10px;

  margin-top: 10px;

  background-color: white;
  border: none;
  color: black;
}

.leadFormContainer2 input:focus {
  border: none;
  outline: none;
}

.leadFormContainer2 input::placeholder {
  color: gray;
}

.leadFormContainer2 .input-group-prepend {
  display: flex;
  /* justify-items: start; */
}

.leadFormContainer2 .country-flag-container {
  position: relative;
}

.leadFormContainer2 .countryFlag {
  margin-top: 10px;

  padding: 0 10px 0 40px;

  cursor: pointer;
  border: none;
  transition-duration: 0.3s;

  background-repeat: no-repeat;
  -ms-background-position-y: center;
  background-position-y: center;
  -ms-background-position-x: 15%;
  background-position-x: 15%;
  background-color: white;

  color: black;
}

.leadFormContainer2 .countryFlag:hover {
  background-color: rgb(202, 202, 202);
}

.leadFormContainer2 .countryFlag:focus {
  border: none;
  outline: none;
}

.leadFormContainer2 .countryPhoneCodeSpan:hover {
  color: black !important;
}

/* .countryPhoneCodeSpan {
  padding-left: 30px;
} */

.countrieslist {
  max-height: 0;

  overflow-y: scroll;
  transition-duration: 0.3s;
  background-color: white;

  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  translate: 0 100%;
}

.countrieslist.show {
  max-height: 200px;
  max-width: 100%;
  padding: 10px 0;
}

.country_item {
  background-repeat: no-repeat;
  -ms-background-position-y: center;
  background-position-y: center;
  -ms-background-position-x: 20px;
  background-position-x: 20px;

  padding-left: 60px;

  cursor: pointer;

  color: black;
}

.country_item:hover {
  background-color: rgb(185, 185, 185);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 10px;

  cursor: pointer;
}

.form-check > input {
  width: 20px;

  margin: 0;

  cursor: pointer;
}

.form-check > label {
  cursor: pointer;

  text-align: start;
}

.leadFormContainer2 .leadSubmit,
.leadFormContainer2 .codeSubmit {
  background-color: #f0b90b;
  width: 100%;
  padding: 10px 0;

  margin-top: 10px;

  color: rgba(34, 34, 34, 1);
  font-size: 24px;
  font-weight: 600;

  cursor: pointer;
  border: none;
  transition-duration: 0.3s;
}

.leadFormContainer2 .leadSubmit:hover,
.leadFormContainer2 .codeSubmit:hover {
  background-color: #c29913;
}

/* .leadFormContainer2 .leadSubmit:disabled,
.leadFormContainer2 .codeSubmit:disabled {
  background-color: gray;
  opacity: 0.5;
  cursor: not-allowed;
} */

.leadFormContainer2 .error {
  color: red;
  margin-top: 10px;
}

.leadFormContainer2 .error:empty {
  display: none;
}

.form-check-label {
  color: white;
}

.leadFormContainer2 .input-error {
  outline: 2px solid red !important;
}

.leadFormContainer2 .input-warning {
  outline: 2px solid orange !important;
}

.leadFormContainer2 .input-correct {
  outline: 2px solid greenyellow !important;
}
