.already-have-account-button-container {
  text-align: center;
  background: 'transparent';
  padding: '8px 16px';
  border: none;
  flex-direction: row;
  align-items: center;
  color: #101585 !important;
}

.already-have-account-button-text {
  color: #101585 !important;
  font-size: '16px';
  font-weight: '600';
  cursor: 'pointer';
}

/* Create Account Page Mobile Fixes */

/* Prevent any horizontal overflow */
body.create-account-body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.form-container {
  max-width: 600px;
  width: 100%;
  padding: 20px 15px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Ensure form takes full width within container */
#sign_up {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #1015851a !important;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #E2E8F0;
}

/* Wrapper divs in the form - prevent shifting */
#sign_up > div {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  align-items: 'center';
  gap: '12px';
}

/* Labels - minimal styling to prevent issues */
#sign_up label {
  display: block;
  margin-bottom: 5px;
  font-size: '13px';
  font-weight: '600';
  color: #64748B;
  margin-bottom: 8px;
  letter-spacing: '0.05em'  ;
}

/* Make all form inputs responsive */
#sign_up input[type="text"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;  /* ADD THIS LINE */
  margin-right: 0 !important; /* ADD THIS TOO */
  background-color: 'white';
  border: 2px solid #E2E8F0;
  border-radius: '12px' !important;
  padding: '14px 16px';
  font-size: '15px';
  color: #1A1F36;
  box-sizing: 'border-box';
  font-weight: '500';
}
#sign_up input[type="email"],
#sign_up input[type="password"],
#sign_up select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;  /* ADD THIS LINE */
  margin-right: 0 !important; /* ADD THIS TOO */
  margin-bottom: 15px !important;
  padding: 10px 12px !important;
  border: 1px solid #ddd !important;
}

/* Fix intl-tel-input container */
.phone-display {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  margin-bottom: 15px;
}

.phone-display .iti {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;  /* ADD THIS LINE */
  margin-right: 0 !important; /* ADD THIS TOO */
}

/* Ensure phone input has proper padding to avoid overlap */
#phone {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 10px 12px 10px 85px !important;
}

.iti__country-list {
  max-width: 300px !important;
  width: 90vw !important;
  z-index: 1000 !important;
}

/* Make sure small explainer doesn't cause overflow */
.small-explainer {
  display: block;
  font-size: 13px;
  color: #64748B;
  margin-top: 5px;
  line-height: 1.6;
  word-wrap: break-word;
  max-width: 100%;
}

/* Image responsive */
.form-container img.image {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* Password strength elements */
#password-strength-container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 10px 0 !important;
  overflow: hidden;
}

#password-strength-bar {
  max-width: 100% !important;
  box-sizing: border-box;
}

#password-strength-text {
  word-wrap: break-word;
  font-size: 14px;
  max-width: 100%;
}

/* Submit button */
#submitBtn {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  background-color: #101585;
  color: 'white';
  border: 'none';
  border-radius: '12px' !important;
  padding: '16px 24px' !important;
  font-size: '16px';
  font-weight: '600';
  cursor: 'pointer';
  box-shadow: '0 4px 12px #101585 40';
  display: 'flex';
  align-items: 'center' !important;
  justify-content: 'center';
  gap: '8px';
  align-self: 'center' !important;  
}

/* Alert messages */
.alert {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 15px;
  word-wrap: break-word;
}

/* WordPress header fix */
.wp-header {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Center tags */
center {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile specific fixes */
@media (max-width: 576px) {
  body.create-account-body {
    padding: 0;
    margin: 0;
  }

  .form-container {
    padding: 15px 10px;
    width: 100%;
  }

  .form-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .form-container img.image {
    max-width: 100px;
  }

  #phone {
    padding: 12px 12px 12px 90px !important;
  }

  .small-explainer {
    font-size: 11px;
  }

  #password-strength-text {
    font-size: 12px;
  }

  /* Make sure button is properly sized */
  #submitBtn {
    padding: 14px !important;
    font-size: 16px;
  }

  /* Paragraph text */
  .form-container p {
    font-size: 14px;
    padding: 0 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .form-container {
    padding: 15px 8px;
  }

  #phone {
    padding: 12px 12px 12px 85px !important;
  }
}