/* ============================================================
   V1 — Auth (login / forgot password) közös stílusok
   Character.hu új irány: világos háttér, Supreme címek, Inter UI
   ============================================================ */

.au1 {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1f2937;
  background: #f4f6f9;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.au1 h1, .au1 h2, .au1 h3 {
  font-family: 'Supreme', 'Inter', sans-serif;
  letter-spacing: -0.012em;
}

/* ---------- Minimal topbar (kijelentkezett) ---------- */
.au1-topbar {
  height: 68px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: relative;
  z-index: 5;
}
.au1-topbar__logo { height: 28px; }
.au1-topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.au1-topbar__nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.au1-topbar__nav a:hover { color: #0f172a; }

.au1-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid #0f172a;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.au1-topbar__cta:hover { background: #1f2937; border-color: #1f2937; color: #ffffff !important; }

/* ---------- Body wrapper (centered card + left-side art) ---------- */
.au1-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
}

.au1-art {
  position: relative;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #1e3a8a 100%);
  color: white;
  padding: 64px 56px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Lágy, elmosódott szín„blobok” a háttérben */
.au1-art::before,
.au1-art::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.au1-art::before {
  width: 600px; height: 600px;
  top: -120px; right: -160px;
  background: radial-gradient(circle, rgba(165,243,252,0.85) 0%, rgba(96,165,250,0.50) 50%, transparent 100%);
  animation: au1-blob-drift-a 11s ease-in-out infinite alternate;
  will-change: transform, opacity;
  filter: blur(60px);  /* a parent-en lévő 80px-et felülírjuk, hogy láthatóbb legyen a mozgás éle */
}
.au1-art::after {
  width: 540px; height: 540px;
  bottom: -100px; left: -120px;
  /* Cián → világoskék (a panel kék gradiense családjából), lila kihagyva */
  background: radial-gradient(circle, rgba(125,211,252,0.75) 0%, rgba(59,130,246,0.40) 50%, transparent 100%);
  animation: au1-blob-drift-b 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
  filter: blur(60px);
}
.au1-art > * { position: relative; z-index: 2; }

/* + harmadik blob középen — egy belső "hozzáadott" elem nem kell, mert pseudo csak 2 van.
   Megoldás: extra wrappert nem rakok, viszont a body::before-t használhatnánk; egyszerűbb:
   a meglévő két blob is elég nagyot lép és gyorsan, ha a paramétereket feltekerjük. */

/* Sokkal látványosabb mozgás (~280-300px range) + nagy scale-amplitúdó + opacity flash. */
@keyframes au1-blob-drift-a {
  0%   { transform: translate(0, 0)            scale(1);    opacity: 0.45; }
  25%  { transform: translate(-160px, 80px)    scale(1.25); opacity: 0.85; }
  50%  { transform: translate(-280px, 220px)   scale(1.35); opacity: 1.00; }
  75%  { transform: translate(-100px, 280px)   scale(1.10); opacity: 0.85; }
  100% { transform: translate(140px, 140px)    scale(0.80); opacity: 0.50; }
}
@keyframes au1-blob-drift-b {
  0%   { transform: translate(0, 0)            scale(1);    opacity: 0.40; }
  25%  { transform: translate(120px, -80px)    scale(1.20); opacity: 0.80; }
  50%  { transform: translate(260px, -200px)   scale(1.30); opacity: 1.00; }
  75%  { transform: translate(80px, -260px)    scale(1.15); opacity: 0.85; }
  100% { transform: translate(-160px, -80px)   scale(0.85); opacity: 0.50; }
}

/* Reduced-motion userek: a felhasználó beállítása felülír, statikus marad. */
@media (prefers-reduced-motion: reduce) {
  .au1-art::before, .au1-art::after { animation: none; }
}

.au1-art__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px;
  border-radius: 999px;
  align-self: flex-start;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.au1-art h2 {
  font-family: 'Supreme', 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 24px 0 14px;
  color: white;
}
.au1-art p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin: 0;
}

.au1-art__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
  max-width: 460px;
}
.au1-art__stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.au1-art__stat .num {
  font-family: 'Supreme', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
  color: white;
  line-height: 1.1;
}
.au1-art__stat .lbl {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
  line-height: 1.35;
}

/* Feature list a régi idézet helyett */
.au1-art__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin-top: 32px; /* explicit távolság a stat-kártyáktól, ne csússzanak egymásra */
}
.au1-art__feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.au1-art__feat-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.20);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
}
.au1-art__feat-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.au1-art__feat-text b {
  display: block;
  font-weight: 600;
  color: white;
  font-size: 14.5px;
  margin-bottom: 1px;
}

/* ---------- Card column ---------- */
.au1-cardwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.au1-card {
  width: 100%;
  max-width: 440px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  padding: 40px;
}

.au1-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.au1-card h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
}
.au1-card__sub {
  margin: 6px 0 0;
  text-align: center;
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.5;
}

.au1-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.au1-field { display: flex; flex-direction: column; gap: 6px; }
.au1-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.au1-label .help {
  font-size: 12.5px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.au1-label .help:hover { text-decoration: underline; }

.au1-input {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  transition: border 0.15s, box-shadow 0.15s, background 0.15s;
}
.au1-input:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}
.au1-input__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  color: #9ca3af;
  flex-shrink: 0;
}
.au1-input:focus-within .au1-input__ic { color: #2563eb; }
.au1-input input {
  flex: 1;
  height: 48px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  color: #1f2937;
  outline: none;
  padding-right: 14px;
  min-width: 0;
}
.au1-input input::placeholder { color: #9ca3af; }
.au1-input__action {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0 14px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: inherit;
}
.au1-input__action:hover { color: #2563eb; }

/* Checkbox row */
.au1-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  user-select: none;
}
.au1-check input {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s;
}
.au1-check input:checked {
  background: #2563eb;
  border-color: #2563eb;
}
.au1-check input:checked::after {
  content: '';
  width: 5px; height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.au1-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

/* Primary CTA */
.au1-cta {
  width: 100%;
  height: 50px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s, transform 0.1s;
}
.au1-cta:hover { background: #1d4ed8; }
.au1-cta:active { transform: translateY(1px); }

/* Forgot password link a form alatt — k\u00fcl\u00f6n sor, central\u00edzva */
.au1-forgot-row {
  text-align: center;
  margin-top: 14px;
}
.au1-forgot-row a {
  font-size: 13.5px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.au1-forgot-row a:hover { text-decoration: underline; }

/* Divider with text */
.au1-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 6px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.au1-or::before, .au1-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* SSO buttons */
.au1-sso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.au1-sso button {
  height: 46px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}
.au1-sso button:hover { background: #f9fafb; border-color: #9ca3af; }

/* Bottom link */
.au1-bottom {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
.au1-bottom a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.au1-bottom a:hover { text-decoration: underline; }

/* Inline back link inside forgot password */
.au1-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  margin-top: 18px;
  justify-content: center;
  width: 100%;
}
.au1-back:hover { text-decoration: underline; }

/* Success state for forgot */
.au1-sent {
  text-align: center;
  padding: 12px 0 4px;
}
.au1-sent__email {
  display: inline-block;
  padding: 8px 14px;
  background: #ecfdf5;
  color: #047857;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin: 8px 0 18px;
  font-variant-numeric: tabular-nums;
}
.au1-sent__hint {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.55;
}
.au1-sent__hint b { color: #1f2937; font-weight: 600; }

/* ---------- Footer ---------- */
.au1-foot {
  border-top: 1px solid #e5e7eb;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  background: white;
}
.au1-foot a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.au1-foot a:hover { color: #1f2937; }
.au1-foot__links { display: inline-flex; align-items: center; gap: 22px; }

/* SVG ikonok (x-v1d-icon → <svg>) konzisztens viselkedése az au1 layoutban */
.au1 svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.au1-input__ic svg,
.au1-art__feat-ic svg,
.au1-card__icon svg { display: block; }
