/* Alize Jewellery — Auth pages (login / register) */

body.alize-theme .alize-auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 120px);
}

body.alize-theme .alize-auth-wrap .btn {
  width: 100%;
}

body.alize-theme .auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 64px;
  background:
    radial-gradient(circle at 85% 15%, rgba(198, 166, 100, 0.18), transparent 45%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
  color: var(--cream);
}

body.alize-theme .auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(198, 166, 100, 0.5) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(198, 166, 100, 0.4) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(198, 166, 100, 0.35) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 25%, rgba(198, 166, 100, 0.4) 0, transparent 60%);
  pointer-events: none;
}

body.alize-theme .auth-ring {
  position: absolute;
  border: 1px solid rgba(198, 166, 100, 0.25);
  border-radius: 50%;
}

body.alize-theme .auth-ring.r1 {
  width: 460px;
  height: 460px;
  right: -160px;
  top: -140px;
}

body.alize-theme .auth-ring.r2 {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -100px;
  border-color: rgba(198, 166, 100, 0.15);
}

body.alize-theme .auth-visual-inner {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

body.alize-theme .auth-jewel {
  width: 34%;
  margin-bottom: 36px;
}

body.alize-theme .auth-jewel svg {
  width: 100%;
  stroke: var(--gold-light);
  opacity: 0.9;
}

body.alize-theme .auth-visual-inner h2 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

body.alize-theme .auth-visual-inner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

body.alize-theme .auth-visual-inner > p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 239, 228, 0.72);
  font-weight: 300;
  margin-bottom: 44px;
}

body.alize-theme .auth-visual .eyebrow {
  color: var(--gold-light);
}

body.alize-theme .auth-visual .eyebrow::before {
  background: var(--gold-light);
}

body.alize-theme .auth-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.alize-theme .perk {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.alize-theme .perk .ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(198, 166, 100, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.alize-theme .perk .ic svg {
  width: 19px;
  height: 19px;
  stroke: var(--gold-light);
}

body.alize-theme .perk strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

body.alize-theme .perk span {
  font-size: 12.5px;
  color: rgba(244, 239, 228, 0.6);
}

body.alize-theme .auth-quote {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(198, 166, 100, 0.25);
}

body.alize-theme .auth-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--gold-light);
  line-height: 1.5;
  margin-bottom: 10px;
}

body.alize-theme .auth-quote span {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.55);
}

body.alize-theme .auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 40px;
  background: var(--cream);
}

body.alize-theme .auth-form-side.is-register {
  padding: 60px 40px;
}

body.alize-theme .auth-card {
  width: 100%;
  max-width: 420px;
}

body.alize-theme .auth-card.is-register {
  max-width: 440px;
}

body.alize-theme .auth-card .kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

body.alize-theme .auth-card h1 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

body.alize-theme .auth-card > p.sub {
  color: #6b6558;
  font-size: 14.5px;
  margin-bottom: 40px;
}

body.alize-theme .auth-card.is-register > p.sub {
  margin-bottom: 34px;
}

body.alize-theme .auth-card > p.sub a {
  color: var(--gold-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--gold-dark);
}

body.alize-theme .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.alize-theme .field {
  margin-bottom: 24px;
}

body.alize-theme .auth-card.is-register .field {
  margin-bottom: 22px;
}

body.alize-theme .field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 9px;
  font-weight: 500;
}

body.alize-theme .field label .optional {
  text-transform: none;
  color: #a39a89;
  font-weight: 400;
}

body.alize-theme .input-wrap {
  position: relative;
}

body.alize-theme .field input,
body.alize-theme .field select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 4px;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.alize-theme .field input:focus,
body.alize-theme .field select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.18);
}

body.alize-theme .field input.is-invalid,
body.alize-theme .field select.is-invalid {
  border-color: #b5533f;
}

body.alize-theme .field input::placeholder {
  color: #b3ab9c;
}

body.alize-theme .field-hint {
  font-size: 11.5px;
  color: #a39a89;
  margin-top: 7px;
  display: block;
}

body.alize-theme .field-error {
  font-size: 12px;
  color: #b5533f;
  margin-top: 7px;
  display: block;
}

body.alize-theme .phone-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}

body.alize-theme .toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #8a8375;
  padding: 4px;
}

body.alize-theme .toggle-pass svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

body.alize-theme .row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

body.alize-theme .checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #4a463d;
  cursor: pointer;
}

body.alize-theme .checkbox-wrap input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

body.alize-theme .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #4a463d;
  line-height: 1.6;
}

body.alize-theme .checkbox-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-dark);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

body.alize-theme .checkbox-field a {
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

body.alize-theme .link-muted {
  font-size: 13px;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

body.alize-theme .link-muted:hover {
  border-color: var(--gold-dark);
}

body.alize-theme .auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0;
  color: #a39a89;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.alize-theme .auth-card.is-register .auth-divider {
  margin: 30px 0;
}

body.alize-theme .auth-divider::before,
body.alize-theme .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(20, 33, 61, 0.12);
}

body.alize-theme .social-row {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

body.alize-theme .social-row.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

body.alize-theme .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12.5px;
  color: var(--navy);
  text-decoration: none;
}

body.alize-theme .social-btn:hover {
  border-color: var(--gold-dark);
  background: var(--cream-2);
}

body.alize-theme .social-btn svg {
  width: 17px;
  height: 17px;
}

body.alize-theme .form-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 22px;
}

body.alize-theme .form-alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

body.alize-theme .form-alert.is-error {
  background: rgba(181, 83, 63, 0.08);
  border: 1px solid rgba(181, 83, 63, 0.3);
  color: #b5533f;
}

body.alize-theme .form-alert.is-error svg {
  stroke: #b5533f;
}

body.alize-theme .form-alert.is-success {
  background: rgba(111, 143, 94, 0.1);
  border: 1px solid rgba(111, 143, 94, 0.3);
  color: #6f8f5e;
}

body.alize-theme .switch-cta {
  margin-top: 34px;
  text-align: center;
  font-size: 14px;
  color: #6b6558;
}

body.alize-theme .auth-card.is-register .switch-cta {
  margin-top: 30px;
}

body.alize-theme .switch-cta a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 1px;
}

body.alize-theme .pw-meter {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

body.alize-theme .pw-meter span {
  height: 4px;
  flex: 1;
  background: rgba(20, 33, 61, 0.1);
  border-radius: 2px;
  transition: background 0.3s ease;
}

body.alize-theme .pw-meter.weak span:nth-child(1) {
  background: #b5533f;
}

body.alize-theme .pw-meter.medium span:nth-child(1),
body.alize-theme .pw-meter.medium span:nth-child(2) {
  background: var(--gold-dark);
}

body.alize-theme .pw-meter.strong span {
  background: #6f8f5e;
}

body.alize-theme .pw-meter-label {
  font-size: 11px;
  color: #a39a89;
  margin-top: 6px;
  display: block;
}

body.alize-theme .auth-recaptcha {
  margin-bottom: 20px;
}

body.alize-theme .auth-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.alize-theme .auth-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

body.alize-theme .auth-step .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(198, 166, 100, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  flex-shrink: 0;
}

body.alize-theme .auth-step span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 239, 228, 0.72);
  padding-top: 4px;
}

body.alize-theme .form-alert.is-success svg {
  stroke: #6f8f5e;
}

body.alize-theme .auth-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: #6b6558;
  transition: color 0.2s ease;
}

body.alize-theme .auth-back-link:hover {
  color: var(--gold-dark);
}

body.alize-theme .auth-back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

@media (max-width: 980px) {
  body.alize-theme .alize-auth-wrap {
    grid-template-columns: 1fr;
  }

  body.alize-theme .auth-visual {
    padding: 56px 40px 46px;
    order: 1;
  }

  body.alize-theme .auth-perks {
    display: none;
  }

  body.alize-theme .auth-quote {
    margin-top: 30px;
    padding-top: 22px;
  }

  body.alize-theme .auth-form-side {
    order: 2;
    padding: 56px 32px;
  }
}

@media (max-width: 560px) {
  body.alize-theme .field-row {
    grid-template-columns: 1fr;
  }

  body.alize-theme .phone-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.alize-theme .auth-visual {
    padding: 44px 26px 36px;
  }

  body.alize-theme .auth-form-side {
    padding: 44px 22px;
  }

  body.alize-theme .social-row.cols-2 {
    grid-template-columns: 1fr;
  }
}
