/**
 * WISECP · Web Hosting Billing and Digital Services Platform
 *
 * Copyright (c) WISECP LLC — All rights reserved.
 * Unlicensed copying, distribution or use is prohibited.
 *
 * Terms of service: https://wisecp.com/terms-of-service
 */
.auth-split {
  display: flex;
  flex: 1 1 auto;
  min-block-size: 100svh;
}
.auth-stage {
  position: sticky;
  inset-block-start: 0;
  align-self: flex-start;
  flex: 1 1 55%;
  block-size: 100svh;
  flex-direction: column;
  background-color: var(--mz-chrome-bg);
}
.auth-split.is-form-heavy .auth-stage {
  flex-basis: 48%;
}
.auth-split.is-form-heavy .auth-form {
  flex-basis: 52%;
}
.auth-stage-video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.auth-stage-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--mz-chrome-bg-deep) 82%, transparent),
      color-mix(in srgb, var(--mz-chrome-bg-deep) 34%, transparent) 32%,
      color-mix(in srgb, var(--mz-chrome-bg-deep) 55%, transparent),
      color-mix(in srgb, var(--mz-chrome-bg-deep) 96%, transparent)
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--mz-chrome-bg) 66%, transparent),
      color-mix(in srgb, var(--mz-chrome-bg) 66%, transparent)
    );
}
.auth-stage-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  inline-size: 100%;
  block-size: 100%;
  padding: clamp(2rem, 3.4vw, 3.25rem);
  color: var(--mz-chrome-color);
}
.auth-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.auth-stage-copy {
  max-inline-size: 30rem;
}
.auth-stage-title {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-block-end: 0.9rem;
  color: var(--mz-chrome-color);
}
.auth-stage-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--mz-chrome-muted);
  margin-block-end: 0;
  max-inline-size: 27rem;
}
.auth-stage-foot {
  margin-block-start: 1.85rem;
  margin-block-end: 0;
  font-size: 0.9rem;
  color: var(--mz-chrome-muted);
}
.auth-stage-foot a {
  color: var(--mz-chrome-color);
  font-weight: 600;
  text-decoration: none;
}
.auth-stage-foot a:hover {
  color: var(--mz-chrome-color);
  text-decoration: underline;
}
.auth-form {
  position: relative;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  min-block-size: 100svh;
  background-color: var(--mz-surface-bg);
  padding-inline: clamp(1.5rem, 4vw, 4rem);
  padding-block: 2rem 2.5rem;
}
@media (min-width: 992px) {
  .auth-form {
    box-shadow: -1.25rem 0 3rem -1.25rem #00000047;
  }
  [dir="rtl"] .auth-form {
    box-shadow: 1.25rem 0 3rem -1.25rem #00000047;
  }
}
.auth-form-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-block-end: clamp(1.5rem, 4svh, 2.75rem);
}
.auth-form-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: auto;
}
.auth-form-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  inline-size: 100%;
}
.auth-form-inner {
  inline-size: 100%;
  max-inline-size: 25rem;
  margin-inline: auto;
}
.auth-form-inner-wide {
  max-inline-size: 34rem;
}
.auth-locale .locale-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}
.auth-locale .locale-toggle[aria-expanded="true"] .locale-caret {
  transform: rotate(180deg);
}
.auth-head {
  margin-block-end: 1.5rem;
}
.auth-title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-block-end: 0.4rem;
}
.auth-sub {
  color: var(--mz-muted-color);
  margin-block-end: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .auth-stage-copy > * {
    animation: authStageRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .auth-stage-title {
    animation-delay: 0.05s;
  }
  .auth-stage-text {
    animation-delay: 0.13s;
  }
  .auth-stage-foot {
    animation-delay: 0.21s;
  }
}
@keyframes authStageRise {
  0% {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.auth-card {
  max-inline-size: 26.5rem;
}
.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  margin-block-end: 1rem;
  border-radius: 50%;
  background-color: var(--mz-primary-subtle);
  color: var(--mz-primary-text);
  font-size: 1.5rem;
}
.auth-icon-success {
  background-color: var(--bs-success-bg-subtle);
  color: var(--bs-success-text-emphasis);
}
.auth-icon-danger {
  background-color: var(--bs-danger-bg-subtle);
  color: var(--bs-danger-text-emphasis);
}
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--mz-radius);
  font-size: 0.85rem;
  line-height: 1.45;
}
.auth-alert > i {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.auth-alert-danger {
  color: var(--bs-danger-text-emphasis);
  background-color: color-mix(in srgb, var(--bs-danger-bg-subtle) 55%, var(--mz-surface-bg));
  border-color: color-mix(in srgb, var(--bs-danger-border-subtle) 65%, var(--mz-surface-bg));
}
.auth-alert-warning {
  color: var(--bs-warning-text-emphasis);
  background-color: color-mix(in srgb, var(--bs-warning-bg-subtle) 55%, var(--mz-surface-bg));
  border-color: color-mix(in srgb, var(--bs-warning-border-subtle) 65%, var(--mz-surface-bg));
}
.otp-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  max-inline-size: 21rem;
  margin-inline: auto;
}
.otp-input.form-control {
  flex: 1 1 0;
  min-inline-size: 0;
  max-inline-size: 3.25rem;
  block-size: 3.5rem;
  padding: 0;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.otp-input.form-control.is-valid,
.otp-input.form-control.is-invalid {
  background-image: none;
}
[data-register-form] {
  counter-reset: reg-step;
}
.reg-step:has(.reg-step-n) {
  counter-increment: reg-step;
}
.reg-step {
  position: relative;
  padding-inline-start: 3.1rem;
  padding-block-end: 2rem;
}
.reg-step:last-child {
  padding-block-end: 0;
}
.reg-step:before {
  content: "";
  position: absolute;
  inset-inline-start: calc(1.05rem - 1px);
  inset-block-start: 2.4rem;
  inset-block-end: 0.2rem;
  inline-size: 2px;
  border-radius: 2px;
  background-color: var(--mz-border-color);
}
.reg-step:last-child:before {
  display: none;
}
.reg-step-num {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.1rem;
  block-size: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--mz-border-color);
  background-color: var(--mz-surface-bg);
  color: var(--mz-muted-color);
  font-size: 0.8rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.reg-step-n:before {
  content: counter(reg-step);
}
.reg-step:focus-within .reg-step-num {
  background-color: var(--mz-primary);
  border-color: var(--mz-primary);
  color: var(--mz-on-primary);
}
.reg-step.is-done .reg-step-num {
  background-color: var(--mz-secondary-subtle);
  border-color: color-mix(in srgb, var(--mz-secondary) 30%, var(--mz-border-color));
  color: var(--mz-secondary-text);
}
.reg-step-done-icon {
  display: none;
  font-size: 0.95rem;
}
.reg-step.is-done .reg-step-n {
  display: none;
}
.reg-step.is-done .reg-step-done-icon {
  display: inline-flex;
}
.reg-step-head {
  display: flex;
  align-items: center;
  min-block-size: 2.1rem;
  margin-block-end: 1rem;
}
.iti {
  width: 100%;
  --iti-border-color: var(--mz-border-color);
  --iti-dropdown-bg: var(--mz-surface-bg);
  --iti-hover-color: var(--bs-tertiary-bg);
  --iti-dialcode-color: var(--mz-muted-color);
  --iti-arrow-color: var(--mz-muted-color);
  --iti-search-icon-color: var(--mz-muted-color);
}
.iti__selected-country-primary {
  border-start-start-radius: calc(var(--mz-radius) - 1px);
  border-end-start-radius: calc(var(--mz-radius) - 1px);
}
.iti__dropdown-content {
  border: 1px solid var(--mz-border-color);
  border-radius: var(--mz-radius);
  box-shadow: var(--mz-shadow);
  overflow: hidden;
  margin-block-start: 0.25rem;
  font-size: 0.9rem;
}
.iti__search-input-wrapper {
  padding: 0.3rem 0.65rem;
}
.iti__search-input {
  border: 0;
  background-color: transparent;
  color: var(--mz-body-color);
  font-size: 0.9rem;
  padding-block: 0.25rem;
  padding-inline: 1.5rem 0.5rem;
}
.iti__search-icon {
  left: 13px;
}
.iti__search-input:focus {
  outline: none;
  box-shadow: none;
}
.iti__search-icon-svg {
  display: none;
}
.iti__search-icon:before {
  font-family: bootstrap-icons;
  content: "";
  font-size: 0.875rem;
  line-height: 1;
  color: var(--mz-muted-color);
}
.iti__country-list {
  padding-block: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--mz-muted-color) 45%, transparent) transparent;
}
.iti__country {
  padding: 0.25rem 0.75rem;
}
[data-social-providers] .btn {
  font-size: 0.92rem;
  padding-block: 0.4rem;
}
[data-social-providers] .btn img {
  inline-size: 1rem;
  block-size: 1rem;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--mz-muted-color);
  font-size: 0.85rem;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  flex: 1;
  border-block-start: 1px solid var(--mz-border-color);
}
.contract-scroll {
  max-height: 160px;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.contract-scroll,
.contract-scroll * {
  color: var(--mz-muted-color) !important;
  font-family: inherit !important;
  background: transparent !important;
  text-align: start !important;
}
.contract-scroll strong,
.contract-scroll b {
  font-weight: 600 !important;
}
.contract-scroll p {
  margin-block: 0 0.5rem;
}
.contract-scroll p:last-child {
  margin-block-end: 0;
}
.nl-address-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--mz-border-color, #e5e7eb);
  border-radius: calc(var(--mz-radius, 0.5rem) * 0.75);
  background: color-mix(in srgb, var(--mz-border-color, #e5e7eb) 18%, var(--mz-surface-bg, #fff));
}
.nl-address-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mz-muted-color, #6b7280);
}
.nl-address-value {
  font-weight: 600;
  word-break: break-all;
}
