@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");
* {
  margin: 0;
  padding: 0;
  outline: none;
  font-family: "Poppins", sans-serif;
}
/*.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}*/

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  background: -webkit-linear-gradient(bottom, #0250c5, #000000);
}
::selection {
  color: #fff;
  background: #d43f8d;
}
.agentFormMainDiv {
  /* background: #fff; */
  text-align: center;
  border-radius: 5px;
}
.agentFormHeader {
  font-size: 22px;
  font-weight: 600;
  background-color: white;
  padding: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}
.agentFormSubHeader {
  font-size: 14px;
  color: #0250c5;
  padding: 0 0 10px;
  background-color: white;
}
.container .form-outer {
  width: 100%;
  overflow: hidden;
}
.container .form-outer form {
  display: flex;
  width: 400%;
}
.form-outer form .page {
  width: 25%;
  transition: margin-left 0.3s ease-in-out;
}
.form-outer form .page .title {
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}
.form-outer form .page .field {
  /* width: 330px; */
  height: 45px;
  /* margin: 45px 0; */
  display: flex;
  position: relative;
}
form .page .field .label {
  position: absolute;
  top: -30px;
  font-weight: 500;
}
form .page .field input {
  height: 100%;
  width: 100%;
  border: 1px solid lightgrey;
  border-radius: 5px;
  padding-left: 15px;
  font-size: 18px;
}

form .page .field select {
  width: 100%;
  padding-left: 10px;
  font-size: 17px;
  font-weight: 500;
}
form .page .field button {
  width: 100%;
  height: calc(100% + 5px);
  border: none;
  background: #d33f8d;
  margin-top: -20px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.5s ease;
}

form .page .field button:hover {
  background: #000;
}
form .page .btns button {
  margin-top: -20px !important;
}
form .page .btns button.prev {
  margin-right: 3px;
  font-size: 17px;
}
form .page .btns button.next {
  margin-left: 3px;
}
.container .progress-bar {
  display: flex;
  padding: 0 0 10px;
  user-select: none;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: white;
}
.container .progress-bar .step {
  text-align: center;
  /* width: 100%; */
  position: relative;
}
.container .progress-bar .step p {
  font-weight: 500;
  font-size: 18px;
  color: #000;
  margin-bottom: 8px;
}
.progress-bar .step .bullet {
  height: 25px;
  width: 25px;
  border: 2px solid #000;
  border-radius: 50%;
  position: relative;
  transition: 0.2s;
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  z-index: 55;
}
.progress-bar .step .bullet.current-bullet {
  background-color: #281a7c;
  color: white;
}
.progress-bar .step .bullet.active {
  border-color: #1d5fe2;
  background: #1d5fe2;
  color: white;
}

.formFlexDiv {
  display: flex;
  flex-direction: column;
  height: fit-content;
  background-color: #fff;
  padding: 0 20px;
  border-radius: 0 0 10px 10px;
}

.progress-bar .step .bullet:before,
.progress-bar .step .bullet:after {
  position: absolute;
  content: "";
  bottom: 11px;
  left: 25px;
  top: 40%;
  height: 3px;
  width: 66px;
  background: #262626;
}
.progress-bar .step .bullet.active:after {
  background: #1d5fe2;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 0.3s linear forwards;
}
@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}
.progress-bar .step:last-child .bullet:before,
.progress-bar .step:last-child .bullet:after {
  display: none;
}
.progress-bar .step p.active {
  color: #d43f8d;
  transition: 0.2s linear;
}
.progress-bar .step .check {
  position: absolute;
  left: 50%;
  top: 70%;
  font-size: 15px;
  transform: translate(-50%, -50%);
  display: none;
}
.progress-bar .step .check.active {
  display: block;
  color: #fff;
}

/* inputBox style */

.inputGroup {
  font-family: "Segoe UI", sans-serif;
  margin: 15px 0;
  position: relative;
  display: flex;
  justify-content: space-evenly;
}

.inputGroup input,
select {
  font-size: 100%;
  padding: 10px;
  outline: none;
  border: 1.5px solid rgb(200, 200, 200);
  background-color: transparent;
  border-radius: 5px;
  width: 100%;
  font-size: 14px;
}

.inputGroup label {
  font-size: 14px;
  position: absolute;
  left: 0;
  padding: 0.8em;
  margin-left: 0.5em;
  pointer-events: none;
  transition: all 0.3s ease;
  color: rgb(100, 100, 100);
}


.inputGroup :is(input:focus, input.has-content) ~ label {
  transform: translateY(-50%) scale(0.9);
  margin: 0em;
  margin-left: 1em;
  padding: 0.1em 0.5rem;
  background-color: white;
  color: #13357b;
  border-color: #1d5fe2;
}

.inputGroup button {
  background-color: #13357b;
  color: white;
  font-size: 14px;
  padding: 10px 30px;
  border: none;
  font-weight: 500;
  border-radius: 5px;
  transition: 0.2s ease-in-out all;
}
.inputGroup button:hover {
  background-color: #1d5fe2;
}

.marginG {
  margin: 0.7em 0;
}

.form-control:focus {
  box-shadow: none !important;
}

.borderBlue {
  border: 1.5px solid rgb(200, 200, 200) !important;
}
.borderBlue:focus {
  border: 1.5px solid #1d5fe2;
}

@media (max-width: 576px) {
  .inputGroup label {
    font-size: 12px;
  }
  .inputGroup {
    margin: 0.5em 0;
  }
  .progress-bar .step .bullet:before,
  .progress-bar .step .bullet:after {
    width: 50px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .progress-bar .step .bullet:before,
  .progress-bar .step .bullet:after {
    width: 66px;
    left: 35px;
  }
}

.inputGroup {
    position: relative;
}
.invalid +label {
        color: red;
        }

.invalid-feedback {
    position: absolute;
    bottom: -23px; /* Adjust this value according to your preference */
    left: 12px;
    width: fit-content !important;
    font-size: 12px !important;
}

