@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Irish+Grover&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
body {
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background-color: #e0eae8;
  height: 100vh;
  justify-content: center;
}
* {
  padding: 0;
  margin: 0;
  border: 0;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e0eae8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out;
}
/* Loader Animation */
.spin {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(62, 128, 118, 0.3);
  border-top: 5px solid #4361EE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}
main {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.flex {
  width: 100%;
  height: 94%;
  padding: 24px;
  opacity: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 56px;
  align-items: center;
  box-sizing: border-box;
}
.img-container {
  height: fit-content;
  background-color: #4361EE;
  width: 350px;
  height: 100%;
  padding: 24px;
  gap: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.first-div {
  height: fit-content;
  opacity: 0px;
  box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.first-div h1 {
  font-family: Inter;
  font-size: 20px;
  font-weight: 700;
  line-height: 24.05px;
  text-align: left;
  color: #ffffff;
  padding-bottom: 46px;
}
.first-div img {
  display: none;
}
.first-div h3 {
  font-family: Inter;
  font-size: 30px;
  font-weight: 700;
  line-height: 34.41px;
  text-align: left;
  color: #ffffff;
  padding-bottom: 12px;
}
.first-div p {
  font-family: PT Sans;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.29px;
  text-align: left;
  color: #ffffff;
}
.second-div {
  width: 100%;
  padding: 10px;
  gap: 12px;
  border-radius: 25px;
  opacity: 0px;
  background-color: #4361EE;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.second-div h4 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 700;
  line-height: 24.2px;
  text-align: left;
  color: #ffffff;
}
.second-div span {
  font-family: PT Sans;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 20.7px;
  text-align: left;
  color: #ffffff;
}
.form-container {
  width: 600px;
  height: 100%;
  gap: 56px;
  opacity: 0px;
  overflow-y: scroll;
}
.seconddiv-prof {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seconddiv-prof h6 {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 15.53px;
  text-align: left;
}
.seconddiv-prof img {
  width: 24px;
  height: 24px;
  gap: 0px;
  border-radius: var(--sds-size-radius-full);
  opacity: 0px;
}
.secondiv-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.line {
  width: 100%;
  height: 12px;
  gap: 4px;
  opacity: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #e0eae8;
  padding-bottom: 56px;
}
.line1 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: black;
  border: 1px solid black;
}
.line2 {
  width: 200px;
  height: 0px;
  gap: 0px;
  border: 1px solid black;
  background-color: black;
  margin-right: 4px;
}
.title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  padding-bottom: 24px;
}
.form-input {
  width: 100%;
  /* padding: 24px; */
  box-sizing: border-box;
}
.form {
  width: 100%;
  display: flex;
  flex-direction: column;
}
input,
select {
  height: 30px;
  padding: 10;
  border: 1px solid black;
}
.password-div {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.password-container {
  position: relative;
  width: 100%;
}

#eye-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
}
.password-container2 {
  position: relative;
  width: 100%;
}
#eye-icon2 {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
}
.password-requirements {
  font-size: 12px;
  color: #666;
}
.input-div {
  display: flex;
  flex-direction: column;
}
.first-detail {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.first-detail .input-div {
  width: 30%;
}
.residence .input-div {
  width: 48%;
  height: 100%;
  box-sizing: border-box;
}
.names {
  width: calc(100% - 10px);
  padding: 0px 4px;
}
.location {
  width: calc(100% - 10px);
  padding: 0px 4px;
}
.residence {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
}
.phone-input-container {
  position: relative;
}
.phone-number-input {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.dropdown {
  width: fit-content;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  display: none;
  max-height: 150px;
  overflow-y: auto;
}

.dropdown div {
  padding: 8px;
  cursor: pointer;
}
.dropdown div:hover {
  background-color: #f0f0f0;
}
.currency-input-container {
  position: relative;
  width: 100%;
}
.date-flex {
  display: flex;
  justify-content: space-between;
}
label {
  padding: 4px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 12.5px;
  letter-spacing: 0px;
}
.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
}

.password-container,
.pin-container {
  display: flex;
  position: relative;
  flex-direction: column;
}
.password-div,
.pin-div {
  display: flex;
  width: 100%;
  gap: 20px;
}
.password-div .input-div,
.pin-div .input-div {
  width: 50%;
}

.password-container i,
.pin-container i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: gray;
}

input {
  padding-right: 30px; /* Ensure space for the eye icon */
}

.next-btn {
  width: fit-content;
  height: 34px;
  opacity: 0px;
  text-align: center;
  margin: auto;
  margin-top: 30px;
  border-radius: 25px;
  align-content: center;
  display: flex;
  gap: 10px;
}

.phone-number {
  width: 100%;
}

.next-btn {
  box-sizing: border-box;
}
input {
  padding: 0px 5px;
}
/* Make the dropdown container hidden initially */
.currency-dropdown {
  display: none;
  position: absolute; /* Adjust positioning as needed */
  background-color: white;
  border: 1px solid #ccc;
  width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Ensure it appears above other content */
}

.currency-dropdown div {
  padding: 8px;
  cursor: pointer;
}

.currency-dropdown div:hover {
  background-color: #f1f1f1;
}

/* Style for the currency input field */
.currency-input-container {
  position: relative; /* To position dropdown relative to the input */
  width: 200px; /* Set input width as required */
}

.mobile-view {
  display: none;
}

.step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.active {
  opacity: 1;
  display: flex;
  flex-direction: column;
}
.error {
  border: 1px solid red;
}
.error-message {
  color: red;
  font-size: 12px;
  display: block;
}
.progress-bar {
  width: 100%;
  background: #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}
.progress {
  height: 10px;
  width: 33%;
  background: #4361EE;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
}
.next-btn button {
  background: #000000;
  color: #fff;
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  width: fit-content;
  height: 34px;
  padding: 20px;
  gap: 10px;
  border-radius: 25px;
  opacity: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.currency-input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.proofAddress {
  display: flex;
  justify-content: space-between;
}
.proofAddress input {
  margin-bottom: 20px;
}
.agreement-checkbox {
  display: flex;
  align-items: center;
}
#agreeToTerms {
  cursor: pointer;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

.hidden {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  height: 40px;
}

/* Toast */
.toast {
  font-family: "Inter", sans-serif;
  position: relative;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  font-weight: 300;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show toast */
.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* Toast icon */
.toast-icon {
  margin-right: 10px;
  font-size: 12px;
}

/* Success toast */
.toast-success {
  background-color: #28a745; /* Green */
}

/* Error toast */
.toast-error {
  background-color: #dc3545; /* Red */
}

/* Progress bar */
/* Progress bar colors based on toast type */
.toast-success .toast-progress {
  background-color: rgba(0, 128, 0, 0.7);
}

.toast-error .toast-progress {
  background-color: rgba(220, 53, 69, 0.7);
}

.proofAddress input {
  height: fit-content;
  width: fit-content;
  border: none;
}
.prevbtn {
  font-family: "Inter", sans-serif;
  background: none;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
}
@media screen and (max-width: 1280px) {
  body {
    width: 100%;
  }
  main {
    width: 100%;
    height: 100%;
    overflow: scroll;
  }
  .flex {
    flex-direction: column;
    /* padding: 15px 15px; */
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    justify-content: center;
    padding: 12px;
  }
  .first-div img {
    display: block;
    width: 100%;
  }
  .first-div h1 {
    display: none;
  }
  .img-container {
    width: 100%;
    height: 450px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .first-div,
  .second-div {
    width: 100%;
    height: 150px;
  }
  .second-div {
    width: 95%;
  }
  .form-container{
    height: fit-content;
    overflow: hidden;
  }
  .form-container,
  form,
  input,
  option,
  select {
    width: 100%;
    box-sizing: border-box;
  }
  h3.title {
    padding-left: 24px;
  }
  .p2 {
    padding-top: 6px;
  }
}

@media screen and (max-width: 600px) {
  form {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .first-detail {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    padding: 0;
  }
  .input-div {
    width: 100%;
  }
  .residence {
    flex-direction: column;
    gap: 0;
  }
  .first-detail .input-div {
    width: 100%;
    justify-content: center;
  }

  .residence .input-div {
    width: 100%;
  }
  input {
    width: 100% !important;
  }
  .img-container {
    width: 100%;
    height: 280px;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 6px;
  }
  .first-div,
  .second-div {
    width: 100%;
    height: 130px;
    padding: 12px;
    box-sizing: border-box;
  }
  .first-div img {
    display: block;
  }
  .first-div h1 {
    display: none;
  }
  .first-div h3 {
    font-family: Inter;
    font-size: 24px;
    font-weight: 700;
    line-height: 19.36px;
    text-align: left;
  }
 
  .password-div {
    flex-direction: column;
  }
  .password-div .input-div {
    width: 100%;
  }
  .first-div p {
    font-family: PT Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
  }
  .second-div h4 {
    font-family: Inter;
    font-size: 18px;
    font-weight: 700;
    line-height: 19.36px;
    text-align: left;
  }
  .second-div span {
    font-family: PT Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 12.35px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .second-div img {
    height: 16px;
    width: 16px;
  }
  .second-div h6 {
    font-family: PT Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 7.76px;
  }
  .second-detail {
    width: calc(100% - 2px);
  }
  .address {
    width: 100%;
  }
  #ssn {
    width: 100%;
    box-sizing: border-box;
  }
  .currency-input {
    box-sizing: border-box;
  }
  .phone-input-container {
    width: 100%;
    box-sizing: border-box;
  }
  #phone-number,  .dropdown{
    width: 100%;
   box-sizing: border-box;
  }
  .ssndv {
    width: 100%;
    box-sizing: border-box;
  }
  .proofAddress {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .proofAddress input {
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  #agreeToTerms {
    width: 18px;
    height: 18px;
  }
  .agreement-checkbox {
    display: flex;
    padding-top: 10px;
    align-items: center;
  }
}
@media screen and (max-width: 380px) {
  .first-div h3 {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 19.36px;
    text-align: left;
  }
  .second-div h4 {
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    line-height: 19.36px;
    text-align: left;
  }
  .next {
    width: 120px;
  }
}
