.mhrf-screen-register.mhrf-wrap{
  max-width: 560px;
  padding: 34px 18px 72px;
}

.mhrf-screen-register .mhrf-title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(42px, 7vw, 64px);
}

.mhrf-screen-register .mhrf-sub{
  font-size: 18px;
  line-height: 1.5;
}

.mhrf-screen-register .mhrf-card-lg{
  padding: 28px 24px;
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}

.mhrf-screen-register .mhrf-label{
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.mhrf-screen-register .mhrf-input{
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0;
  height: auto;
  color: var(--mhrf-text);
  font-size: 16px;
  line-height: 1.2;
}

.mhrf-screen-register .mhrf-input::placeholder{
  color: rgba(244,245,247,.40);
}

/* Password field with embedded actions + strength meter */
.mhrf-password-field{
  position: relative;
}

.mhrf-input--password{
  padding-right: 132px;
}

.mhrf-input-actions{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 6px;
  border-radius: 16px;
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.06);
}

.mhrf-action-sep{
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.12);
}

.mhrf-icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: rgba(244,245,247,.70);
}

.mhrf-icon-btn:hover{
  background: rgba(255,255,255,.06);
  color: rgba(244,245,247,.92);
}

.mhrf-ic{
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mhrf-ic-eyeoff{ display:none; }
.mhrf-icon-btn[aria-pressed="true"] .mhrf-ic-eye{ display:none; }
.mhrf-icon-btn[aria-pressed="true"] .mhrf-ic-eyeoff{ display:block; }

.mhrf-pass-meter{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  pointer-events: none;
}

.mhrf-pass-meter__bar{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #d97a00; /* warm accent, matches UI design */
  transition: width .18s ease;
}

/* Checkbox */
.mhrf-screen-register .mhrf-check{
  gap: 14px;
  font-size: 18px;
  margin-top: 18px;
  line-height: 1.35;
}

.mhrf-screen-register .mhrf-check input{
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.18);
  margin-top: 3px;
  position: relative;
}

.mhrf-screen-register .mhrf-check input:checked{
  background: rgba(192,19,58,.35);
  border-color: rgba(192,19,58,.7);
}

.mhrf-screen-register .mhrf-check input:checked::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid rgba(244,245,247,.95);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mhrf-screen-register .mhrf-btn-xl{
  margin-top: 18px;
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.mhrf-screen-register .mhrf-btn-primary{
  border: 0;
  background: linear-gradient(180deg, var(--mhrf-accent), var(--mhrf-accent-2));
  box-shadow: 0 18px 40px rgba(192,19,58,.25);
}

.mhrf-footnote-outside{
  margin-top: 18px;
  text-align: center;
  color: rgba(244,245,247,.60);
  font-size: 16px;
}

/* Mobile tweaks */


.mhrf-form-footer{
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--mhrf-muted);
  line-height: 1.35;
}

.mhrf-form-footer a{
  color: var(--mhrf-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,245,247,.28);
  padding-bottom: 1px;
  transition: border-color .15s ease, opacity .15s ease;
}

.mhrf-form-footer a:visited{
  color: var(--mhrf-text);
}

.mhrf-form-footer a:hover{
  border-bottom-color: var(--mhrf-accent);
}

.mhrf-form-footer a:focus-visible{
  outline: 2px solid var(--mhrf-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.mhrf-form-footer a:active{
  opacity: .85;
}



/* Profile modal */
.mhrf-avatarpick{display:flex;gap:12px;align-items:center}
.mhrf-avatarpick__img{width:64px;height:64px;border-radius:16px;object-fit:cover;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.04)}


/* Clickable step row (Welcome: profile edit) */
.mhrf-step.mhrf-step--action{
  cursor: pointer;
  user-select: none;
}
.mhrf-step.mhrf-step--action:focus{
  outline: none;
}
.mhrf-step.mhrf-step--action:focus-visible{
  outline: 2px solid var(--mhrf-accent, #fff);
  outline-offset: 2px;
}
.mhrf-step.mhrf-step--action:hover{
  filter: brightness(1.06);
}
.mhrf-step.mhrf-step--action:active{
  transform: translateY(1px);
}
