.artizana-auth {
  padding-block: clamp(112px, 10vw, 146px) 44px;
  background: var(--premium-cream);
}
.artizana-auth .auth-shell { width: 92%; max-width: 1134px; margin-inline: auto; }
.artizana-auth .auth-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-block-end: 18px;
  color: var(--premium-muted);
  font-size: 13px;
}
.artizana-auth .auth-crumb a { color: var(--premium-wine); }
.artizana-auth .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  min-height: 610px;
  border: 1px solid var(--premium-line);
  background: #fff;
  box-shadow: 0 12px 50px #53392909;
}
.artizana-auth .auth-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 56px);
  background: radial-gradient(ellipse at 18% 25%, var(--brand-glow), transparent 55%), linear-gradient(150deg, var(--brand-gradient-light), var(--brand-gradient-dark) 85%);
  color: #fff;
}
.artizana-auth .auth-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--brand-geometric-pattern);
  mask-image: linear-gradient(#fff, #fff5);
}
.artizana-auth .auth-crest {
  position: absolute;
  inset-block-start: 38%;
  inset-inline-start: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: min(68%, 330px);
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--brand-ornament) 33.33%, transparent);
  border-radius: 50%;
  outline: 1px dashed color-mix(in srgb, var(--brand-ornament) 27.06%, transparent);
  outline-offset: -12px;
  box-shadow: inset 0 0 0 25px color-mix(in srgb, var(--brand-ornament) 2.75%, transparent), inset 0 0 0 26px color-mix(in srgb, var(--brand-ornament) 26.27%, transparent);
  background: radial-gradient(#db9e7540, #a75b4c20);
}
.artizana-auth .auth-petal {
  position: absolute;
  inset-block-start: 12%;
  inset-inline-start: 42%;
  width: 16%;
  height: 26%;
  border: 1px solid color-mix(in srgb, var(--brand-ornament) 43.92%, transparent);
  border-radius: 90% 10% 90% 10%;
  transform-origin: 50% 146%;
  rotate: var(--auth-angle);
  background: linear-gradient(135deg, transparent 49%, color-mix(in srgb, var(--brand-ornament) 41.96%, transparent) 50%, transparent 51%), color-mix(in srgb, var(--brand-ornament) 4.31%, transparent);
}
.artizana-auth .auth-crest-mark {
  position: relative;
  width: min(67.2px, 35.2%);
  aspect-ratio: 64 / 66;
  overflow: hidden;
}
.artizana-auth .auth-crest-mark img {
  /* Show the original emblem at x=6, y=0 in the 200 × 88 wordmark. */
  position: absolute;
  top: 0;
  left: calc(-100% * 6 / 64);
  width: calc(100% * 200 / 64);
  max-width: none;
  height: auto;
  opacity: .74;
  filter: brightness(0) invert(83%) sepia(20%) saturate(675%);
}
.artizana-auth[dir="rtl"] .auth-crest { translate: 50% -50%; }
.artizana-auth .auth-caption { color: #f6d5b0; font-size: 11px; letter-spacing: .08em; }
.artizana-auth .auth-brand h2 {
  max-width: 450px;
  color: #fff;
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  margin-block: 0 13px;
}
.artizana-auth .auth-brand p { max-width: 350px; color: #f6ded8; margin: 0; }
.artizana-auth .auth-brand-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-block-start: 17px;
  margin-block-start: 24px;
  border-block-start: 1px solid #ffffff30;
  color: #f6ded8;
  font-size: 12px;
}
.artizana-auth .auth-panel { display: flex; align-items: center; padding: clamp(26px, 4.1vw, 60px); min-width: 0; }
.artizana-auth .auth-content { width: min(100%, 430px); margin-inline: auto; animation: artizana-auth-enter .23s ease-out; }
@keyframes artizana-auth-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.artizana-auth .auth-eyebrow { margin-block: 0 8px; color: var(--premium-wine); font-size: 12px; font-weight: 700; }
.artizana-auth h1 { color: var(--premium-deep); margin-block: 0 9px; font-size: clamp(29px, 3vw, 40px); font-weight: 700; line-height: 1.25; }
.artizana-auth .auth-subtitle { color: var(--premium-muted); font-size: 15px; margin-block: 0 23px; }
.artizana-auth .auth-tabs { display: flex; margin-block-end: 25px; border-block-end: 1px solid var(--premium-line); }
.artizana-auth .auth-tabs a { flex: 1; text-align: center; padding: 11px 5px; color: var(--premium-muted); border-block-end: 2px solid transparent; font-weight: 700; }
.artizana-auth .auth-tabs a[aria-current="page"] { color: var(--premium-deep); border-color: var(--premium-wine); }
.artizana-auth .auth-tabs a:hover { color: var(--premium-wine); background: var(--premium-cream); }
.artizana-auth .auth-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.artizana-auth .auth-field { display: block; min-width: 0; margin-block-end: 15px; }
.artizana-auth .auth-field label { display: block; margin-block-end: 6px; color: var(--premium-ink); font-size: 14px; font-weight: 700; }
.artizana-auth .auth-input { display: flex; align-items: center; border: 1px solid #d9cfca; border-radius: 5px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.artizana-auth .auth-input:focus-within { border-color: var(--premium-wine); box-shadow: 0 0 0 3px rgba(var(--brand-wine-rgb), .07059); }
.artizana-auth .auth-input > i { margin-inline-start: 13px; color: #948686; }
.artizana-auth .auth-input input { flex: 1; width: 100%; min-width: 0; min-height: 49px; border: 0; border-radius: 5px; padding: 12px; font: inherit; color: var(--premium-ink); background: transparent; text-align: start; }
.artizana-auth .auth-input input::placeholder { color: #786b6c; opacity: 1; }
.artizana-auth .auth-input input:focus { outline: none; }
.artizana-auth .auth-input:has([aria-invalid="true"]) { border-color: var(--premium-error); }
.artizana-auth .auth-eye { width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 5px; background: transparent; color: var(--premium-muted); }
.artizana-auth .auth-eye:hover { background: #f5efeb; color: var(--premium-deep); }
.artizana-auth .auth-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-block: -3px 18px; font-size: 13px; }
.artizana-auth .auth-link-row { margin-block: 16px 0; text-align: center; font-size: 13px; }
.artizana-auth .auth-help { display: flex; gap: 7px; align-items: center; color: var(--premium-muted); margin-block: -4px 15px; font-size: 12px; }
.artizana-auth .auth-help.is-ready { color: var(--premium-green); }
.artizana-auth .auth-trust { display: flex; gap: 9px; align-items: center; margin-block-start: 24px; padding-block-start: 15px; border-block-start: 1px solid var(--premium-line); color: var(--premium-muted); font-size: 12px; }
.artizana-auth .auth-trust i { color: var(--premium-wine); }
.artizana-auth .auth-back { display: inline-flex; align-items: center; gap: 8px; margin-block-end: 21px; font-size: 13px; }
.artizana-auth .auth-status { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-block-end: 22px; color: var(--premium-deep); background: #f3eae7; font-size: 28px; }
.artizana-auth .auth-status.is-success { color: var(--premium-green); background: #eff5ef; }
.artizana-auth .auth-spinner { width: 17px; height: 17px; border: 2px solid #ffffff55; border-top-color: #fff; border-radius: 50%; animation: artizana-auth-spin .7s linear infinite; }
@keyframes artizana-auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 850px) {
  .artizana-auth .auth-layout { grid-template-columns: minmax(0,.83fr) minmax(0,1fr); }
  .artizana-auth .auth-brand { padding: 27px; }
  .artizana-auth .auth-panel { padding: 30px; }
  .artizana-auth .auth-brand h2 { font-size: 31px; }
}
@media (max-width: 620px) {
  .artizana-auth { padding-block: 105px 28px; }
  .artizana-auth .auth-layout { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .artizana-auth .auth-brand { min-height: 170px; padding: 19px 22px; gap: 8px; }
  .artizana-auth .auth-brand h2 { max-width: 290px; margin-block-end: 4px; font-size: 24px; }
  .artizana-auth .auth-brand p { max-width: 275px; font-size: 12px; }
  .artizana-auth .auth-brand-foot, .artizana-auth .auth-pair .auth-input > i { display: none; }
  .artizana-auth .auth-crest, .artizana-auth[dir="rtl"] .auth-crest { inset-block-start: 8px; inset-inline: auto -12px; translate: none; width: 140px; opacity: .55; }
  .artizana-auth .auth-panel { padding: 25px 20px 28px; }
  .artizana-auth .auth-tabs, .artizana-auth .auth-subtitle { margin-block-end: 19px; }
  .artizana-auth .auth-help.is-ready { color: var(--premium-green); }
.artizana-auth .auth-trust { margin-block-start: 19px; }
  .artizana-auth .auth-pair { gap: 9px; }
  .artizana-auth .auth-input input { font-size: 16px; padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .artizana-auth .auth-content, .artizana-auth .auth-spinner { animation: none; }
  .artizana-auth .auth-input { transition: none; }
}
