/* GENERATED FILE: do not edit. Rebuild with `node marketing/tools/build-login-css.js`.
   Part 1: the website's header and footer rules, copied from site.css and scoped under .mz-chrome.
   Part 2: login.skin.css (the sign-in screen's skin, scoped under html.mz-login). */

/* ── part 1: header + footer (from site.css) ── */
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/InstrumentSans-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/InstrumentSans-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/InstrumentSans-Bold.ttf') format('truetype'); }
.mz-chrome, html.mz-login { --lime: #ace601; --navy: #072032; --ink: #212529; --muted: #5c6972; --pale: #eef3e9; --panel: #f8faf5; --panel-2: #f6f9f3; --line: #ebedef; --fh: 'Instrument Sans', 'Almarai', system-ui, sans-serif; --fb: 'DM Sans', 'Almarai', system-ui, sans-serif; --wrap: 1330px; --header-h: 86px; }
.mz-chrome .wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.mz-chrome .btn-lime { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 35px; border-radius: 30px; background: var(--lime); color: #121212; font-family: var(--fb); font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; perspective: 1000px; transition: background-color 0.3s; }
.mz-chrome .btn-lime.is-s { height: 46px; padding: 0 27px; }
.mz-chrome .btn-lime:hover { background: #b9f01a; }
.mz-chrome .flip { position: relative; display: inline-block; transition: transform 0.3s; transform-origin: 50% 0; transform-style: preserve-3d; color: inherit; }
.mz-chrome .flip::before { content: attr(data-text); position: absolute; top: 100%; left: 0; width: 100%; height: 100%; text-align: center; transform: rotateX(-90deg); transform-origin: 50% 0; }
.mz-chrome a:hover > .flip, .mz-chrome button:hover > .flip { transform: rotateX(90deg) translateY(-12px); }
.mz-chrome .site-header { position: relative; z-index: 50; background: var(--pale); border-block-end: 1px solid rgba(7, 32, 50, 0.07); }
.mz-chrome .hd { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mz-chrome .brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.mz-chrome .brand img { height: 36px; width: auto; }
.mz-chrome .brand-word { font-family: var(--fh); font-weight: 700; font-size: 27px; line-height: 1; color: var(--navy); letter-spacing: -0.5px; }
.mz-chrome .main-nav { display: none; align-items: center; margin-inline: auto; }
.mz-chrome .main-nav a { position: relative; display: block; padding: 0 20px; line-height: 61px; font-weight: 500; font-size: 16px; color: var(--navy); transition: color 0.2s; }
.mz-chrome .main-nav a::after { content: ''; position: absolute; inset-inline: 20px; bottom: 16px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transition: transform 0.25s; }
.mz-chrome .main-nav a:hover::after, .mz-chrome .main-nav a[aria-current]::after { transform: scaleX(1); }
.mz-chrome .hd-actions { display: flex; align-items: center; gap: 12px; }
.mz-chrome .lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 30px; border: 1px solid rgba(7, 32, 50, 0.18); font-weight: 600; font-size: 15px; color: var(--navy); transition: background-color 0.2s; }
.mz-chrome .lang-btn:hover { background: rgba(7, 32, 50, 0.06); }
.mz-chrome .lang-btn .ic { font-size: 18px; }
.mz-chrome .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; font-size: 26px; color: var(--navy); }
.mz-chrome .hd .btn-lime { display: none; }
.mz-chrome .m-menu { display: grid; gap: 4px; padding: 6px 20px 24px; background: var(--pale); border-block-start: 1px solid rgba(7, 32, 50, 0.07); }
.mz-chrome .m-menu[hidden] { display: none; }
.mz-chrome .m-menu nav { display: grid; }
.mz-chrome .m-menu a:not(.btn-lime) { padding: 14px 4px; font-weight: 600; font-size: 18px; color: var(--navy); border-block-end: 1px solid rgba(7, 32, 50, 0.08); }
.mz-chrome .m-menu .btn-lime { margin-block-start: 16px; }
@media (min-width: 1025px) {
  .mz-chrome .main-nav { display: flex; }
  .mz-chrome .menu-btn, .mz-chrome .m-menu { display: none !important; }
  .mz-chrome .hd .btn-lime { display: inline-flex; }
}
@media (max-width: 767px) {
  .mz-chrome, html.mz-login { --header-h: 58px; }
  .mz-chrome .brand img { height: 28px; }
  .mz-chrome .brand-word { font-size: 22px; }
  .mz-chrome .lang-btn { height: 36px; padding: 0 12px; font-size: 14px; }
}
.mz-chrome .site-footer { padding-block-start: 140px; }
.mz-chrome .ft-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.mz-chrome .ft-brand p { margin-block-start: 45px; max-width: 300px; font-size: 18px; line-height: 24px; color: var(--muted); }
.mz-chrome .ft-col h4 { font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--navy); }
.mz-chrome .ft-col ul { display: grid; margin-block-start: 23px; }
.mz-chrome .ft-col li, .mz-chrome .ft-col address { font-size: 18px; line-height: 30px; font-style: normal; color: var(--muted); }
.mz-chrome .ft-col a { transition: color 0.2s; }
.mz-chrome .ft-col a:hover { color: var(--navy); }
.mz-chrome .ft-contact li { display: flex; align-items: flex-start; gap: 12px; line-height: 26px; padding-block: 2px; }
.mz-chrome .ft-contact .ic { margin-block-start: 5px; font-size: 16px; color: var(--navy); }
.mz-chrome .ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-block-start: 76px; padding-block: 30px; border-block-start: 3px double rgba(7, 32, 50, 0.08); font-size: 16px; line-height: 20px; color: var(--muted); }
.mz-chrome .ft-bottom a:hover { color: var(--navy); }
.mz-chrome .ft-acct { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; }
.mz-chrome .ft-bottom p b { font-weight: 700; color: var(--navy); }
@media (min-width: 768px) {
  .mz-chrome .ft-grid { grid-template-columns: repeat(2, 1fr); }
  .mz-chrome .ft-brand { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
  .mz-chrome .ft-grid { grid-template-columns: 438px 264px 252px 1fr; gap: 0; }
  .mz-chrome .ft-brand { grid-column: auto; }
}
@media (max-width: 1024px) {
  .mz-chrome .site-footer { padding-block-start: 90px; }
  .mz-chrome .ft-bottom { margin-block-start: 50px; }
}
@media (max-width: 767px) {
  .mz-chrome .site-footer { padding-block-start: 56px; }
  .mz-chrome .ft-brand p { margin-block-start: 24px; }
  .mz-chrome .ft-col li, .mz-chrome .ft-col address { font-size: 17px; }
}
@media (max-width: 767px) {
  .mz-chrome .btn-lime { height: 54px; padding: 0 28px; }
  .mz-chrome .btn-lime.is-s { height: 44px; padding: 0 22px; }
}
@media (max-width: 420px) {
  .mz-chrome .lang-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .mz-chrome .lang-btn span { display: none; }
  .mz-chrome .hd { gap: 12px; }
  .mz-chrome .hd-actions { gap: 4px; }
}

/* ── part 2: login.skin.css ── */
/* ── MazayaChat sign-in page skin ─────────────────────────────────────────────────────────────────────────────
   Hand-written part of mz-site/login.css (the rest is the website's header/footer rules, generated from site.css by
   marketing/tools/build-login-css.js). Everything here is scoped to html.mz-login (set by the server for /user/login
   only) or to .mz-chrome (the website's header/footer around the app's root), so nothing can reach the dashboard:
   the page also reloads as soon as the app navigates away from the sign-in screen.
   The sign-in screen is the app's own React component; this file only changes how it looks. */

html.mz-login {
  --lime: #ace601;
  --navy: #072032;
  --ink: #212529;
  --muted: #5c6972;
  --pale: #eef3e9;
  --panel: #f8faf5;
  --line: #ebedef;
  --fh: 'Instrument Sans', 'Almarai', system-ui, sans-serif;
  --fb: 'DM Sans', 'Almarai', system-ui, sans-serif;
  color-scheme: light;
}
html.mz-login body { background: #fff !important; }
html.i18n-pending body { visibility: hidden; }
/* the website's header/footer exist only on the sign-in page (the page reloads when the app leaves it) */
html:not(.mz-login) .mz-chrome { display: none !important; }

/* ── the website's header / footer: base rules, scoped ───────────────────────────────────────────────── */
.mz-chrome { font-family: var(--fb); font-size: 18px; line-height: 1.33; font-weight: 400; color: var(--ink); -webkit-text-size-adjust: 100%; }
.mz-chrome *, .mz-chrome *::before, .mz-chrome *::after { box-sizing: border-box; }
.mz-chrome h1, .mz-chrome h2, .mz-chrome h3, .mz-chrome h4, .mz-chrome p, .mz-chrome ul, .mz-chrome ol, .mz-chrome address { margin: 0; }
.mz-chrome ul, .mz-chrome ol { padding: 0; list-style: none; }
.mz-chrome img, .mz-chrome svg { display: block; max-width: 100%; }
.mz-chrome a { color: inherit; text-decoration: none; }
.mz-chrome button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.mz-chrome :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.mz-chrome .ic { width: 1em; height: 1em; flex: none; }
.mz-chrome .skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -80px; z-index: 100000; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 30px; font-weight: 700; }
.mz-chrome .skip-link:focus { inset-block-start: 12px; }
.mz-chrome[data-dir='rtl'] { direction: rtl; }
.mz-chrome[data-dir='ltr'] { direction: ltr; }
.mz-chrome-bottom .site-footer { padding-block-start: 90px; }
html.mz-login .mz-chrome-top { position: relative; z-index: 50; }

/* ── the page: the app's root becomes the template's pale hero ───────────────────────────────────────── */
html.mz-login #root {
  position: relative;
  background: #fff;
  overflow: hidden;
}
/* the template's thin vertical page lines (only on wide screens, like the template) */
html.mz-login #root::before, html.mz-login #root::after { display: none !important; content: ''; position: absolute; inset-block: 0; width: 1px; background: rgba(7, 32, 50, 0.08); z-index: 0; pointer-events: none; }
html.mz-login #root::before { inset-inline-start: 100px; }
html.mz-login #root::after { inset-inline-end: 100px; }
@media (min-width: 1400px) and (max-width: 1500px) { html.mz-login #root::before { inset-inline-start: 30px; } html.mz-login #root::after { inset-inline-end: 30px; } }
@media (max-width: 1400px) { html.mz-login #root::before, html.mz-login #root::after { display: none; } }

/* before the app has drawn anything, keep the footer where it will be */
html.mz-login #root:empty { min-height: 640px; }
/* the app draws "undefined" until its translations arrive; login.js marks the page ready when they have */
html.mz-login:not([data-mz-ready]) [data-mz='login'] { visibility: hidden; }
/* the app's own start-up state (a spinner on a full-height grey panel) sits on the page's pale background instead */
html.mz-login #root div:has(> .MuiCircularProgress-root:only-child) { min-height: 640px !important; background: transparent !important; }
html.mz-login #root .MuiCircularProgress-root { color: var(--navy); }

/* the app's own full-height wrappers must not force a 100vh page between the header and the footer */
html.mz-login [data-mz='wrap'] { min-height: 0 !important; height: auto !important; background: transparent !important; box-shadow: none !important; overflow: visible !important; }
html.mz-login .MuiLinearProgress-root { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 9999; }

html.mz-login [data-mz='login'] {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center;
  width: 100%; max-width: 1330px; margin: 0 auto; padding: 90px 20px 120px;
  min-height: 0 !important; height: auto !important; background: transparent !important; box-sizing: border-box;
}

/* left: the template's hero text */
html.mz-login [data-mz='left'] { all: unset; display: block; box-sizing: border-box; }
html.mz-login [data-mz='skip'] { display: none !important; } /* the app's logo, decoration and English-only copyright lines */
html.mz-login [data-mz='intro'] { all: unset; display: block; }
html.mz-login [data-mz='intro'] h3 { margin: 0; font: 600 clamp(40px, 4.2vw, 60px) / 1.08 var(--fh); letter-spacing: 0; color: var(--navy); }
html[lang='ar'].mz-login [data-mz='intro'] h3 { line-height: 1.32; }
html.mz-login [data-mz='intro'] p { margin: 29px 0 0; max-width: 477px; font: 400 18px / 1.44 var(--fb); color: var(--muted); }
html.mz-login [data-mz='points'] { all: unset; display: grid; gap: 16px; margin-block-start: 39px; }
html.mz-login [data-mz='points'] > * { all: unset; display: flex; align-items: center; gap: 12px; }
html.mz-login [data-mz='points'] > * > :first-child { all: unset; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); }
html.mz-login [data-mz='points'] svg { width: 13px; height: 13px; color: var(--navy); fill: var(--navy); }
html.mz-login [data-mz='points'] p { margin: 0; font: 500 18px / 1.33 var(--fb); color: var(--navy); }

/* right: the template's white card */
html.mz-login [data-mz='right'] { all: unset; display: block; box-sizing: border-box; width: 100%; max-width: 560px; justify-self: end; }
html.mz-login [data-mz='right'] > :not([data-mz='card']) { display: none !important; } /* the old theme switch and mobile brand row */
html.mz-login [data-mz='card'] {
  all: unset; display: block; box-sizing: border-box; width: 100%;
  padding: 44px 38px; border-radius: 26px; background: #ffffff;
  border: 1px solid rgba(7, 32, 50, 0.06);
  box-shadow: 0 24px 60px -15px rgba(7, 32, 50, 0.08), 0 4px 16px -2px rgba(7, 32, 50, 0.03);
  font-family: var(--fb); color: var(--navy);
}
html.mz-login [data-mz='card'] h4 { margin: 0; font: 700 30px / 1.25 var(--fh); letter-spacing: -0.3px; color: var(--navy); }
html[lang='ar'].mz-login [data-mz='card'] h4 { font-weight: 700; font-size: 28px; line-height: 1.35; }
html.mz-login [data-mz='card'] h4 + p { margin: 8px 0 0; font: 400 15px / 1.5 var(--fb); color: #64748b; }

/* fonts: the app forces Almarai (!important) on its text in Arabic; the website's stacks keep Almarai for Arabic letters
   and use DM Sans / Instrument Sans for everything Latin (numbers, e-mail, brand names), as on the other pages */
html.mz-login [data-mz='card'] :is(.MuiTypography-root, .MuiButton-root, .MuiInputBase-root, .MuiFormLabel-root, .MuiFormHelperText-root, input, button),
html.mz-login [data-mz='points'] .MuiTypography-root, html.mz-login [data-mz='intro'] p.MuiTypography-root,
html.mz-login .MuiDialog-paper :is(.MuiTypography-root, .MuiButton-root, .MuiInputBase-root, .MuiFormLabel-root, input, button) { font-family: var(--fb) !important; }
html.mz-login [data-mz='card'] h4.MuiTypography-root, html.mz-login [data-mz='intro'] h3.MuiTypography-root { font-family: var(--fh) !important; }

/* social buttons */
html.mz-login [data-mz='social'] { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px; }
html.mz-login [data-mz='social'] > * { flex: 1 1 200px; min-width: 0; margin: 0 !important; }
html.mz-login [data-mz='social'] > :empty { display: none; }
html.mz-login [data-mz='card'] .MuiButton-outlined {
  height: 52px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #ffffff; color: var(--navy);
  font: 600 15px / 1 var(--fb); text-transform: none; letter-spacing: 0; box-shadow: 0 2px 4px rgba(7, 32, 50, 0.02);
  transition: all 0.2s;
}
html.mz-login [data-mz='card'] .MuiButton-outlined:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(7, 32, 50, 0.05); }
html.mz-login [data-mz='card'] .MuiDivider-root { border-color: #e2e8f0; }
html.mz-login [data-mz='card'] .MuiDivider-root + span, html.mz-login [data-mz='card'] span.MuiTypography-caption { color: #64748b; }

/* fields */
html.mz-login [data-mz='card'] .MuiOutlinedInput-root { min-height: 52px; border-radius: 14px; background: #f8fafc; color: var(--navy); font: 500 15px / 1.4 var(--fb); transition: all 0.2s ease; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root input { box-sizing: border-box; height: 52px; padding: 0 14px; font: 500 15px / 1.4 var(--fb); color: var(--navy); -webkit-text-fill-color: var(--navy); }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #f8fafc inset; -webkit-text-fill-color: var(--navy); border-radius: 14px; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-notchedOutline { border: 1.5px solid #e2e8f0 !important; border-radius: 14px; transition: border-color 0.2s; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline { border-color: #cbd5e1 !important; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root.Mui-focused { background: #ffffff; box-shadow: 0 0 0 4px rgba(172, 230, 1, 0.28); }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color: #84cc16 !important; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline { border-color: #ef4444 !important; }
html.mz-login [data-mz='card'] .MuiInputLabel-root { font: 500 14px / 1.2 var(--fb); color: #64748b; }
html.mz-login [data-mz='card'] .MuiInputLabel-root.Mui-focused { color: var(--navy); font-weight: 600; }
html.mz-login [data-mz='card'] .MuiInputAdornment-root, html.mz-login [data-mz='card'] .MuiInputAdornment-root svg { color: #64748b; }
html.mz-login [data-mz='card'] .MuiInputAdornment-root svg { opacity: 0.85; font-size: 19px; }
html.mz-login [data-mz='card'] .MuiFormHelperText-root { margin-inline: 4px; font: 400 13px / 1.4 var(--fb); color: #64748b; }
html.mz-login [data-mz='card'] .MuiCheckbox-root { color: #94a3b8; }
html.mz-login [data-mz='card'] .MuiCheckbox-root.Mui-checked { color: var(--navy); }

/* the main button: the template's lime pill */
html.mz-login [data-mz='card'] .MuiButton-contained,
html.mz-login .MuiDialog-paper .MuiButton-contained {
  height: 54px; border-radius: 14px; background: var(--lime) !important; color: #072032 !important;
  font: 700 16px / 1 var(--fb); text-transform: none; letter-spacing: 0; box-shadow: none !important;
  transition: all 0.2s ease;
}
html.mz-login [data-mz='card'] .MuiButton-contained:hover,
html.mz-login .MuiDialog-paper .MuiButton-contained:hover {
  background: #b9f01a !important; transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(172, 230, 1, 0.6) !important;
}
html.mz-login [data-mz='card'] .MuiButton-contained:active { transform: translateY(0); }
html.mz-login [data-mz='card'] .MuiButton-contained.Mui-disabled,
html.mz-login .MuiDialog-paper .MuiButton-contained.Mui-disabled {
  /* still the brand's button, only faded until the form can be sent (the grey one looked broken) */
  background: var(--lime) !important; color: #072032 !important; opacity: 0.45; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}
html.mz-login [data-mz='card'] .MuiButton-contained .MuiSvgIcon-root,
html.mz-login .MuiDialog-paper .MuiButton-contained .MuiSvgIcon-root { color: #072032; }

/* links: sleek modern styling, no harsh thick green underlines */
html.mz-login [data-mz='card'] span.MuiTypography-caption { font: 500 13px / 1.7 var(--fb); color: #64748b; }
html.mz-login [data-mz='card'] span.MuiTypography-caption > span {
  color: var(--navy); font-weight: 600; text-decoration: none; cursor: pointer; transition: color 0.2s;
}
html.mz-login [data-mz='card'] span.MuiTypography-caption > span:hover {
  color: #4d7c0f; text-decoration: underline; text-underline-offset: 3px;
}
html.mz-login [data-mz='card'] p.MuiTypography-body2 { font: 400 15px / 1.5 var(--fb); color: #64748b; }
html.mz-login [data-mz='card'] p.MuiTypography-body2 > span {
  color: var(--navy); font-weight: 700; text-decoration: none; cursor: pointer; transition: color 0.2s;
}
html.mz-login [data-mz='card'] p.MuiTypography-body2 > span:hover {
  color: #4d7c0f; text-decoration: underline; text-underline-offset: 3px;
}
html.mz-login [data-mz='card'] .MuiAlert-root { border-radius: 14px; font-family: var(--fb) !important; font-size: 14px; }

/* the "reset password" dialog (rendered by the app outside #root) */
html.mz-login .MuiDialog-paper { border-radius: 20px !important; background: #fff !important; color: var(--navy) !important; box-shadow: 0 30px 80px rgba(7, 32, 50, 0.25) !important; font-family: var(--fb); }
/* the app's toast messages (wrong password, ...) */
html.mz-login .MuiSnackbar-root :is(.MuiAlert-message, .MuiSnackbarContent-message) { font-family: var(--fb) !important; font-size: 15px; }
html.mz-login .MuiDialog-paper .MuiTypography-root { color: var(--navy); font-family: var(--fb); }
html.mz-login .MuiDialog-paper .MuiDialogTitle-root { background: #fff !important; border-block-end: 1px solid var(--line); }
html.mz-login .MuiDialog-paper .MuiDialogContent-root, html.mz-login .MuiDialog-paper .MuiDialogActions-root { background: #fff !important; color: var(--navy); }
html.mz-login .MuiDialog-paper .MuiDialogTitle-root .MuiIconButton-root { background: var(--panel) !important; color: var(--muted) !important; }
html.mz-login .MuiDialog-paper .MuiInputAdornment-root, html.mz-login .MuiDialog-paper .MuiInputAdornment-root svg { color: var(--navy) !important; }
html.mz-login .MuiDialog-paper .MuiInputLabel-root { color: var(--muted); }
html.mz-login .MuiDialog-paper .MuiDialogTitle-root h6 { font: 600 20px / 1.3 var(--fh) !important; color: var(--navy); }
html.mz-login .MuiDialog-paper .MuiDialogTitle-root div:has(> svg.MuiSvgIcon-root:only-child) { background: var(--lime) !important; color: var(--navy) !important; border-radius: 12px; box-shadow: none !important; }
html.mz-login .MuiDialog-paper .MuiDialogTitle-root div:has(> svg.MuiSvgIcon-root:only-child) svg { color: var(--navy); }
html.mz-login .MuiDialog-paper p.MuiTypography-body2 { color: var(--muted); }
html.mz-login .MuiDialog-paper .MuiButton-outlined { height: 60px; border: 1.5px solid var(--navy); border-radius: 30px; color: var(--navy); font: 700 16px / 1 var(--fb); text-transform: none; }
html.mz-login .MuiDialog-paper .MuiOutlinedInput-root { border-radius: 12px; background: var(--panel); color: var(--navy); }
html.mz-login .MuiDialog-paper .MuiOutlinedInput-root input { color: var(--navy); -webkit-text-fill-color: var(--navy); }
html.mz-login .MuiDialog-paper .MuiOutlinedInput-notchedOutline { border: 1px solid var(--line) !important; border-radius: 12px; }
html.mz-login .MuiDialog-paper .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color: var(--lime) !important; }

/* tablet / phone: the app drops its left panel below 900px, so the card is the page */
@media (max-width: 1024px) {
  html.mz-login [data-mz='login'] { gap: 40px; padding: 60px 20px 90px; }
  html.mz-login [data-mz='intro'] h3 { font-size: 46px; }
  html.mz-login [data-mz='card'] { padding: 40px 34px; }
  .mz-chrome-bottom .site-footer { padding-block-start: 70px; }
}
@media (max-width: 899px) {
  html.mz-login [data-mz='login'] { grid-template-columns: minmax(0, 1fr); padding: 36px 16px 56px; }
  html.mz-login [data-mz='right'] { justify-self: center; max-width: 560px; }
  html.mz-login [data-mz='card'] { padding: 30px 20px 28px; border-radius: 16px; }
  html.mz-login [data-mz='card'] h4 { font-size: 30px; }
  html.mz-login [data-mz='card'] .MuiButton-contained { height: 56px; }
  .mz-chrome-bottom .site-footer { padding-block-start: 50px; }
}

/* signed in (or redirected): the app has already switched its view to the next page; hide it until the real page replaces this one */
html.mz-leaving #root, html.mz-leaving .mz-chrome { visibility: hidden !important; }
html.mz-leaving body::after { content: ''; position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 99999; height: 3px; background: var(--lime); transform-origin: 0 50%; animation: mz-leave 1.6s ease-out forwards; }
html[dir='rtl'].mz-leaving body::after { transform-origin: 100% 50%; }
@keyframes mz-leave { from { transform: scaleX(0); } to { transform: scaleX(0.92); } }
@media (prefers-reduced-motion: reduce) { html.mz-leaving body::after { animation: none; transform: scaleX(0.5); } }

/* ── layout fixes (hand-edited: the build script and login.skin.css are not in the project any more) ───────────────── */
/* left panel: one message only. login.js adds the channel icons above the app's own title and points; its extra
   heading, paragraph and three-item list repeated them, and the app's sub-line repeats the card's subtitle word for word */
html.mz-login .mz-hero > :not(.mz-hero-ic) { display: none !important; }
html.mz-login [data-mz='intro'] p { display: none; }
html.mz-login .mz-hero-ic { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
html.mz-login .mz-hero-ic img { width: 46px; height: 46px; padding: 10px; box-sizing: border-box; border-radius: 14px; background: #fff; border: 1px solid rgba(7, 32, 50, 0.06);
  box-shadow: 0 8px 20px -12px rgba(7, 32, 50, 0.35); transition: transform 0.2s; }
html.mz-login .mz-hero-ic img:hover { transform: translateY(-2px); }
html.mz-login [data-mz='points'] { margin-block-start: 34px; gap: 14px; }
html.mz-login [data-mz='points'] p { font-size: 17px; line-height: 1.5; }

/* card: a steady vertical rhythm */
html.mz-login [data-mz='card'] { padding: 42px 40px 34px; }
html.mz-login [data-mz='card'] > :first-child { margin-bottom: 26px !important; }
html.mz-login [data-mz='card'] h4 + p { margin-top: 6px; }
html.mz-login [data-mz='social'] { margin-bottom: 20px !important; }
html.mz-login [data-mz='card'] > .MuiBox-root:has(> hr.MuiDivider-root) { margin-bottom: 6px !important; }

/* fields: the label sits above its field (not on the border), the same gap between every field */
html.mz-login [data-mz='card'] .MuiStack-root:has(> .MuiTextField-root) { gap: 0 !important; margin-bottom: 0 !important; }
html.mz-login [data-mz='card'] .MuiTextField-root { margin: 30px 0 0 !important; }
html.mz-login [data-mz='card'] .MuiTextField-root .MuiInputLabel-root {
  transform: none !important; top: -25px; max-width: 100%; padding: 0; background: none;
  inset-inline-start: 2px !important; inset-inline-end: auto !important;
  font: 600 13.5px / 1.3 var(--fb) !important; color: var(--navy) !important; white-space: nowrap; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-notchedOutline legend { max-width: 0.01px !important; padding: 0 !important; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-notchedOutline { top: 0 !important; }
/* the icons inside the fields: same size, centred, a clear gap from the text */
html.mz-login [data-mz='card'] .MuiOutlinedInput-root { padding-inline: 14px !important; }
html.mz-login [data-mz='card'] .MuiOutlinedInput-root input { padding-inline: 10px 6px !important; }
html.mz-login [data-mz='card'] .MuiInputAdornment-root { height: auto; max-height: none; margin: 0 !important; }
html.mz-login [data-mz='card'] .MuiInputAdornment-root svg { width: 20px; height: 20px; font-size: 20px; }
html.mz-login [data-mz='card'] .MuiInputAdornment-positionEnd .MuiIconButton-root { width: 34px; height: 34px; margin: 0 !important; border-radius: 10px; }
html.mz-login [data-mz='card'] .MuiInputAdornment-positionEnd .MuiIconButton-root:hover { background: rgba(7, 32, 50, 0.06); }

/* "forgot password": a real link at the end of the line, then the button */
html.mz-login [data-mz='card'] > .MuiBox-root:has(> span.MuiTypography-caption:only-child) { display: flex !important; justify-content: flex-end; margin: 12px 0 22px !important; }
html.mz-login [data-mz='card'] > .MuiBox-root > span.MuiTypography-caption:only-child { font: 600 14px / 1.4 var(--fb) !important; color: var(--navy) !important; cursor: pointer; }
html.mz-login [data-mz='card'] > .MuiBox-root > span.MuiTypography-caption:only-child:hover { color: #4d7c0f !important; text-decoration: underline; text-underline-offset: 3px; }
html.mz-login [data-mz='card'] > .MuiButton-contained { width: 100%; margin: 0 !important; }
/* "reset password": the button follows the email field directly (no "forgot" line between them): the same gap as sign-in */
html.mz-login [data-mz='card'] > .MuiStack-root:has(> .MuiTextField-root) + .MuiButton-contained { margin-top: 24px !important; }

/* "no account? create one" and the terms line: centred, readable (the link was lime text on white) */
html.mz-login [data-mz='card'] > p.MuiTypography-body2 { margin: 22px 0 0 !important; text-align: center; }
html.mz-login [data-mz='card'] > p.MuiTypography-body2 > span { color: var(--navy) !important; font-weight: 700; border-bottom: 2px solid var(--lime); padding-bottom: 1px; }
html.mz-login [data-mz='card'] > span.MuiTypography-caption { display: block; margin: 18px 0 0 !important; padding-top: 18px; border-top: 1px solid #eef1f4; text-align: center; font-size: 12.5px !important; line-height: 1.7 !important; }
html.mz-login [data-mz='card'] > span.MuiTypography-caption > span { color: var(--navy) !important; font-weight: 600; }

@media (max-width: 899px) {
  html.mz-login [data-mz='card'] { padding: 30px 20px 26px; }
}

/* ── team-member sign-in (/agent/login, marketing/agentLogin.js): the same page and card, drawn without the app,
   so the fields below copy the values the owner's card uses above ─────────────────────────────────────────────── */
html.mz-agent-login body { margin: 0; font-family: var(--fb); }
html.mz-agent-login *, html.mz-agent-login *::before, html.mz-agent-login *::after { box-sizing: border-box; }
html.mz-agent-login [data-mz='login'] { min-height: 640px; }
html.mz-agent-login [data-mz='intro'] h3 { font-family: var(--fh); }
html[lang='ar'].mz-agent-login [data-mz='intro'] h3, html[lang='ar'].mz-agent-login [data-mz='card'] h4 { font-family: 'Almarai', var(--fh); }
html.mz-agent-login [data-mz='points'] p { font-family: var(--fb); }
html[lang='ar'].mz-agent-login :is([data-mz='points'] p, [data-mz='card']) { font-family: 'Almarai', var(--fb); }
html.mz-agent-login .mza-head p { margin: 6px 0 0; font-size: 15px; font-weight: 400; line-height: 1.5; color: #64748b; }
html.mz-agent-login #mza-form { display: grid; margin: 0; }
html.mz-agent-login .mza-field { display: grid; gap: 7px; margin: 0 0 18px; }
html.mz-agent-login .mza-label { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--navy); padding-inline-start: 2px; }
html.mz-agent-login .mza-box { position: relative; display: flex; align-items: center; gap: 4px; min-height: 52px; padding-inline: 14px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #f8fafc; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
html.mz-agent-login .mza-box:hover { border-color: #cbd5e1; }
html.mz-agent-login .mza-box:focus-within { background: #fff; border-color: #84cc16; box-shadow: 0 0 0 4px rgba(172, 230, 1, 0.28); }
html.mz-agent-login .mza-box:has(input[aria-invalid='true']) { border-color: #ef4444; }
html.mz-agent-login .mza-ic { display: grid; place-items: center; flex: none; color: #64748b; }
html.mz-agent-login .mza-ic svg, html.mz-agent-login .mza-eye svg { width: 20px; height: 20px; }
html.mz-agent-login .mza-box input { flex: 1; min-width: 0; height: 49px; padding: 0 10px 0 6px; border: 0; outline: 0; background: transparent; font: 500 15px / 1.4 var(--fb); color: var(--navy); }
html[dir='rtl'].mz-agent-login .mza-box input { padding: 0 6px 0 10px; text-align: right; }
html.mz-agent-login .mza-box input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #f8fafc inset; -webkit-text-fill-color: var(--navy); }
html.mz-agent-login .mza-eye { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: #64748b; cursor: pointer; }
html.mz-agent-login .mza-eye:hover, html.mz-agent-login .mza-eye[aria-pressed='true'] { background: rgba(7, 32, 50, 0.06); color: var(--navy); }
html.mz-agent-login .mza-alert { margin: -4px 0 14px; padding: 11px 14px; border-radius: 12px; background: #fdecea; color: #8a1f11; font-size: 14px; line-height: 1.5; }
html.mz-agent-login .mza-submit { height: 54px; margin-top: 6px; border: 0; border-radius: 14px; background: var(--lime); color: #072032; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer; transition: all 0.2s ease; }
html.mz-agent-login .mza-submit:hover { background: #b9f01a; transform: translateY(-1px); box-shadow: 0 8px 24px -4px rgba(172, 230, 1, 0.6); }
html.mz-agent-login .mza-submit:disabled { background: #e2e8f0; color: #94a3b8; transform: none; box-shadow: none; cursor: wait; }
html.mz-agent-login .mza-note { margin: 16px 0 0; padding: 11px 13px; border-radius: 12px; background: var(--panel); color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
html.mz-agent-login .mza-owner { margin: 18px 0 0; text-align: center; font-size: 15px; color: #64748b; }
html.mz-agent-login .mza-owner a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 1px; }
html.mz-agent-login .mza-terms { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #eef1f4; text-align: center; font-size: 12.5px; line-height: 1.7; color: #64748b; }
html.mz-agent-login .mza-terms a { color: var(--navy); font-weight: 600; text-decoration: none; }
html.mz-agent-login :is(.mza-owner a, .mza-terms a):hover { color: #4d7c0f; }
html.mz-agent-login :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
/* like the owner's page: the left panel is for wide screens only */
@media (max-width: 899px) { html.mz-agent-login [data-mz='left'] { display: none !important; } }

/* ── password reset (/recovery-user/<token>, marketing/resetPassword.js): same card, plus a strength meter and a done state ── */
html.mz-agent-login .mza-meter { display: flex; align-items: center; gap: 5px; margin: -8px 2px 16px; }
html.mz-agent-login .mza-meter i { flex: 1; height: 5px; border-radius: 5px; background: #e8edf2; transition: background 0.25s; }
html.mz-agent-login .mza-meter span { min-width: 64px; text-align: end; font-size: 12px; font-weight: 700; color: var(--muted); }
html.mz-agent-login .mza-meter[data-s='1'] i:nth-child(-n+1) { background: #ef4444; }
html.mz-agent-login .mza-meter[data-s='2'] i:nth-child(-n+2) { background: #f59e0b; }
html.mz-agent-login .mza-meter[data-s='3'] i:nth-child(-n+3) { background: #84cc16; }
html.mz-agent-login .mza-meter[data-s='4'] i { background: #4d7c0f; }
html.mz-agent-login .mza-hint { margin: -6px 2px 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
html.mz-agent-login .mza-again { display: inline-block; margin: -6px 0 14px; color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--lime); justify-self: start; }
html.mz-agent-login .mza-done { text-align: center; padding: 10px 0 4px; }
html.mz-agent-login .mza-done[hidden], html.mz-agent-login #mza-step-form[hidden], html.mz-agent-login .mza-again[hidden] { display: none; }
html.mz-agent-login .mza-done-ic { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 0 0 10px rgba(172, 230, 1, 0.18); animation: mza-pop 0.5s cubic-bezier(.2, 1.4, .4, 1); }
html.mz-agent-login .mza-done-ic svg { width: 36px; height: 36px; }
html.mz-agent-login .mza-done h4 { margin: 0; font: 700 26px / 1.3 var(--fh); color: var(--navy); }
html[lang='ar'].mz-agent-login .mza-done h4 { font-family: 'Almarai', var(--fh); }
html.mz-agent-login .mza-done p { margin: 8px 0 24px; color: #64748b; font-size: 15px; line-height: 1.6; }
html.mz-agent-login .mza-as-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
@keyframes mza-pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }

html.mz-agent-login #mza-step-form > .mza-head { margin-bottom: 24px; }
html.mz-agent-login .mza-meter i { height: 6px; }
