/* Global reset */

html{
  margin: 0;
  padding: 0;
  height: 100%;
}


/* Full-page gradient background */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #fbfdff 0, #f3f6fb 45%, #eef2fb 100%);
  /* color: #e5e7eb; */
}

/* Layout wrapper */
.wz-auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* LEFT SIDE: brand / marketing */
.wz-auth-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #e5e7eb;
}

.wz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
}

.wz-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.wz-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #38bdf8, #2563eb);
}

.wz-logo-text {
  font-weight: 600;
  font-size: 18px;
}

/* Headline and subtext */
.wz-headline {
  margin-top: 64px;
  max-width: 420px;
}

.wz-headline h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.wz-headline p {
  font-size: 14px;
  color: #9ca3af;
}

/* .wb-left {
  padding: 36px 42px;
} */

/* =========================
   MHN AUTH LEFT - RESPONSIVE
   ========================= */

/* Default (desktop) already OK */

/* Tablet */
@media (max-width: 992px) {
  .mhn-auth-left {
    padding-right: 0 !important;
  }

  .mhn-left-wrapper {
    max-width: 100% !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .mhn-auth-left {
    width: 100%;
    padding: 16px !important;
  }

  .mhn-left-wrapper {
    max-width: 100% !important;
  }

  .mhn-kicker {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
    text-align: center;
  }

  .mhn-heading {
    font-size: 1.8rem !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
    text-align: center;
  }

  .mhn-subtext {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
    text-align: center;
    max-width: 100% !important;
  }

  .mhn-features {
    margin: 0 auto 14px !important;
    padding: 0 !important;
    max-width: 520px;
  }

  .mhn-features li {
    font-size: 0.98rem !important;
    margin: 8px 0 !important;
  }

  .mhn-tagline {
    font-size: 0.95rem !important;
    text-align: center;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .mhn-heading {
    font-size: 1.55rem !important;
  }

  .mhn-subtext,
  .mhn-features li,
  .mhn-tagline {
    font-size: 0.92rem !important;
  }
}

/* =========================
   WB LEFT SECTION - MOBILE FIX
   Paste this at the VERY END of your CSS
   ========================= */

@media (max-width: 1024px) {
  .wb-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* left content should not be too wide */
  .wb-heading,
  .wb-sub,
  .wb-feature-list {
    max-width: 100% !important;
  }

  .wb-card {
    max-width: 560px;
    margin: 0 auto !important;
  }
}

@media (max-width: 600px) {
  .wb-main {
    padding: 18px 14px 24px !important;
  }

  .wb-kicker {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.7rem !important;
    display: inline-flex !important;
  }

  .wb-heading {
    font-size: 1.6rem !important;
    line-height: 1.15 !important;
    margin-top: 14px !important;
  }

  .wb-sub {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }

  .wb-feature-list {
    font-size: 0.92rem !important;
    gap: 8px !important;
  }

  .wb-tagline {
    font-size: 0.78rem !important;
    padding: 0.5rem 0.8rem !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
}

/* Optional: reduce scroll on very small phones */
@media (max-width: 420px) {
  .wb-heading {
    font-size: 1.4rem !important;
  }

  .wb-sub,
  .wb-feature-list {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 768px) {
  .wb-grid>section:first-child {
    display: none !important;
  }
}


/* Bottom stat cards */
.wz-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.wz-stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  min-width: 140px;
}

.wz-stat-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wz-stat-value {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}

/* RIGHT SIDE: login card */
.wz-auth-right {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.wz-card {
  width: 100%;
  max-width: 400px;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(14px);
}

/* form header */
.wz-card-header {
  margin-bottom: 20px;
}

.wz-card-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.wz-card-title {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 600;
}

.wz-card-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #9ca3af;
}

/* KC.message box styling */
.wz-alert {
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  background: #7f1d1d;
  color: #fee2e2;
}

/* Fields */
.wz-form-group {
  margin-bottom: 14px;
}

.wz-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
  display: block;
}

.wz-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background: #020617;
  color: #e5e7eb;
  padding: 10px 12px;
  font-size: 13px;
}

.wz-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px #38bdf8;
}

/* Forgot password / remember row */
.wz-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #9ca3af;
}

.wz-link {
  color: #38bdf8;
  text-decoration: none;
}

.wz-link:hover {
  text-decoration: underline;
}

/* Submit button */
.wz-primary-btn {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(to right, #38bdf8, #2563eb);
  color: #0b1120;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wz-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

/* Footer text */
.wz-card-footer {
  margin-top: 18px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

.wz-card-footer a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.wz-card-footer a:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 960px) {
  .wz-auth-layout {
    flex-direction: column;
  }

  .wz-auth-left {
    display: none;
  }

  .wz-auth-right {
    flex: 1;
  }
}

.mhn-navbar {
  background: #28a2d1;
  padding: 8px 0;
  border-bottom: 2px solid #dedede;
}

.mhn-nav-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

.mhn-nav-left {
  display: flex;
  align-items: center;
}

.mhn-logo {
  height: 40px;
}

.mhn-nav-links {
  display: flex;
  gap: 22px;
}

.mhn-nav-links a {
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.mhn-nav-links a:hover {
  opacity: 0.8;
}

.mhn-nav-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.mhn-user-icon {
  font-size: 18px;
}

.mhn-footer {
  margin-top: 0;
  background: linear-gradient(90deg, #2a79b3, #63a8e6);
  color: #ffffff;
  padding: 28px 0 24px;
}

.mhn-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

.mhn-footer-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.mhn-footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.mhn-social-circle {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mhn-social-circle span {
  font-size: 18px;
  font-weight: 700;
  color: #555f6b;
}

/* footer links row */
.mhn-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 14px;
}

.mhn-footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.mhn-footer-links a:hover {
  text-decoration: underline;
}

/* thin white line */
.mhn-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
  max-width: 900px;
  margin: 0 auto 10px;
}

/* copyright */
.mhn-footer-copy {
  font-size: 13px;
  opacity: 0.95;
}

/* small screens */
@media (max-width: 640px) {
  .mhn-footer {
    padding: 24px 0 20px;
  }

  .mhn-footer-links {
    gap: 10px;
    font-size: 13px;
  }
}

:root {
  font-size: 18px;
  /* little bigger, modern SaaS look */

  --wb-blue: #2563eb;
  --wb-blue-dark: #1d4ed8;
  --wb-bg: #f3f6fb;
  --wb-border: #dde4f3;
  --wb-text-main: #0f172a;
  --wb-text-muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: #f5f7fc;
  color: var(--wb-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------ TOP NAV ------------ */
.wb-nav {
  height: 3.7rem;
  padding: 0 3.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.wb-nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wb-logo-dot {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--wb-blue);
}

.wb-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.wb-nav-pill {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #d8e2ff;
  color: var(--wb-blue-dark);
}

/* ------------ MAIN AREA ------------ */
.wb-main {
  flex: 1;
  padding: 1.5rem 5rem 2.5rem;
  background: radial-gradient(circle at top right, #fbfdff 0, #f3f6fb 45%, #eef2fb 100%);
  display: flex;
  justify-content: center;
}

.wb-grid {
  width: 100%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 7.5rem;
  /* align-items: center; */
}

/* ------------ LEFT COLUMN ------------ */
.wb-kicker {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.wb-kicker span{
  letter-spacing: .4px;
  font-weight: 500;
}

.wb-kicker strong{
  font-weight: 700;
  background: linear-gradient(90deg,#1f7ae0,#0b58b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wb-heading {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.wb-sub {
  font-size: 16px;
  color: #475569;
  max-width: 680px;
  margin-bottom: 26px;
}

.wb-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.wb-feature-list li {
  margin-bottom: 16px;
}

.wb-feature-title {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.wb-feature-desc {
  display: block;
  font-size: 14.5px;
  color: #64748b;
  max-width: 620px;
}

.mhn-tagline{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #475569;
  padding: 10px 12px;
  border-left: 4px solid #1f7ae0;
  border-radius: 10px;
  background: rgba(31,122,224,.06);
}
.mhn-tagline .highlight{
  font-weight: 700;
  color: #0b58b4;
}


.wb-tagline {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e1e7f5;
  font-size: 0.8rem;
  color: var(--wb-text-muted);
}

.wb-tagline-strong {
  font-weight: 600;
  color: var(--wb-blue-dark);
}

/* Base mhn-subtext (safe) */
.mhn-subtext{
  font-size: 20px;
  line-height: 1.55;
  color: #475569;
}

/* Premium “trust note” card look for the last mhn-subtext in left side */
.mhn-auth-left .mhn-subtext:last-of-type{
  position: relative;
  margin-top: 12px !important; /* overrides inline 10px safely */
  padding: 12px 14px 12px 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31,122,224,.07), rgba(31,122,224,.03));
  border: 1px solid rgba(31,122,224,.18);
  color: #0f172a;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}

/* Left accent line */
.mhn-auth-left .mhn-subtext:last-of-type::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f7ae0, #0b58b4);
}

/* Trust icon badge */
.mhn-auth-left .mhn-subtext:last-of-type::after{
  /* content: "✓"; */
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #0b58b4;
  background: rgba(31,122,224,.12);
  border: 1px solid rgba(31,122,224,.20);
}


/* ------------ RIGHT COLUMN / CARD ------------ */
.wb-card {
  width: 100%;
  max-width: 32.5rem;
  /* ~520px */
  margin-left: auto;
  background: #ffffff;
  border-radius: 1.3rem;
  border: 1px solid var(--wb-border);
  box-shadow: 0 1.7rem 3.8rem rgba(15, 23, 42, 0.14);
  padding: 2.2rem 2.1rem 1.9rem;

}


.wb-card-header-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--wb-text-muted);
  margin-bottom: 0.25rem;
}

.wb-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.wb-card-sub {
  font-size: 0.85rem;
  color: var(--wb-text-muted);
  margin-bottom: 1.4rem;
}

.wb-alert {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.wb-field {
  margin-bottom: 0.9rem;
}

.wb-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #334155;
}

.wb-input {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid var(--wb-border);
  font-size: 0.9rem;
  background: #f8fafc;
}

.wb-input:focus {
  outline: 2px solid #dbeafe;
  border-color: var(--wb-blue);
  background: #ffffff;
}

.wb-form-footer {
  margin: 0.4rem 0 1rem;
  text-align: right;
}

.wb-link {
  font-size: 0.8rem;
  color: var(--wb-blue);
  text-decoration: none;
  font-weight: 500;
}

.wb-link:hover {
  text-decoration: underline;
}

.wb-btn-primary {
  width: 100%;
  padding: 0.8rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--wb-blue), var(--wb-blue-dark));
  color: #ffffff;
  box-shadow: 0 1.1rem 2.3rem rgba(37, 99, 235, 0.4);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.wb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.25rem 2.6rem rgba(37, 99, 235, 0.5);
  filter: brightness(1.03);
}

.wb-card-footer {
  margin-top: 0.95rem;
  font-size: 0.8rem;
  color: var(--wb-text-muted);
  text-align: center;
}

.wb-card-footer a {
  color: var(--wb-blue);
  font-weight: 600;
  text-decoration: none;
}

.wb-card-footer a:hover {
  text-decoration: underline;
}

/* ------------ RESPONSIVE ------------ */
@media (max-width: 1024px) {
  .wb-main {
    padding: 2.5rem 1.8rem 3rem;
  }

  .wb-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .wb-card {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .wb-nav {
    padding: 0 1.2rem;
  }

  .wb-main {
    padding: 1.8rem 1.2rem 2.4rem;
  }
}


/* register css */
/* ------------------------------
   GLOBAL PAGE STYLING
--------------------------------*/
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #eef4fb;
  color: #1f2937;
}

/* Layout wrapper */
.mhn-auth-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 4rem;
  gap: 3.5rem;
}

/* --------------------------------
   LEFT SIDE CONTENT
-----------------------------------*/
.mhn-auth-left {
  flex: 1;
  padding-right: 2rem;
}

@media (max-width: 600px) {
  .mhn-auth-layout {
    padding: 16px !important;
  }

  .mhn-card {
    padding: 18px !important;
    max-width: 100% !important;
  }
}

.mhn-left-wrapper {
  max-width: 550px;
}

.mhn-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d74da;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mhn-heading {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #0f172a;
}

.mhn-subtext {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.8rem;
  max-width: 520px;
}

.mhn-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.mhn-features li {
  font-size: 1.05rem;
  margin: 0.4rem 0;
}

.mhn-tagline {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: #374151;
}

.mhn-tagline .highlight {
  font-weight: 700;
  color: #2d74da;
}

/* --------------------------------
   RIGHT SIDE – FORM CARD
-----------------------------------*/
.mhn-auth-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mhn-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  padding: 2.6rem;
  border-radius: 1.5rem;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08);
}

.kc-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.35;
}

.kc-alert-text {
  display: block;
}

.kc-alert-error {
  background: #fdecea;
  border-color: #f5c2c7;
  color: #b42318;
}

.kc-alert-warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.kc-alert-success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.kc-alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}


.mhn-card-header {
  margin-bottom: 1.4rem;
}

.mhn-card-kicker {
  font-size: 0.9rem;
  color: #2d74da;
  text-transform: uppercase;
}

.mhn-card-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.mhn-card-sub {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 0.2rem;
}

/* --------------------------------
   FORM FIELDS
-----------------------------------*/
.mhn-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .mhn-form-grid {
    grid-template-columns: 1fr;
  }
}

/* FORM FIELD */
.mhn-field {
  display: flex;
  flex-direction: column;
}

.mhn-field label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

.mhn-field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
}

.mhn-label {
  display: block;
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0.4rem;
}

.mhn-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d0d7e2;
  border-radius: 0.55rem;
  font-size: 1rem;
  background: #f7f9fc;
}

.mhn-input:focus {
  outline: none;
  border-color: #2d74da;
  box-shadow: 0 0 0 3px rgba(45, 116, 218, 0.2);
}

/* Submit Button */
.mhn-btn-primary {
  width: 100%;
  padding: 1rem;
  background: #2d74da;
  border: none;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
  margin-top: 0.4rem;
}

.mhn-btn-primary:hover {
  background: #1e5cb8;
}

.mhn-card-footer {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.mhn-card-footer a {
  color: #2d74da;
  font-weight: 600;
  text-decoration: none;
}

.mhn-card-footer a:hover {
  text-decoration: underline;
}

/* --------------------------------
   MOBILE RESPONSIVE
-----------------------------------*/
@media (max-width: 992px) {
  .mhn-auth-layout {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .mhn-heading {
    font-size: 2.2rem;
  }

  .mhn-card {
    padding: 2rem 1.5rem;
  }
}


/* navbar and footer */

/* =======================
   NAVBAR (DESKTOP + MOBILE)
======================= */

.mhn-navbar {
  background: #2d99ca;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.mhn-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.mhn-logo {
  height: 44px;
  display: block;
}

/* checkbox hidden */
.mhn-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* desktop menu */
.mhn-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mhn-nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.mhn-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #2d99ca !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* hamburger hidden on desktop */
.mhn-nav-hamburger {
  display: none;
}

/* hamburger style */
.mhn-nav-hamburger {
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
}

.mhn-nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
}

.mhn-nav-hamburger span:before,
.mhn-nav-hamburger span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}

.mhn-nav-hamburger span:before {
  top: -7px;
}

.mhn-nav-hamburger span:after {
  top: 7px;
}

/* mobile */
@media (max-width: 992px) {
  .mhn-nav-hamburger {
    display: flex;
  }

  .mhn-nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #2d99ca;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .25);
  }

  /* OPEN when checkbox checked */
  #mhnNavToggle:checked~.mhn-navbar .mhn-nav-links {
    display: flex;
  }
}


/* =======================
   FOOTER (DESKTOP + MOBILE)
======================= */

.mhn-footer {
  background: #5aa6d6;
  color: #fff;
  width: 100%;
}

.mhn-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px;
  text-align: center;
}

.mhn-footer-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
}

.mhn-footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mhn-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  color: #2d99ca;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.mhn-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin: 16px auto 18px;
  max-width: 980px;
}

.mhn-footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  opacity: .95;
}

.mhn-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.mhn-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .35);
  margin: 16px auto;
  max-width: 980px;
}

.mhn-footer-copy {
  font-size: 14px;
  opacity: .95;
}

/* =======================
   MOBILE BREAKPOINTS
======================= */
@media (max-width: 992px) {

  /* Reduce spacing a bit */
  .mhn-nav-links {
    gap: 14px;
  }

  .mhn-nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {

  /* Show hamburger */
  .mhn-nav-hamburger {
    display: flex;
  }

  /* We'll convert menu to dropdown overlay style */
  .mhn-nav-inner {
    justify-content: space-between;
  }

  /* Make links panel hidden by default */
  .mhn-nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #2d99ca;
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }

  /* Each link full width */
  .mhn-nav-links a {
    width: 100%;
    padding: 8px 6px;
    border-radius: 8px;
  }

  .mhn-nav-links a:hover {
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
  }

  /* Social icons row inside dropdown becomes a row */
  .mhn-nav-links .nav-link {
    width: auto;
    display: inline-flex;
    margin-right: 8px;
  }

  /* Footer becomes compact */
  .mhn-footer-title {
    font-size: 24px;
  }

  /* Footer links become 2 columns */
  .mhn-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    text-align: left;
    max-width: 520px;
  }

  .mhn-footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .mhn-logo {
    height: 36px;
  }

  .mhn-footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* logout */

.wb-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.wb-btn-secondary:hover {
  opacity: .9;
}


.wb-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}

.wb-btn-google:hover {
  background: #f9fafb;
}

.wb-social-sep {
  text-align: center;
  margin-top: 12px;
  color: #6b7280;
}

/* Broker / account-link pages */
.wb-broker-main {
  padding-top: 42px;
  padding-bottom: 42px;
}

.wb-broker-left .wb-heading {
  margin-top: 14px;
}

.wb-broker-card {
  max-width: 640px;
}

.wb-broker-form {
  margin-top: 10px;
}

.wb-broker-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wb-broker-form input[type="submit"],
.wb-broker-form button,
.wb-broker-form .btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #fff;
}

.wb-broker-form input[type="submit"]:hover,
.wb-broker-form button:hover,
.wb-broker-form .btn:hover {
  filter: brightness(.97);
}

.wb-broker-form a {
  text-decoration: none;
}

/* ===== Mobile Overflow Hardening ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mhn-navbar,
  .mhn-footer,
  .wb-main,
  .wb-grid,
  .wb-card,
  .mhn-nav-inner,
  .mhn-footer-inner {
    max-width: 100% !important;
  }

  .mhn-nav-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .wb-main {
    padding: 16px 10px 24px !important;
  }

  .wb-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .wb-field,
  .wb-input,
  #kc-login,
  .wb-btn-google {
    width: 100% !important;
  }

  .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.86);
    transform-origin: left top;
  }
}

/* ===== Global mobile full-width auth fix ===== */
@media (max-width: 768px) {
  .wb-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .wb-grid > section {
    width: 100% !important;
    min-width: 0 !important;
  }

  .wb-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .mhn-auth-layout {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    gap: 0 !important;
  }

  .mhn-auth-left {
    display: none !important;
  }

  .mhn-auth-right,
  .mhn-auth-right > section,
  .mhn-auth-right > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  .mhn-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .wb-main,
  .wb-grid,
  .wb-card,
  .mhn-card {
    min-width: 0 !important;
  }

  .wb-heading,
  .wb-sub,
  .wb-card-title,
  .wb-card-sub,
  .mhn-card-title,
  .mhn-card-sub,
  .mhn-label,
  .mhn-input {
    overflow-wrap: anywhere;
  }

  .wb-field .g-recaptcha,
  .g-recaptcha {
    transform-origin: left top;
  }
}

@media (max-width: 360px) {
  .wb-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.78);
  }
}

@media (max-width: 320px) {
  .wb-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.70);
  }
}

/* ===== Project-wide Auth Responsive Polish v2 ===== */
:root {
  --auth-radius: 16px;
  --auth-card-border: #dfe7f5;
  --auth-input-border: #d4deee;
  --auth-text: #0f172a;
  --auth-muted: #475569;
}

.wb-card,
.mhn-card {
  border-radius: var(--auth-radius);
}

.wb-card-title,
.mhn-card-title {
  color: var(--auth-text);
  line-height: 1.2;
}

.wb-card-sub,
.mhn-card-sub,
.wb-sub,
.mhn-subtext {
  color: var(--auth-muted);
  overflow-wrap: anywhere;
}

.wb-input,
.mhn-input,
.mhn-field input {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--auth-input-border);
}

@media (max-width: 992px) {
  .wb-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .wb-grid > section,
  .mhn-auth-right,
  .mhn-auth-right > section,
  .mhn-auth-right > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  .wb-card,
  .mhn-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
  }

  .wb-main {
    padding: 14px 10px 22px !important;
  }

  .mhn-auth-layout {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    gap: 0 !important;
  }

  .mhn-auth-left,
  .wb-grid > section:first-child {
    display: none !important;
  }

  .wb-card,
  .mhn-card {
    padding: 16px 14px !important;
    border: 1px solid var(--auth-card-border) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10) !important;
  }

  .wb-card-title,
  .mhn-card-title {
    font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
    margin-bottom: 6px !important;
  }

  .wb-card-sub,
  .mhn-card-sub {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .wb-label,
  .mhn-label,
  .mhn-field label {
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
  }

  .wb-form-footer[style*="display:flex"] {
    flex-direction: column !important;
  }

  .wb-form-footer[style*="display:flex"] > * {
    width: 100% !important;
  }

  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    display: block !important;
    width: fit-content;
    margin: 8px auto 2px !important;
    transform-origin: center top !important;
  }

  /* logout.ftl inline style container hardening */
  div[style*="width:min(520px,100%)"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  h1[style*="font-size:28px"] {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 420px) {
  .wb-main,
  .mhn-auth-layout {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .wb-card,
  .mhn-card {
    border-radius: 14px !important;
    padding: 14px 12px !important;
  }

  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.82) !important;
  }
}

@media (max-width: 340px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.74) !important;
  }
}

/* ===== Ultra Responsive Patch v3 (all px widths) ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.wb-main,
.wb-grid,
.wb-card,
.mhn-auth-layout,
.mhn-auth-right,
.mhn-card,
.mhn-form-grid,
.wb-field,
.mhn-field {
  min-width: 0 !important;
}

.wb-card,
.mhn-card {
  overflow: hidden !important;
}

.wb-field,
.mhn-field {
  width: 100% !important;
}

.wb-input,
.mhn-input,
.wb-field input,
.mhn-field input,
.wb-field select,
.mhn-field select,
.wb-field textarea,
.mhn-field textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .mhn-form-grid,
  .wb-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .mhn-form-grid > *,
  .wb-grid > * {
    width: 100% !important;
    min-width: 0 !important;
  }

  .wb-main,
  .mhn-auth-layout {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .wb-card,
  .mhn-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform-origin: left top !important;
    margin: 8px 0 4px !important;
  }
}

@media (max-width: 480px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.90) !important;
  }
}

@media (max-width: 420px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.82) !important;
  }
}

@media (max-width: 375px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.74) !important;
  }
}

@media (max-width: 340px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.68) !important;
  }
}

@media (max-width: 300px) {
  .wb-field .g-recaptcha,
  .mhn-field .g-recaptcha,
  .g-recaptcha {
    transform: scale(0.62) !important;
  }
}

