.wf-register-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wf-register {
  position: unset;
  top: unset;
  left: unset;
  transform: unset;
  width: 100%;
  border-radius: 0px;
  overflow: auto;
  background: #9C8BD1;
  padding: 5px 25px;
  overflow: auto;
  height: max-content;
  max-width: 500px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.wf-register h3 {
  text-align: left;
  color: #FFFFFF;
}
.wf-register .register-close-btn {
  filter: invert(90%) brightness(200%) contrast(200%);
}
.wf-register .textfield {
  border-radius: 8px;
  margin-bottom: 4px;
}
.wf-register select,  
.wf-register input[type="email"],
.wf-register input[type="password"],
.wf-register input[type="text"] {
  border-radius: 8px;
  margin-bottom: 3px;
  height: 33px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: none;
}
.wf-register select {
  padding-right: 55px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url('https://cdn-icons-png.flaticon.com/512/60/60995.png') no-repeat right center;
  background-size: 10px;
  background-color: #FFF;
  padding-right: 20px;
  background-position-x: calc(100% - 8px);
}
.wf-register .create-account-btn {
  width: 100%;
  background: #5D4C95;
  color: #FFFFFF;
  border-radius: 8px;
  border: none;
  padding: 10px 0;
  text-transform: uppercase;
  margin-top: 2px;
}
.wf-register .create-account-btn[disabled] {
  background-color: grey;
  cursor: not-allowed;
}
.wf-register .verify-mobile-btn {
  background-color: #5D4C95;
  border-radius: 5px;
  border: none;
  color: #FFFFFF;
  margin: 6px 5px;
  font-size: 14px;
  padding: 3px 15px;
  margin-left: 0;
  white-space: nowrap;
}
.wf-register .register-close-btn {
  position: unset;
  height: 20px;
}
.wf-register-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wf-register .inner-container {
  max-width: 420px;
}
.wf-register-phone-container {
  display: flex;
  gap:5px;
}
.wf-register-phone-container > div:first-child {
  width: 30%;
}
.wf-register-phone-container > :nth-child(2) {
  width: 70%;
}
.wf-register #countryCode {
  margin-bottom: 0;
}
.wf-register-phone-container > :nth-child(2) > div:first-child {
  display: flex; 
  background: #FFFFFF;
  align-items: center; 
  border-radius: 8px;
}
.wf-register #phoneNumber {
  margin-bottom: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.wf-register-code-info {
  text-align: center;
  visibility: hidden;
}
.wf-register-code-info p {
  color: #FFFFFF;
  padding: 5px 0;
}
.wf-register-tac-container {
  line-height: 17px; 
  margin-top: 5px;
}
.wf-register-tac-container p {
  color: #FFFFFF;
  padding: 4px 0;
}
.wf-register .custom-dropdown {
  position: relative;
  font-family: Arial, sans-serif;
  user-select: none;
}
.wf-register .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
}
.wf-register .dropdown-toggle span {
  display: flex;
  align-items: center;
}
.wf-register .dropdown-toggle img {
  width: 20px;
  height: 15px;
  margin-right: 8px;
}
.wf-register .dropdown-toggle::after {
  content: "";
  margin-left: auto;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
}
.wf-register .dropdown-menu {
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  margin-top: 2px;
  z-index: 100;
  display: none;
}
.wf-register .custom-dropdown.active .dropdown-menu {
  display: block;
}
.wf-register .dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
}
.wf-register .dropdown-item:hover {
  background-color: #f1f1f1;
}
.wf-register .dropdown-item img {
  width: 20px;
  height: 15px;
  margin-right: 8px;
}
  /* ===== Container for the input and the icon ===== */
.password-field {
  position: relative;
}
/* ===== The password input ===== */
.password-field input {
  width: 100%;
  padding: 10px 40px 10px 12px; /* Extra right padding to accommodate icon */
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
/* ===== Hover / Focus states (optional) ===== */
.password-field input:focus {
  border-color: #9b70d6; /* Purple highlight on focus */
}
/* ===== The toggle icon container ===== */
.toggle-password-btn {
  position: absolute;
  right: 10px;    /* Space from the right edge */
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  /* optional styling to match your design */
  width: 24px;
  height: 24px;
}
.toggle-password-btn img {
  width: 100%;
  height: 100%;
  display: block;
}
@media  screen and (max-width: 500px) {
  .wf-register {
    border-radius: 0;
  }
  .wf-register-container {
    align-items: start;
  }
  .wf-register  {
    margin-top: 104px;
    height: 100%;
  }
}