.mhrf-toast{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  margin-bottom: 14px;
}
.mhrf-toast.is-success{ border-color: rgba(70,255,167,.20); background: rgba(70,255,167,.08); }
.mhrf-toast.is-error{ border-color: rgba(255,55,95,.20); background: rgba(255,55,95,.10); }
.mhrf-toast-title{ font-weight: 900; }
.mhrf-toast-text{ color: rgba(244,245,247,.75); font-size: 13px; line-height: 1.4; }
.mhrf-toast-icon{ font-size: 18px; margin-top: 2px; }

.mhrf-ring{
  width: 56px; height: 56px; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 900;
}

/* Color classes */
.mhrf-color-dot{ width: 14px; height: 14px; border-radius: 999px; border:1px solid rgba(255,255,255,.12); display:inline-block; margin-left: 10px;}
.mhrf-color-swatch.is-red, .mhrf-color-dot.is-red{ background:#c0133a;}
.mhrf-color-swatch.is-orange{ background:#ff7a1a;}
.mhrf-color-swatch.is-amber{ background:#d39b1a;}
.mhrf-color-swatch.is-lemon{ background:#ffe600;}
.mhrf-color-swatch.is-lime{ background:#7fb514;}
.mhrf-color-swatch.is-neon{ background:#2bff00;}
.mhrf-color-swatch.is-emerald{ background:#0f7a5c;}
.mhrf-color-swatch.is-teal{ background:#1cb5a6;}
.mhrf-color-swatch.is-cyan{ background:#06a0c4;}
.mhrf-color-swatch.is-ice{ background:#cfefff;}
.mhrf-color-swatch.is-sapphire{ background:#1f4bdb;}
.mhrf-color-swatch.is-slate{ background:#7a8596;}
.mhrf-color-swatch.is-violet{ background:#6b2ad8;}
.mhrf-color-swatch.is-lavender{ background:#c6b6ff;}
.mhrf-color-swatch.is-magenta{ background:#c42ad8;}
.mhrf-color-swatch.is-pink{ background:#ff6fb3;}
.mhrf-color-swatch.is-sand{ background:#f2dfbf;}
.mhrf-color-swatch.is-cocoa{ background:#8a5a2a;}


/* DOB wheel picker (custom, design-matching) */
.mhrf-dob-wheel{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
  height: 260px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.mhrf-wheel{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.mhrf-wheel-list{
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.mhrf-wheel-list::-webkit-scrollbar{ display:none; }

.mhrf-wheel-item{
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  color: rgba(255,255,255,.35);
  font-size: 22px;
  line-height: 1;
}

.mhrf-wheel-item.is-active{
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

.mhrf-wheel-highlight{
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  border-radius: 18px;
  background: rgba(140, 0, 30, .22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}


/* === Register screen modernization (1.11.x) === */


/* Email confirmed flash (Step1) — matches Figma screenshot */
.mhrf-toast-confirm{
  position: relative;
  display:flex;
  gap: 18px;
  align-items:center;
  padding: 18px 20px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(16,17,20,.92) 0%, rgba(16,17,20,.80) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  margin: 0 0 18px;
  overflow:hidden;
}

.mhrf-toast-confirm__icon{
  width: 60px; height: 60px;
  border-radius: 22px;
  display:flex; align-items:center; justify-content:center;
  font-size: 40px;
  line-height: 1;
  color: rgba(245,247,250,.95);
  background: rgba(20, 35, 30, .55);
  border: 2px solid rgba(30, 190, 120, .55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  flex: 0 0 auto;
}

.mhrf-toast-confirm__body{ min-width: 0; }
.mhrf-toast-confirm__title{
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.mhrf-toast-confirm__text{
  font-size: 22px;
  line-height: 1.25;
  color: rgba(244,245,247,.82);
  max-width: 56ch;
}

.mhrf-toast-confirm__bar{
  position:absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
}
.mhrf-toast-confirm__bar:before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width: 100%;
  border-radius: 99px;
  background: rgba(30, 190, 120, .95);
  transform: scaleX(0);
  transform-origin: left center;
  animation: mhrfToastFill var(--mhrf-autohide, 6000ms) linear forwards;
}

.mhrf-toast-confirm:focus-within{
  border-color: rgba(255,255,255,.18);
}

.mhrf-toast-confirm.is-leaving{
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}

@keyframes mhrfToastFill{
  from{ transform: scaleX(0); }
  to{ transform: scaleX(1); }
}

/* Mobile tweaks */
@media (max-width: 480px){
  .mhrf-toast-confirm{ padding: 16px 16px 20px; border-radius: 22px; }
  .mhrf-toast-confirm__icon{ width: 60px; height: 60px; border-radius: 20px; font-size: 34px; }
  .mhrf-toast-confirm__title{ font-size: 22px; }
  .mhrf-toast-confirm__text{ font-size: 18px; }
  .mhrf-toast-confirm__bar{ left: 16px; right: 16px; bottom: 9px; }
}

/* v1.1.29 – Success toast typography refinement */
.mhrf-toast--success .mhrf-toast__title {
  font-size: 18px;
  line-height: 1.3;
}
.mhrf-toast--success .mhrf-toast__desc {
  font-size: 14px;
  line-height: 1.45;
}


/* v1.1.30 – Confirm toast typography refinement (email verified success) */
.mhrf-toast-confirm__title{
  font-size: 22px;
  line-height: 1.25;
}
.mhrf-toast-confirm__text{
  font-size: 16px;
  line-height: 1.5;
}

/* Mobile: slightly smaller to match mock */
@media (max-width: 480px){
  .mhrf-toast-confirm__title{ font-size: 20px; }
  .mhrf-toast-confirm__text{ font-size: 15px; }
}


/* v1.1.31 – refine success checkmark size */
.mhrf-toast-confirm__icon {
  width: 44px;
  height: 44px;
}
.mhrf-toast-confirm__icon svg,
.mhrf-toast-confirm__icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

/* v1.1.34 – SVG checkmark for consistent rendering (no font dependency) */
.mhrf-toast-confirm__icon{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0; /* prevent glyph fallback */
}
.mhrf-toast-confirm__check{
  width:22px;
  height:22px;
  display:block;
}
