/* Maltazon UX2 login — presentation only. */

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

body#authentication #wrapper {
  background-color: var(--mz-login-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 #wrapper > .container {
  padding-left: 16px;
  padding-right: 16px;
}

body#authentication #main {
  padding: 20px 0 44px;
}

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

.mz-login-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-login-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-login-ux2__hero h1 {
  margin: 0;
  color: var(--mz-login-text);
  font-size: clamp(1.75rem, 7.2vw, 2rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mz-login-ux2__lead {
  max-width: 470px;
  margin: 12px auto 0;
  color: var(--mz-login-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-login-ux2,
.mz-login-ux2 *,
.mz-login-ux2__hero,
.mz-login-ux2__hero * {
  box-sizing: border-box;
}

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

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

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

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

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

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

.mz-login-ux2__form .form-control {
  width: 100%;
  height: 54px;
  padding: 0 15px 0 46px;
  border: 1px solid #d8dce2;
  border-radius: 13px;
  background: #fff;
  background-repeat: no-repeat;
  background-position: 16px 50%;
  background-size: 20px 20px;
  color: var(--mz-login-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-login-ux2__form .form-control:hover {
  border-color: #b8bec7;
}

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

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

.mz-login-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-login-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-login-ux2__form .input-group-btn {
  position: absolute;
  top: 5px;
  right: 7px;
  z-index: 2;
  display: flex;
  width: auto;
}

body#authentication .mz-login-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;
}

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

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

.mz-login-ux2__form .input-group:focus-within .form-control {
  box-shadow: none;
}

body#authentication .mz-login-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-login-ux2__form [data-action="show-password"]:active {
  background: rgba(255, 121, 0, 0.16);
}

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

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

.mz-login-ux2__form input[name="email"]:-webkit-autofill:focus {
  border-color: var(--mz-login-accent);
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px var(--mz-login-focus);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px var(--mz-login-focus);
}

.mz-login-ux2__form input[name="email"]:autofill:focus {
  border-color: var(--mz-login-accent);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px var(--mz-login-focus);
}

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

.mz-login-ux2__form .forgot-password.form-group.row {
  margin: -6px 0 20px;
  text-align: right;
}

.mz-login-ux2__form .forgot-password a {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 10px;
  color: var(--mz-login-muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.mz-login-ux2__form .forgot-password a:hover {
  color: #a94b00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.mz-login-ux2__form #submit-login {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px 20px;
  border: 1px solid var(--mz-login-accent);
  border-radius: 13px;
  background: var(--mz-login-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-login-ux2__form #submit-login:hover {
  border-color: var(--mz-login-accent-hover);
  background: var(--mz-login-accent-hover);
  color: #111214;
  box-shadow: 0 12px 26px rgba(255, 121, 0, 0.28);
}

.mz-login-ux2__form #submit-login:active {
  transform: translateY(1px);
}

.mz-login-ux2__form #submit-login::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-login-ux2__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 20px;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.mz-login-ux2__social .oneall_social_login_block {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mz-login-ux2__social .oneall_social_login_block .title_block {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: var(--mz-login-text);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: none;
}

.mz-login-ux2__social .oneall_social_login_block .block_content,
.mz-login-ux2__social .oneall_social_login_providers {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mz-login-ux2__social .oneall_social_login_providers {
  min-height: 120px;
}

.mz-login-ux2__social .oneall_social_login_providers iframe {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 120px !important;
  min-height: 120px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.mz-oneall-login__actions[hidden] {
  display: none !important;
}

.mz-login-ux2--social-enhanced .mz-login-ux2__social .oneall_social_login_providers {
  display: none !important;
  min-height: 0;
}

.mz-login-ux2--social-enhanced .mz-oneall-login__actions {
  display: grid;
  width: 100%;
  gap: 12px;
}

.mz-oneall-login__button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #d8dce2;
  border-radius: 13px;
  background: #fff;
  color: var(--mz-login-text);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mz-oneall-login__button img {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.mz-oneall-login__button--facebook {
  border-color: #1877f2;
  background: #1877f2;
  color: #fff;
}

.mz-oneall-login__button--facebook:hover {
  border-color: #1268d3;
  background: #1268d3;
  color: #fff;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.2);
}

.mz-oneall-login__button--google:hover {
  border-color: #b8bec7;
  background: #f8f9fb;
  color: var(--mz-login-text);
  box-shadow: 0 5px 14px rgba(25, 26, 29, 0.08);
}

.mz-oneall-login__button:active {
  transform: translateY(1px);
}

.mz-oneall-login__button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.78;
}

body#authentication .mz-login-ux2__register {
  width: 100%;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.mz-login-ux2__register a {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid #ffe0c2;
  border-radius: 13px;
  background: #fff8f1;
  color: #b95200;
  font-size: 0.9375rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.mz-login-ux2__register a:hover {
  border-color: var(--mz-login-accent);
  background: #fff2e5;
  color: #8f4000;
}

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

.mz-login-ux2 .alert {
  margin: 0 0 22px;
  padding: 13px 14px;
  border: 1px solid var(--mz-login-error-border);
  border-radius: 12px;
  background: var(--mz-login-error-bg);
  color: var(--mz-login-error);
}

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

  .mz-login-ux2__hero {
    margin-bottom: 30px;
  }

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

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

@media (max-width: 374px) {
  .mz-login-ux2__card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mz-login-ux2__lead {
    font-size: 0.9375rem;
  }

  .mz-login-ux2__form [data-action="show-password"] {
    min-width: 58px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

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

  .mz-login-ux2__hero * {
    transition-duration: 0.01ms !important;
  }
}
