/* Maltazon UX2 registration — route-owned presentation only. */

body#authentication {
  --mz-register-accent: #ff7900;
  --mz-register-accent-hover: #ed7000;
  --mz-register-text: #191a1d;
  --mz-register-muted: #5f6b76;
  --mz-register-border: #e5e7eb;
  --mz-register-surface: #ffffff;
  --mz-register-bg: #f8f9fb;
  --mz-register-focus: rgba(255, 121, 0, 0.2);
  --mz-register-error: #a9322a;
  --mz-register-error-bg: #fff7f6;
  --mz-register-error-border: #efc9c6;
}

body#authentication #wrapper {
  background-color: var(--mz-register-bg);
  background-image: radial-gradient(circle at 50% 0, rgba(255, 121, 0, 0.045), rgba(255, 121, 0, 0) 360px);
}

@media (max-width: 767px) {
  body#authentication #wrapper {
    padding-top: 0;
  }
}

body#authentication #main {
  padding: 22px 0 64px;
}

.mz-register-ux2,
.mz-register-ux2 *,
.mz-register-ux2__hero,
.mz-register-ux2__hero * {
  box-sizing: border-box;
}

.mz-register-ux2__hero {
  max-width: 540px;
  margin: 0 auto 18px;
  padding: 0 4px;
  text-align: center;
}

.mz-register-ux2__account-icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 121, 0, 0.14);
  border-radius: 50%;
  background: #fff2e6;
  color: #cf6200;
  box-shadow: 0 10px 26px rgba(255, 121, 0, 0.09);
}

.mz-register-ux2__account-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body#authentication #main .mz-register-ux2__hero h1 {
  margin: 0;
  color: var(--mz-register-text);
  font-size: clamp(1.75rem, 7.2vw, 2rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mz-register-ux2__lead {
  max-width: 470px;
  margin: 12px auto 0;
  color: var(--mz-register-muted);
  font-size: 0.96875rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

body#authentication #content.page-content {
  max-width: 540px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mz-register-ux2 {
  max-width: 540px;
  margin: 0 auto;
}

.mz-register-ux2__signin {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 auto 18px;
  color: var(--mz-register-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.mz-register-ux2__signin a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 7px 5px;
  color: #a94b00;
  font-weight: 700;
  text-decoration: none;
}

.mz-register-ux2__signin a:hover {
  color: #823900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mz-register-ux2__card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--mz-register-border);
  border-radius: 20px;
  background: var(--mz-register-surface);
  box-shadow: 0 18px 48px rgba(15, 34, 51, 0.085), 0 2px 8px rgba(15, 34, 51, 0.035);
}

.mz-register-ux2__form,
.mz-register-ux2__form > section {
  margin: 0;
}

.mz-register-ux2__form .form-group.row {
  display: block;
  margin: 0 0 20px;
}

.mz-register-ux2__form .form-control-label,
.mz-register-ux2__form .form-group.row > div:not(.form-control-comment) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  flex: none;
}

/* The legacy comment columns contain template whitespace, so :empty does not
   collapse them even when no help text exists. Remove only these unused
   top-level registration comments from the field rhythm. */
.mz-register-ux2__form .form-fields > .form-group.row > .form-control-comment {
  display: none;
}

.mz-register-ux2__form .form-control-label {
  display: block;
  margin-bottom: 8px;
  color: var(--mz-register-text);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

.mz-register-ux2__form .form-control-label.required::after {
  color: #b95200;
}

.mz-register-ux2__form .form-control {
  width: 100%;
  height: 54px;
  padding: 0 15px 0 46px;
  border: 1px solid #d8dce2;
  border-radius: 13px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 20px 20px;
  color: var(--mz-register-text);
  font-size: 1rem;
  line-height: 1.25;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.mz-register-ux2__form input[name="firstname"],
.mz-register-ux2__form input[name="lastname"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8792' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.7-4.1 3-6.1 7-6.1s6.3 2 7 6.1'/%3E%3C/svg%3E");
}

.mz-register-ux2__form input[name="email"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8792' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3C/svg%3E");
}

.mz-register-ux2__form .form-control:hover {
  border-color: #b8bec7;
}

.mz-register-ux2__form .form-control:focus {
  border-color: var(--mz-register-accent);
  outline: 0;
  box-shadow: 0 0 0 4px var(--mz-register-focus);
}

.mz-register-ux2__form .input-group {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 13px;
}

.mz-register-ux2__form .input-group .form-control {
  width: 100%;
  min-width: 0;
  padding-right: 78px;
  border-radius: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8792' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='10' width='13' height='10' rx='2.5'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3C/svg%3E");
}

.mz-register-ux2__form .input-group-btn {
  position: absolute;
  top: 5px;
  right: 7px;
  z-index: 2;
  display: flex;
  width: auto;
}

body#authentication .mz-register-ux2__form [data-action="show-password"] {
  min-width: 60px;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 121, 0, 0.2);
  border-radius: 9px;
  background: rgba(255, 121, 0, 0.055);
  color: #a94b00;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body#authentication .mz-register-ux2__form [data-action="show-password"]:hover {
  border-color: rgba(255, 121, 0, 0.42);
  background: rgba(255, 121, 0, 0.105);
  color: #8f4000;
}

body#authentication .mz-register-ux2__form [data-action="show-password"]:active {
  background: rgba(255, 121, 0, 0.16);
}

.mz-register-ux2__form .input-group:focus-within {
  box-shadow: 0 0 0 4px var(--mz-register-focus);
}

.mz-register-ux2__form .input-group:focus-within .form-control {
  border-color: var(--mz-register-accent);
  box-shadow: none;
}

.mz-register-ux2__form .form-control:-webkit-autofill,
.mz-register-ux2__form .form-control:-webkit-autofill:hover,
.mz-register-ux2__form .form-control:-webkit-autofill:focus,
.mz-register-ux2__form .form-control:-webkit-autofill:active {
  border-color: #d8dce2;
  -webkit-text-fill-color: var(--mz-register-text);
  caret-color: var(--mz-register-text);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
}

.mz-register-ux2__form .form-control:autofill,
.mz-register-ux2__form .form-control:autofill:hover,
.mz-register-ux2__form .form-control:autofill:focus,
.mz-register-ux2__form .form-control:autofill:active {
  border-color: #d8dce2;
  color: var(--mz-register-text);
  caret-color: var(--mz-register-text);
  box-shadow: 0 0 0 1000px #fff inset;
}

.mz-register-ux2__newsletter {
  margin: 28px 0 24px;
  padding: 17px;
  border: 1px solid rgba(255, 121, 0, 0.22);
  border-radius: 17px;
  background: #fff9f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 16px rgba(143, 64, 0, 0.035);
}

.mz-register-ux2__newsletter .form-group.row {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.mz-register-ux2__newsletter .form-control-label,
.mz-register-ux2__newsletter .form-control-comment {
  display: none;
}

.mz-register-ux2__newsletter .custom-checkbox,
.mz-register-ux2__newsletter .custom-checkbox label {
  display: block;
  width: 100%;
}

.mz-register-ux2__newsletter .custom-checkbox label {
  position: relative;
  min-height: 44px;
  margin: 0;
  padding: 11px 0 0 40px;
  color: var(--mz-register-text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}

.mz-register-ux2__newsletter .custom-checkbox input {
  position: absolute;
  top: 0;
  left: -10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

body#authentication .mz-register-ux2__newsletter .custom-checkbox input[type="checkbox"] + span {
  position: absolute;
  top: 10px;
  left: 0;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid #bfc5ce;
  border-radius: 6px;
  background: #fff;
  color: #191a1d;
  box-shadow: 0 1px 2px rgba(25, 26, 29, 0.05);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body#authentication .mz-register-ux2__newsletter .custom-checkbox input[type="checkbox"]:checked + span {
  border-color: var(--mz-register-accent);
  background: var(--mz-register-accent);
}

body#authentication .mz-register-ux2__newsletter .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked {
  display: block;
  margin: 0;
  color: #191a1d;
  font-size: 18px;
  line-height: 1;
}

body#authentication .mz-register-ux2__newsletter .custom-checkbox input[type="checkbox"]:focus-visible + span {
  border-color: var(--mz-register-accent);
  outline: 0;
  box-shadow: 0 0 0 4px var(--mz-register-focus);
}

.mz-register-ux2__newsletter em {
  display: block;
  margin-top: 4px;
  color: var(--mz-register-muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
}

.mz-register-ux2__panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.mz-register-ux2__newsletter .mz-register-ux2__panel-heading {
  align-items: center;
  margin-bottom: 8px;
}

.mz-register-ux2__panel-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 121, 0, 0.16);
  border-radius: 50%;
  background: rgba(255, 121, 0, 0.1);
  color: #cf6200;
}

.mz-register-ux2__panel-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mz-register-ux2__panel-copy {
  display: block;
  min-width: 0;
}

.mz-register-ux2__panel-title {
  margin: 0;
  color: var(--mz-register-text);
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.35;
  text-transform: none;
}

.mz-register-ux2__panel-help {
  display: block;
  margin-top: 3px;
  color: var(--mz-register-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
}

.mz-register-ux2__security {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 17px;
  background: #fbfbfc;
  box-shadow: 0 5px 16px rgba(15, 34, 51, 0.035);
}

.mz-register-ux2__security > .mz-register-ux2__panel-heading {
  padding: 16px 16px 13px;
}

.mz-register-ux2__security-challenge {
  margin: 0 16px 16px;
  padding: 11px;
  border: 1px solid #e8eaed;
  border-radius: 11px;
  background: #fff;
}

.mz-register-ux2__security .form-group.row {
  margin: 0;
}

.mz-register-ux2__security .form-control-label {
  display: none;
}

.mz-register-ux2__security .form-group.row > div {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  flex: none;
}

.mz-register-ux2__security .g-recaptcha {
  width: 304px;
  max-width: 100%;
  margin: 0 auto;
}

.mz-register-ux2__security .g-recaptcha iframe {
  display: block;
  max-width: 100%;
}

.mz-register-ux2__form .form-footer {
  margin: 0;
  padding: 0;
}

.mz-register-ux2__form [data-link-action="save-customer"] {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid var(--mz-register-accent);
  border-radius: 13px;
  background: var(--mz-register-accent);
  color: #191a1d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 9px 22px rgba(255, 121, 0, 0.24);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mz-register-ux2__form [data-link-action="save-customer"]::after {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191a1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M14 7l5 5-5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

.mz-register-ux2__form [data-link-action="save-customer"]:hover {
  border-color: var(--mz-register-accent-hover);
  background: var(--mz-register-accent-hover);
  color: #111214;
  box-shadow: 0 12px 26px rgba(255, 121, 0, 0.28);
}

.mz-register-ux2__form [data-link-action="save-customer"]:active {
  transform: translateY(1px);
}

.mz-register-ux2__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 24px 20px;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mz-register-ux2__divider::before,
.mz-register-ux2__divider::after {
  height: 1px;
  flex: 1 1 auto;
  background: var(--mz-register-border);
  content: "";
}

.mz-register-ux2__social {
  margin: 0 24px;
}

.mz-register-ux2__form .has-error .form-control {
  border-color: var(--mz-register-error);
  background-color: var(--mz-register-error-bg);
}

.mz-register-ux2__form .help-block,
.mz-register-ux2__form .alert,
.mz-register-ux2 .alert {
  color: var(--mz-register-error);
}

.mz-register-ux2__form .help-block {
  margin: 7px 0 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.mz-register-ux2__form .form-control-comment:empty {
  display: none;
}

.mz-register-ux2 a:focus-visible,
.mz-register-ux2 button:focus-visible,
.mz-register-ux2 input:focus-visible {
  outline: 3px solid rgba(255, 121, 0, 0.5);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  body#authentication #main {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .mz-register-ux2__hero {
    margin-bottom: 22px;
  }

  .mz-register-ux2__account-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
  }

  .mz-register-ux2__card {
    padding: 34px 38px 32px;
    border-radius: 22px;
  }

  .mz-register-ux2__divider,
  .mz-register-ux2__social {
    margin-right: 38px;
    margin-left: 38px;
  }
}

@media (min-width: 375px) and (max-width: 389px) {
  .mz-register-ux2__card {
    padding-right: 19px;
    padding-left: 19px;
  }
}

@media (max-width: 767px) {
  .mz-register-ux2__security-challenge {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
}

@media (max-width: 374px) {
  .mz-register-ux2__lead {
    font-size: 0.9375rem;
  }

  .mz-register-ux2__signin {
    flex-wrap: wrap;
  }

  .mz-register-ux2__card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mz-register-ux2__newsletter {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mz-register-ux2__divider,
  .mz-register-ux2__social {
    margin-right: 12px;
    margin-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mz-register-ux2 *,
  .mz-register-ux2 *::before,
  .mz-register-ux2 *::after,
  .mz-register-ux2__hero * {
    transition-duration: 0.01ms !important;
  }
}
