/* ===== Register form restyle (scope: .accWp) ===== */

.accWp {
  --gold: #ddb75a;
  --gold-dark: #c99a2e;
  --navy: #111a30;
  --muted: #8a8f9a;
  --border: #dcdde1;
  --card: #faf9f8;
}

/* ---- Card ---- */
.accWp .um-133.um {
  max-width: 520px !important;
  margin: 30px auto;
  padding: 40px 40px 32px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.accWp .um-row {
  margin: 0 0 22px 0 !important;
}

/* ---- First / Last name side by side ---- */
.accWp .um-row._um_row_2 {
  display: flex;
  gap: 24px;
}
.accWp .um-row._um_row_2 .um-clear { display: none; }
.accWp .um-row._um_row_2 > [class^="um-col-"] {
  flex: 1;
  width: 50% !important;
  float: none !important;
  padding: 0 !important;
}

/* ---- Labels ---- */
.accWp .um-field {
  padding: 0 !important;
  margin-bottom: 22px;
}
.accWp .um-row > [class^="um-col-"] > .um-field:last-child { margin-bottom: 0; }

.accWp .um-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
}
.accWp .um-field-label label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.accWp .um-field-label label::after {
  content: " *";
  color: #e11d2e;
}
.accWp .um-field-label .um-clear { display: none; }

/* Help "?" icon */
.accWp .um-tip {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #a7a7b3;
  color: #fff;
  font-size: 13px;
  cursor: help;
}
.accWp .um-tip i { font-size: 13px; color: #fff; line-height: 1; }

/* ---- Inputs ---- */
.accWp .um-field-area { position: relative; }

.accWp .um-form-field {
  width: 100%;
  height: 50px;
  padding: 0 46px 0 48px !important;
  background-color: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  font-size: 15px;
  color: var(--navy);
  box-shadow: none !important;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.accWp .um-form-field::placeholder { color: #9aa0ab; }
.accWp .um-form-field:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(221, 183, 90, 0.25) !important;
}

/* Icons inside inputs (user / mail / lock) */
.accWp #user_login-133,
.accWp #first_name-133,
.accWp #last_name-133 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}
.accWp #user_email-133 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
.accWp #user_password-133,
.accWp #confirm_user_password-133 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 018 0v4'/%3E%3C/svg%3E");
}

/* Password hint text under first password field */
.accWp #um_field_133_user_password .um-field-area::after {
  content: "Use at least 8 characters with a mix of letters, numbers, and symbols.";
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}

/* Eye toggle */
.accWp .um-password-toggle {
  position: absolute;
  right: 16px;
  top: 25px;
  transform: translateY(-50%);
  color: #444;
  cursor: pointer;
  line-height: 1;
}
.accWp .um-password-toggle i { font-size: 16px; }

/* ---- Buttons ---- */
.accWp .um-col-alt { margin-top: 26px; }

.accWp .um-col-alt .um-left.um-half {
  float: none !important;
  width: 100% !important;
}
/* Hide the grey "Login" button (link below is used instead) */
.accWp .um-col-alt .um-right.um-half { display: none; }

.accWp .um-button#um-submit-btn {
  width: 100%;
  height: 54px;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: 0;
  border-radius: 10px !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(221, 183, 90, 0.35);
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.accWp .um-button#um-submit-btn:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(201, 154, 46, 0.4);
}

/* ---- "Already a member? Log In" ---- */
.accWp .um-133 + style + p,
.accWp .row > p:last-child {
  max-width: 520px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.accWp .row > p:last-child a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- Mobile ---- */
@media (max-width: 520px) {
  .accWp .um-133.um { padding: 28px 20px; }
  .accWp .um-row._um_row_2 { flex-direction: column; gap: 22px; }
  .accWp .um-row._um_row_2 > [class^="um-col-"] { width: 100% !important; }
}