/* ==========================================================================
   FinOrjin public marketing site — auth entry pages (Wave 6B)
   static/css/marketing/pages/auth.css
   Loaded ONLY by marketing/auth_base.html (login, registration, password
   reset, MFA challenge for anonymous visitors), after marketing.css.

   The auth templates keep their original markup (shared with the legacy
   presentation), so this file styles the class vocabulary that markup uses:
   the page frame (fn-*), cards, a small grid, forms, buttons, alerts and —
   behaviour-relevant, replicated exactly from Bootstrap 5 — d-none, form
   feedback visibility, modal / fade / backdrop and popover. Page scripts
   toggle those classes; Bootstrap's own JS (loaded only where needed) drives
   modals/popovers. Everything is scoped to body.mk-site.mk-page--auth.
   ========================================================================== */

/* ---- Behaviour-relevant utilities (Bootstrap-exact) ------------------------ */
.mk-site.mk-page--auth .d-none { display: none !important; }
.mk-site.mk-page--auth .d-block { display: block !important; }
.mk-site.mk-page--auth .d-flex { display: flex !important; }
.mk-site.mk-page--auth .d-grid { display: grid !important; }
.mk-site.mk-page--auth .d-inline-flex { display: inline-flex !important; }

.mk-site.mk-page--auth .invalid-feedback,
.mk-site.mk-page--auth .valid-feedback {
  display: none;
  width: 100%;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.mk-site.mk-page--auth .invalid-feedback { color: #b42318; }
.mk-site.mk-page--auth .valid-feedback { color: var(--mk-positive-600); }
.mk-site.mk-page--auth .is-invalid ~ .invalid-feedback,
.mk-site.mk-page--auth .is-valid ~ .valid-feedback { display: block; }

/* ---- Layout / spacing utilities used by the markup ------------------------- */
.mk-site.mk-page--auth .flex-column { flex-direction: column !important; }
.mk-site.mk-page--auth .justify-content-center { justify-content: center !important; }
.mk-site.mk-page--auth .h-100 { height: 100% !important; }
.mk-site.mk-page--auth .w-100 { width: 100% !important; }
.mk-site.mk-page--auth .gap-2 { gap: 0.5rem !important; }
.mk-site.mk-page--auth .mx-auto { margin-inline: auto !important; }
.mk-site.mk-page--auth .mx-2 { margin-inline: 0.5rem !important; }
.mk-site.mk-page--auth .mt-auto { margin-top: auto !important; }
.mk-site.mk-page--auth .mb-0 { margin-bottom: 0 !important; }
.mk-site.mk-page--auth .mb-2 { margin-bottom: 0.5rem !important; }
.mk-site.mk-page--auth .mb-3 { margin-bottom: 1rem !important; }
.mk-site.mk-page--auth .mb-4 { margin-bottom: 1.5rem !important; }
.mk-site.mk-page--auth .mt-1 { margin-top: 0.25rem !important; }
.mk-site.mk-page--auth .mt-2 { margin-top: 0.5rem !important; }
.mk-site.mk-page--auth .mt-3 { margin-top: 1rem !important; }
.mk-site.mk-page--auth .mt-4 { margin-top: 1.5rem !important; }
.mk-site.mk-page--auth .pt-3 { padding-top: 1rem !important; }
.mk-site.mk-page--auth .p-3 { padding: 1rem !important; }
.mk-site.mk-page--auth .text-center { text-align: center !important; }
.mk-site.mk-page--auth .text-start { text-align: left !important; }
.mk-site.mk-page--auth .text-muted { color: var(--mk-muted) !important; }
.mk-site.mk-page--auth .text-danger { color: #b42318 !important; }
.mk-site.mk-page--auth .text-success { color: var(--mk-positive-600) !important; }
.mk-site.mk-page--auth .small { font-size: 0.875em; }
.mk-site.mk-page--auth .lead { font-size: 1.1rem; line-height: 1.6; }
.mk-site.mk-page--auth .fw-bold { font-weight: 700 !important; }
.mk-site.mk-page--auth .fw-semibold { font-weight: 600 !important; }

.mk-site.mk-page--auth .row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -10px;
}

.mk-site.mk-page--auth .row > * {
  width: 100%;
  max-width: 100%;
  padding-inline: 10px;
}

.mk-site.mk-page--auth .row.gy-4 { row-gap: 1.5rem; }

@media (min-width: 576px) {
  .mk-site.mk-page--auth .row > .col-sm-6 { width: 50%; }
}

@media (min-width: 768px) {
  .mk-site.mk-page--auth .row > .col-md-6 { width: 50%; }
  .mk-site.mk-page--auth .row > .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .mk-site.mk-page--auth .row > .col-lg-5 { width: 41.666%; }
  .mk-site.mk-page--auth .row > .col-lg-10 { width: 83.333%; }
}

@media (min-width: 1400px) {
  .mk-site.mk-page--auth .row > .col-xxl-3 { width: 25%; }
}

/* ---- Page frame: calm dark header panel + content column ------------------- */
.mk-site.mk-page--auth .fn-pricing,
.mk-site.mk-page--auth .login-container {
  padding-bottom: var(--mk-section-y);
}

.mk-site.mk-page--auth .fn-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 16px 16px 0;
  padding: clamp(112px, 12vw, 136px) 20px clamp(36px, 5vw, 56px);
  border-radius: var(--mk-radius-xl);
  background: var(--mk-gradient-dark);
  color: #fff;
  text-align: center;
}

.mk-site.mk-page--auth .fn-hero-bg,
.mk-site.mk-page--auth .login-hero-icon,
.mk-site.mk-page--auth .register-hero-icon,
.mk-site.mk-page--auth .register-both-hero-icon,
.mk-site.mk-page--auth .register-financial-hero-icon {
  display: none;
}

.mk-site.mk-page--auth .fn-hero-title {
  max-width: 20em;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.mk-site.mk-page--auth .fn-hero-sub {
  max-width: 40em;
  margin-top: 14px;
  color: var(--mk-on-dark-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.mk-site.mk-page--auth .register-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--mk-on-dark-soft);
  font-size: 0.9rem;
}

.mk-site.mk-page--auth .fn-section {
  max-width: calc(var(--mk-container) + 2 * var(--mk-gutter));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--mk-gutter) 0;
}

/* pages without the fn-hero panel (reset form via partials/_auth_card) */
.mk-site.mk-page--auth .mk-main > .login-container:first-child:not(.fn-pricing) {
  padding-top: clamp(112px, 12vw, 136px);
}

/* ---- Cards ------------------------------------------------------------------ */
.mk-site.mk-page--auth .fn-card,
.mk-site.mk-page--auth .login-card,
.mk-site.mk-page--auth .card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow-sm);
}

.mk-site.mk-page--auth .login-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
}

.mk-site.mk-page--auth .login-card h2 {
  margin-bottom: 1.25rem;
  color: var(--mk-ink);
  font-size: 1.4rem;
  font-weight: 700;
}

.mk-site.mk-page--auth .card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--mk-line);
  color: var(--mk-ink);
  font-weight: 700;
}

.mk-site.mk-page--auth .card-body { flex: 1 1 auto; padding: 22px; }
.mk-site.mk-page--auth .card-title { color: var(--mk-ink); font-size: 1.2rem; }
.mk-site.mk-page--auth .card-text { color: var(--mk-muted); line-height: 1.6; }
.mk-site.mk-page--auth .card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.mk-site.mk-page--auth .card-link:hover .card { border-color: var(--mk-blue-200); box-shadow: var(--mk-shadow-glow); }
.mk-site.mk-page--auth .card-link:focus-visible { outline: 3px solid var(--mk-blue-500); outline-offset: 4px; border-radius: var(--mk-radius-lg); }
.mk-site.mk-page--auth .card-img-square { display: flex; justify-content: center; padding: 20px 20px 0; }
.mk-site.mk-page--auth .hero-category-image { width: 96px; height: 96px; object-fit: contain; }
.mk-site.mk-page--auth .register-choice-card ul { margin: 0.5rem 0 1rem; padding-left: 1.2em; color: var(--mk-ink-2); line-height: 1.7; }
.mk-site.mk-page--auth .register-both-card,
.mk-site.mk-page--auth .register-financial-card { overflow: hidden; }
.mk-site.mk-page--auth .register-both-section-intro,
.mk-site.mk-page--auth .register-financial-info,
.mk-site.mk-page--auth .fn-helper-instruction,
.mk-site.mk-page--auth .form-text { margin-bottom: 1rem; color: var(--mk-muted); font-size: 0.92rem; line-height: 1.6; }

/* ---- Forms ------------------------------------------------------------------ */
.mk-site.mk-page--auth .form-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--mk-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.mk-site.mk-page--auth .form-control,
.mk-site.mk-page--auth .form-select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--mk-line-strong);
  border-radius: 12px;
  background-color: #fff;
  color: var(--mk-ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s var(--mk-ease), box-shadow 0.2s var(--mk-ease);
}

.mk-site.mk-page--auth .form-control:focus,
.mk-site.mk-page--auth .form-select:focus {
  border-color: var(--mk-blue-500);
  outline: none;
  box-shadow: 0 0 0 4px rgba(43, 107, 224, 0.18);
}

.mk-site.mk-page--auth .form-control[readonly] { background: #f6f8fb; }
.mk-site.mk-page--auth .form-control.is-invalid,
.mk-site.mk-page--auth .form-select.is-invalid { border-color: #d92d20; }
.mk-site.mk-page--auth .form-control.is-valid { border-color: var(--mk-positive-600); }

.mk-site.mk-page--auth .form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.75em;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.mk-site.mk-page--auth .form-check-input {
  float: left;
  width: 1.1em;
  height: 1.1em;
  margin: 0.2em 0 0 -1.75em;
  accent-color: var(--mk-navy-900);
}

.mk-site.mk-page--auth .form-check-label { color: var(--mk-ink-2); }
.mk-site.mk-page--auth .form-check-label a,
.mk-site.mk-page--auth .login-links a,
.mk-site.mk-page--auth .login-card > .mt-3 a { color: var(--mk-blue-600); text-decoration: underline; text-underline-offset: 3px; }

.mk-site.mk-page--auth .input-group { position: relative; display: flex; align-items: stretch; width: 100%; }
.mk-site.mk-page--auth .input-group > .form-control { flex: 1 1 auto; width: 1%; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mk-site.mk-page--auth .input-group > .btn,
.mk-site.mk-page--auth .input-group-text { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--mk-line-strong); border-left: 0; border-radius: 0 12px 12px 0; background: #f6f8fb; color: var(--mk-ink-2); }
.mk-site.mk-page--auth .input-group > .input-group-text:first-child { border-left: 1px solid var(--mk-line-strong); border-right: 0; border-radius: 12px 0 0 12px; }

/* ---- Buttons ---------------------------------------------------------------- */
.mk-site.mk-page--auth .btn,
.mk-site.mk-page--auth .fn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--mk-radius-pill);
  font-family: var(--mk-font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--mk-ease), color 0.25s var(--mk-ease), border-color 0.25s var(--mk-ease);
}

.mk-site.mk-page--auth .fn-cta,
.mk-site.mk-page--auth .btn-primary,
.mk-site.mk-page--auth .btn-success { min-height: 52px; background: var(--mk-navy-900); color: #fff; }
.mk-site.mk-page--auth .fn-cta:hover,
.mk-site.mk-page--auth .btn-primary:hover,
.mk-site.mk-page--auth .btn-success:hover { background: var(--mk-blue-600); color: #fff; }
.mk-site.mk-page--auth .btn-secondary { background: #eef1f6; color: var(--mk-ink); }
.mk-site.mk-page--auth .btn-light { background: #f6f8fb; color: var(--mk-ink-2); }
.mk-site.mk-page--auth .btn-outline-primary { border-color: var(--mk-navy-900); background: transparent; color: var(--mk-navy-900); }
.mk-site.mk-page--auth .btn-outline-primary:hover,
.mk-site.mk-page--auth .card-link:hover .btn-outline-primary { background: var(--mk-navy-900); color: #fff; }
.mk-site.mk-page--auth .btn-outline-secondary { border-color: var(--mk-line-strong); background: #fff; color: var(--mk-ink-2); }
.mk-site.mk-page--auth .btn:disabled,
.mk-site.mk-page--auth .fn-cta:disabled { opacity: 0.5; cursor: not-allowed; }
.mk-site.mk-page--auth .btn:focus-visible,
.mk-site.mk-page--auth .fn-cta:focus-visible { outline: 3px solid var(--mk-blue-500); outline-offset: 2px; }
.mk-site.mk-page--auth .d-grid > .fn-cta,
.mk-site.mk-page--auth .d-grid > .btn { width: 100%; }

.mk-site.mk-page--auth .fn-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--mk-line-strong);
  border-radius: var(--mk-radius-pill);
  background: #fff;
  color: var(--mk-ink);
  font-weight: 600;
  text-decoration: none;
}

.mk-site.mk-page--auth .fn-google-btn:hover { border-color: var(--mk-blue-500); }
.mk-site.mk-page--auth .hero-google-note-tip,
.mk-site.mk-page--auth .info-dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--mk-line-strong); border-radius: 50%; background: #fff; color: var(--mk-ink-2); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.mk-site.mk-page--auth .login-links { color: var(--mk-muted); }

/* ---- Alerts + close button ---------------------------------------------------- */
.mk-site.mk-page--auth .alert {
  position: relative;
  margin-bottom: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--mk-blue-200);
  border-radius: 12px;
  background: var(--mk-blue-50);
  color: var(--mk-ink);
  line-height: 1.5;
}

.mk-site.mk-page--auth .alert-danger { border-color: #f5c2c0; background: #fff1f0; color: #7f1d1d; }
.mk-site.mk-page--auth .alert-warning { border-color: #f5dc9c; background: #fff8e6; color: #6b4a00; }
.mk-site.mk-page--auth .alert-success { border-color: #b7e4c7; background: #effaf3; color: #14532d; }
.mk-site.mk-page--auth .alert-light { border-color: var(--mk-line); background: #f8fafc; }
.mk-site.mk-page--auth .alert-dismissible { padding-right: 48px; }
.mk-site.mk-page--auth .alert ul { margin: 0.4rem 0 0; padding-left: 1.2em; }

.mk-site.mk-page--auth .btn-close {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mk-ink);
  opacity: 0.6;
  cursor: pointer;
}

.mk-site.mk-page--auth .alert-dismissible .btn-close { position: absolute; top: 6px; right: 8px; }
.mk-site.mk-page--auth .btn-close:hover { opacity: 1; }
.mk-site.mk-page--auth .btn-close::before,
.mk-site.mk-page--auth .btn-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.mk-site.mk-page--auth .btn-close::after { transform: rotate(-45deg); }

/* ---- Modal / fade / backdrop / popover (Bootstrap 5 JS drives state) ---------- */
.mk-site.mk-page--auth .fade { transition: opacity 0.15s linear; }
.mk-site.mk-page--auth .fade:not(.show) { opacity: 0; }
.mk-site.mk-page--auth.modal-open { overflow: hidden; }

.mk-site.mk-page--auth .modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.mk-site.mk-page--auth .modal-dialog {
  position: relative;
  width: auto;
  max-width: 520px;
  margin: 1.75rem auto;
  padding-inline: 12px;
  pointer-events: none;
}

.mk-site.mk-page--auth .modal-xl { max-width: 1140px; }
.mk-site.mk-page--auth .modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
.mk-site.mk-page--auth .modal-dialog-scrollable { height: calc(100% - 3.5rem); }
.mk-site.mk-page--auth .modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; }
.mk-site.mk-page--auth .modal-dialog-scrollable .modal-body { overflow-y: auto; }

.mk-site.mk-page--auth .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius-lg);
  background: #fff;
  box-shadow: var(--mk-shadow-md);
  pointer-events: auto;
}

.mk-site.mk-page--auth .modal-header,
.mk-site.mk-page--auth .modal-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; }
.mk-site.mk-page--auth .modal-header { justify-content: space-between; border-bottom: 1px solid var(--mk-line); }
.mk-site.mk-page--auth .modal-footer { justify-content: flex-end; border-top: 1px solid var(--mk-line); }
.mk-site.mk-page--auth .modal-title { color: var(--mk-ink); font-size: 1.15rem; font-weight: 700; }
.mk-site.mk-page--auth .modal-body { position: relative; flex: 1 1 auto; padding: 20px; color: var(--mk-ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.mk-site.mk-page--auth .modal-body table { display: block; overflow-x: auto; }

.mk-site.mk-page--auth .modal-backdrop { position: fixed; inset: 0; z-index: 1050; background: #061631; }
.mk-site.mk-page--auth .modal-backdrop.fade { opacity: 0; }
.mk-site.mk-page--auth .modal-backdrop.show { opacity: 0.55; }

@media (max-width: 575.98px) {
  .mk-site.mk-page--auth .modal-fullscreen-sm-down { width: 100vw; max-width: none; height: 100%; margin: 0; padding: 0; }
  .mk-site.mk-page--auth .modal-fullscreen-sm-down .modal-content { height: 100%; border: 0; border-radius: 0; }
  .mk-site.mk-page--auth .modal-fullscreen-sm-down .modal-body { overflow-y: auto; }
}

.mk-site.mk-page--auth .popover { position: absolute; z-index: 1070; max-width: 280px; padding: 10px 12px; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; box-shadow: var(--mk-shadow-md); color: var(--mk-ink-2); font-size: 0.875rem; line-height: 1.5; }
.mk-site.mk-page--auth .popover-arrow { display: none; }

@media (prefers-reduced-motion: reduce) {
  .mk-site.mk-page--auth .fade { transition: none; }
}

/* ---- Page widgets (registration mode cards, reCAPTCHA, strength, resend) ------ */
.mk-site.mk-page--auth .fn-reg-mode-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .mk-site.mk-page--auth .fn-reg-mode-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mk-site.mk-page--auth .fn-reg-mode-card { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--mk-line-strong); border-radius: var(--mk-radius-md); cursor: pointer; }
.mk-site.mk-page--auth .fn-reg-mode-card:has(input:checked) { border-color: var(--mk-navy-900); box-shadow: 0 0 0 3px rgba(43, 107, 224, 0.15); }
.mk-site.mk-page--auth .fn-reg-mode-card__radio { flex: none; float: none; margin: 0.25em 0 0; }
.mk-site.mk-page--auth .fn-reg-mode-card__title { margin: 6px 0 4px; color: var(--mk-ink); font-size: 1.05rem; }
.mk-site.mk-page--auth .fn-reg-mode-card__desc { color: var(--mk-muted); font-size: 0.92rem; }
.mk-site.mk-page--auth .fn-reg-mode-badge { display: inline-block; padding: 3px 10px; border-radius: var(--mk-radius-pill); background: var(--mk-blue-50); color: var(--mk-blue-700); font-size: 0.75rem; font-weight: 700; }
.mk-site.mk-page--auth .fn-reg-feat-group { margin-top: 10px; }
.mk-site.mk-page--auth .fn-reg-feat-group-label { color: var(--mk-subtle); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.mk-site.mk-page--auth .fn-reg-feat-list { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--mk-ink-2); font-size: 0.9rem; }
.mk-site.mk-page--auth .fn-reg-feat-list li { display: flex; align-items: center; gap: 8px; }
.mk-site.mk-page--auth [data-legal-row].is-acknowledged .form-check-label { color: var(--mk-positive-600); }

.mk-site.mk-page--auth .recaptcha-panel { display: grid; gap: 10px; margin: 1rem 0; padding: 16px; border: 1px solid var(--mk-line-strong); border-radius: 14px; background: #f8fafc; }
.mk-site.mk-page--auth .recaptcha-panel.is-verified { border-color: #b7e4c7; background: #effaf3; }
.mk-site.mk-page--auth .recaptcha-panel__header { display: flex; align-items: center; gap: 8px; color: var(--mk-ink); font-weight: 700; }
.mk-site.mk-page--auth .recaptcha-panel__widget { min-height: 78px; overflow-x: auto; }
.mk-site.mk-page--auth .recaptcha-panel__hint,
.mk-site.mk-page--auth .login-submit-guidance,
.mk-site.mk-page--auth .register-both-submit-guidance,
.mk-site.mk-page--auth .register-financial-submit-guidance,
.mk-site.mk-page--auth .register-both-submit-note { margin-top: 8px; color: var(--mk-muted); font-size: 0.88rem; }
@media (max-width: 419.98px) {
  .mk-site.mk-page--auth .recaptcha-panel__widget { min-height: 63px; }
  .mk-site.mk-page--auth .recaptcha-panel__widget > .g-recaptcha { transform: scale(0.8); transform-origin: 0 0; }
}

.mk-site.mk-page--auth .fn-pw-strength-wrap { display: none; margin-top: 8px; }
.mk-site.mk-page--auth .fn-pw-strength-wrap.fn-pw-strength-visible { display: block; }
.mk-site.mk-page--auth .fn-pw-strength-track { height: 6px; border-radius: 3px; background: var(--mk-line); overflow: hidden; }
.mk-site.mk-page--auth .fn-pw-strength-bar { width: 0; height: 100%; background: #d92d20; transition: width 0.2s var(--mk-ease); }
.mk-site.mk-page--auth .strength-fair .fn-pw-strength-bar { background: var(--mk-caution-600); }
.mk-site.mk-page--auth .strength-good .fn-pw-strength-bar { background: var(--mk-blue-600); }
.mk-site.mk-page--auth .strength-strong .fn-pw-strength-bar { background: var(--mk-positive-600); }
.mk-site.mk-page--auth .fn-pw-strength-label { color: var(--mk-muted); }

.mk-site.mk-page--auth .register-both-field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.mk-site.mk-page--auth .register-both-password-note span,
.mk-site.mk-page--auth .register-both-password-note strong { display: block; }
.mk-site.mk-page--auth .register-both-password-note { color: var(--mk-muted); font-size: 0.9rem; line-height: 1.6; }
.mk-site.mk-page--auth .login-resend-panel { margin-top: 1.25rem; padding: 16px; border: 1px solid var(--mk-line); border-radius: var(--mk-radius-md); background: #f8fafc; }
.mk-site.mk-page--auth .login-resend-panel__title { color: var(--mk-ink); font-size: 1.05rem; font-weight: 700; }
.mk-site.mk-page--auth .login-resend-panel__text,
.mk-site.mk-page--auth .login-resend-panel__security-note,
.mk-site.mk-page--auth .login-resend-panel__status { color: var(--mk-muted); font-size: 0.9rem; }
.mk-site.mk-page--auth hr { margin: 1.25rem 0; border: 0; border-top: 1px solid var(--mk-line); }

/* ---- Icons: Font Awesome is not loaded here. Meaningful glyphs are drawn with
   same-origin CSS masks (data: SVG, allowed by img-src); decorative ones hide. */
.mk-site.mk-page--auth i.fas { display: none; }
.mk-site.mk-page--auth i.fa-eye,
.mk-site.mk-page--auth i.fa-eye-slash,
.mk-site.mk-page--auth i.fa-check,
.mk-site.mk-page--auth i.fa-lock {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--auth-icon) center / contain no-repeat;
  mask: var(--auth-icon) center / contain no-repeat;
}
.mk-site.mk-page--auth i.fa-eye.d-none,
.mk-site.mk-page--auth i.fa-eye-slash.d-none { display: none !important; }
.mk-site.mk-page--auth i.fa-eye { --auth-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.mk-site.mk-page--auth i.fa-eye-slash { --auth-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3l18 18M10.6 10.6A3 3 0 0012 15a3 3 0 002.4-4.4M6.6 6.6C3.7 8.3 2 12 2 12s4 7 10 7a10.9 10.9 0 006.4-2.1M14.1 5.1A10.9 10.9 0 0012 5C6 5 2 12 2 12'/%3E%3C/svg%3E"); }
.mk-site.mk-page--auth i.fa-check { color: var(--mk-positive-600); --auth-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }
.mk-site.mk-page--auth i.fa-lock { color: var(--mk-subtle); --auth-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%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"); }

/* ---- Zero Friction Registration V1: Google entry + divider on Başvuru Yapan Kaydı ---- */
.mk-site.mk-page--auth .register-both-oauth .fn-google-btn { display: flex; width: 100%; }
.mk-site.mk-page--auth .register-both-oauth__divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; color: var(--mk-muted); font-size: 0.88rem; }
.mk-site.mk-page--auth .register-both-oauth__divider::before,
.mk-site.mk-page--auth .register-both-oauth__divider::after { content: ""; flex: 1; border-top: 1px solid var(--mk-line-strong); }
.mk-site.mk-page--auth .register-both-alt-links { color: var(--mk-muted); line-height: 1.8; }
/* Zero Friction V1.1: signed-in header actions on the auth interstitials */
.mk-site .mk-nav__logout { display: contents; }
.mk-site.mk-page--auth .fn-provider-models { min-width: 0; margin: 0; padding: 0; border: 0; }
