/* DesiSanjog BuddyPress registration styling.
   Paste into Appearance > Customize > Additional CSS, or
   Appearance > Editor > Styles > Additional CSS. */

#buddypress #register-page {
  max-width: 780px;
  margin: 0 auto 80px;
  color: #233247;
}

#buddypress #register-page #signup_form {
  display: flex !important;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin: 0;
}

#buddypress #register-page #signup_form > p,
#buddypress #register-page .bp-feedback {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #eadfe3;
  border-radius: 12px;
  background: #fff6f7;
  color: #4e5c6d;
}

#buddypress #register-page #signup_form .register-section {
  box-sizing: border-box;
  display: block;
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #eadfe3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(35, 50, 71, .07);
}

#buddypress #register-page #signup_form .register-section h2 {
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid #f0e8eb;
  color: #233247;
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.25;
}

#buddypress #register-page #signup_form label {
  display: block;
  margin: 19px 0 7px;
  color: #26344b;
  font-size: 15px;
  font-weight: 700;
}

#buddypress #register-page #signup_form input[type="text"],
#buddypress #register-page #signup_form input[type="email"],
#buddypress #register-page #signup_form input[type="password"],
#buddypress #register-page #signup_form input[type="number"],
#buddypress #register-page #signup_form input[type="tel"],
#buddypress #register-page #signup_form input[type="url"],
#buddypress #register-page #signup_form select,
#buddypress #register-page #signup_form textarea {
  box-sizing: border-box;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #cbd3dc;
  border-radius: 10px;
  background: #fff;
  color: #233247;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
}

#buddypress #register-page #signup_form textarea {
  min-height: 115px;
  resize: vertical;
}

#buddypress #register-page #signup_form input:focus,
#buddypress #register-page #signup_form select:focus,
#buddypress #register-page #signup_form textarea:focus {
  outline: 3px solid rgba(168, 68, 96, .18);
  outline-offset: 1px;
  border-color: #a84460;
}

#buddypress #register-page #signup_form input[type="checkbox"],
#buddypress #register-page #signup_form input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #a84460;
  vertical-align: middle;
}

#buddypress #register-page #signup_form .editfield,
#buddypress #register-page #signup_form .field-visibility-settings {
  margin-bottom: 17px;
}

#buddypress #register-page #signup_form .field-visibility-settings-toggle,
#buddypress #register-page #signup_form .description,
#buddypress #register-page #signup_form .hint {
  color: #687589;
  font-size: 13px;
  line-height: 1.5;
}

/* Prevent the Caps Lock indicator SVG from filling the password column. */
#buddypress #register-page #signup_form svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}

#buddypress #register-page #signup_form .submit {
  float: none !important;
  clear: both;
  width: 100%;
  margin: 0;
  text-align: center;
}

#buddypress #register-page #signup_submit {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #a84460;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

#buddypress #register-page #signup_submit:hover,
#buddypress #register-page #signup_submit:focus {
  background: #87334c;
  color: #fff;
}

@media (max-width: 600px) {
  #buddypress #register-page { padding: 0 16px; }
  #buddypress #register-page #signup_form .register-section { padding: 20px; }
  #buddypress #register-page #signup_submit { max-width: none; }
}
