/* Maltazon Withdrawal UX 2027 — isolated to the public withdrawal controller. */
body#module-maltazonlegal-withdrawal #main > .page-header,
body#module-maltazonlegal-withdrawal #maltazon-newsletter-consent,
body#module-maltazonlegal-withdrawal #mzsw-widget {
  display: none !important;
}

body#module-maltazonlegal-withdrawal #content.page-content.card,
body#module-maltazonlegal-withdrawal #content.page-content.card-block {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#module-maltazonlegal-withdrawal #content-wrapper {
  width: 100%;
  max-width: 100%;
}

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

.mz-withdrawal {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 32, 0.08);
  color: #111820;
  font-size: 1rem;
  line-height: 1.6;
}

.mz-withdrawal a {
  color: #111820;
  text-decoration-color: #fd641f;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.mz-withdrawal a:hover {
  color: #111820;
  text-decoration-thickness: 3px;
}

body#module-maltazonlegal-withdrawal .mz-withdrawal a:focus-visible,
body#module-maltazonlegal-withdrawal .mz-withdrawal button:focus-visible,
body#module-maltazonlegal-withdrawal .mz-withdrawal input:focus-visible,
body#module-maltazonlegal-withdrawal .mz-withdrawal textarea:focus-visible {
  outline: 3px solid #111820 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #fd641f !important;
}

.mz-withdrawal__hero {
  position: relative;
  isolation: isolate;
  padding: clamp(34px, 5vw, 54px) clamp(24px, 5vw, 56px) clamp(30px, 4vw, 44px);
  overflow: hidden;
  border-bottom: 1px solid #dedede;
  background: linear-gradient(135deg, #f7f7f7 0%, #fff 74%);
}

.mz-withdrawal__hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background: #fd641f;
  content: "";
}

.mz-withdrawal__hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #111820;
  font-size: clamp(2.05rem, 4.3vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: none;
}

.mz-withdrawal__hero p {
  max-width: 700px;
  margin: 0;
  color: #111820;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
}

.mz-withdrawal__body {
  padding: clamp(26px, 5vw, 52px) clamp(20px, 5vw, 56px) clamp(34px, 6vw, 58px);
}

.mz-withdrawal__section {
  margin: 0;
}

.mz-withdrawal__step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 28px;
}

.mz-withdrawal__step > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fd641f;
  color: #111820;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.mz-withdrawal__step h2,
.mz-withdrawal__alert h2,
.mz-withdrawal__receipt h2 {
  margin: 0 0 6px;
  color: #111820;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-transform: none;
}

.mz-withdrawal__step p,
.mz-withdrawal__alert p,
.mz-withdrawal__receipt p {
  margin: 0;
  color: #111820;
  font-size: 0.98rem;
  line-height: 1.6;
}

.mz-withdrawal__form {
  display: grid;
  gap: 20px;
}

.mz-withdrawal__field {
  min-width: 0;
}

.mz-withdrawal__field label,
.mz-withdrawal__scope legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: #111820;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.mz-withdrawal__field input,
.mz-withdrawal__field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 9px;
  background: #fff;
  color: #111820;
  font: inherit;
  line-height: 1.45;
  text-align: left;
}

.mz-withdrawal__field textarea {
  min-height: 128px;
  resize: vertical;
}

.mz-withdrawal__field input:hover,
.mz-withdrawal__field textarea:hover {
  border-color: #8d8d8d;
}

.mz-withdrawal__field input[aria-invalid="true"],
.mz-withdrawal__field textarea[aria-invalid="true"] {
  border-color: #111820;
  border-width: 2px;
}

.mz-withdrawal__field-error,
.mz-withdrawal__field-help {
  margin: 8px 0 0;
  color: #111820;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mz-withdrawal__field-error {
  padding-left: 12px;
  border-left: 4px solid #fd641f;
  font-weight: 650;
}

.mz-withdrawal__scope {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mz-withdrawal__scope-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mz-withdrawal__scope-options label {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 104px;
  gap: 13px;
  align-items: flex-start;
  margin: 0;
  padding: 18px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background: #fff;
  color: #111820;
  cursor: pointer;
}

.mz-withdrawal__scope-options label:has(input:checked) {
  border-color: #fd641f;
  box-shadow: inset 4px 0 0 #fd641f;
}

.mz-withdrawal__scope-options input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0;
  accent-color: #fd641f;
}

.mz-withdrawal__scope-options span {
  display: block;
  min-width: 0;
}

.mz-withdrawal__scope-options strong,
.mz-withdrawal__scope-options small {
  display: block;
  color: #111820;
  line-height: 1.4;
}

.mz-withdrawal__scope-options strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.mz-withdrawal__scope-options small {
  font-size: 0.86rem;
  font-weight: 400;
}

.mz-withdrawal__notice {
  margin: 0;
  padding: 16px 18px;
  border-left: 5px solid #fd641f;
  border-radius: 8px;
  background: #f7f7f7;
  color: #111820;
  font-size: 0.93rem;
  line-height: 1.55;
}

.mz-withdrawal__submit,
.mz-withdrawal__print {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid #fd641f;
  border-radius: 10px;
  background: #fd641f;
  color: #111820;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.mz-withdrawal__submit:hover,
.mz-withdrawal__submit:active,
.mz-withdrawal__print:hover,
.mz-withdrawal__print:active {
  border-color: #111820;
  background: #fd641f;
  color: #111820;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.mz-withdrawal__alert,
.mz-withdrawal__receipt {
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid #cfcfcf;
  border-left: 5px solid #fd641f;
  border-radius: 12px;
  background: #f7f7f7;
}

.mz-withdrawal__alert--error {
  font-weight: 650;
}

.mz-withdrawal__alert p + p,
.mz-withdrawal__receipt p + p {
  margin-top: 10px;
}

.mz-withdrawal__dates {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid #cfcfcf;
}

.mz-withdrawal__receipt {
  text-align: left;
}

.mz-withdrawal__status-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  border-radius: 50%;
  background: #fd641f;
  color: #111820;
  font-size: 1.3rem;
  font-weight: 800;
}

.mz-withdrawal__receipt-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.mz-withdrawal__receipt-details > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
}

.mz-withdrawal__receipt-details dt {
  margin: 0 0 3px;
  color: #111820;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mz-withdrawal__receipt-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111820;
  font-weight: 650;
}

.mz-withdrawal__print {
  margin-top: 18px;
  border-color: #111820;
  background: #fff;
}

.mz-withdrawal__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #dedede;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  body#module-maltazonlegal-withdrawal #wrapper > .container {
    width: 100%;
    padding-right: max(15px, env(safe-area-inset-right));
    padding-left: max(15px, env(safe-area-inset-left));
  }

  .mz-withdrawal {
    margin-bottom: 34px;
    border-radius: 14px;
  }

  .mz-withdrawal__hero {
    padding: 30px 21px 28px;
  }

  .mz-withdrawal__hero::after {
    width: 5px;
  }

  .mz-withdrawal__hero h1 {
    font-size: clamp(1.95rem, 9.5vw, 2.6rem);
  }

  .mz-withdrawal__body {
    padding: 26px 19px 34px;
  }

  .mz-withdrawal__step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .mz-withdrawal__step > span {
    width: 38px;
    height: 38px;
  }

  .mz-withdrawal__scope-options,
  .mz-withdrawal__receipt-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .mz-withdrawal__scope-options label {
    min-height: 88px;
    padding: 16px;
  }

  .mz-withdrawal__submit,
  .mz-withdrawal__print {
    width: 100%;
  }

  .mz-withdrawal__alert,
  .mz-withdrawal__receipt {
    padding: 20px;
  }
}

@media print {
  body#module-maltazonlegal-withdrawal #header,
  body#module-maltazonlegal-withdrawal #footer,
  body#module-maltazonlegal-withdrawal .breadcrumb,
  body#module-maltazonlegal-withdrawal #back-top,
  body#module-maltazonlegal-withdrawal #mzsw-widget,
  .mz-withdrawal__legal-links,
  .mz-withdrawal__print {
    display: none !important;
  }

  .mz-withdrawal {
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .mz-withdrawal__hero,
  .mz-withdrawal__body {
    padding-right: 0;
    padding-left: 0;
  }
}
