.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* ---------- sol vitrin (her temada koyu) */
.auth-aside {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 36px 48px; color: #E8ECF3; background: #080B12;
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% 8%, rgba(125, 104, 240, .32), transparent 62%),
    radial-gradient(540px 400px at 92% 92%, rgba(24, 160, 162, .26), transparent 62%);
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 45% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 45% 45%, #000 20%, transparent 72%);
}
.auth-aside > * { position: relative; z-index: 1; }

.aside-brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -.01em; }
.brand-mark.on-dark { background: linear-gradient(140deg, #F4F6FA, #C8CFDB); color: #0B1220; }

.aside-body { max-width: 480px; }
.aside-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 550;
  color: #C9CFDA; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
.aside-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 3px rgba(61, 214, 140, .18); }
.auth-aside h2 { margin-top: 18px; font-size: 38px; line-height: 1.12; font-weight: 650; letter-spacing: -.035em; }
.auth-aside h2 span { background: linear-gradient(90deg, #B7A9FF, #5FD6D8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-aside p { margin-top: 14px; color: #9AA3B2; font-size: 15px; line-height: 1.6; }

.preview {
  margin-top: 28px; padding: 18px 18px 14px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}
.preview-head { display: flex; align-items: center; gap: 6px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.chip.crypto { color: #C4B9FF; background: rgba(165, 148, 255, .14); }
.chip.stock { color: #7FDEE0; background: rgba(63, 200, 202, .13); }
.preview-note { margin-left: auto; font-size: 12px; color: #7D8797; }
.preview-chart { display: block; width: 100%; height: 120px; margin-top: 12px; }
.preview-chart .line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.2s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.preview-chart .area { opacity: 0; animation: fade 1.2s ease 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.preview-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12px; color: #7D8797; }
.tokens { display: flex; }
.vt {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 8.5px; font-weight: 700; letter-spacing: -.03em; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, #121722);
  box-shadow: 0 0 0 2px #0F141D;
}
.vt + .vt { margin-left: -5px; }

.features { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.features li { display: flex; align-items: center; gap: 12px; color: #C1C8D4; font-size: 14px; }
.features i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .07); color: #E8ECF3; }
.features svg { width: 15px; height: 15px; }
.aside-foot { font-size: 12px; color: #636D7D; }

/* ---------- sağ form */
.auth-main { display: flex; flex-direction: column; padding: 24px 28px; background: var(--bg); min-width: 0; }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-brand { display: none; align-items: center; gap: 10px; font-weight: 650; }
.auth-center { flex: 1; display: grid; place-items: center; padding-block: 32px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 28px; font-weight: 650; letter-spacing: -.03em; }
.lead { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

.alert {
  display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 11px 13px; border-radius: 11px;
  background: var(--neg-soft); color: var(--neg); font-size: 13.5px; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--neg) 22%, transparent);
}
.alert svg { width: 17px; height: 17px; flex: none; }

.field { display: block; margin-top: 18px; }
.alert + .field { margin-top: 16px; }
.lead + .alert + .field, .lead + .field { margin-top: 26px; }
.label { display: block; font-size: 13px; font-weight: 550; color: var(--ink-2); margin-bottom: 7px; }
.input-wrap { position: relative; display: block; }
.input-icon { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--faint); pointer-events: none; transition: color .15s; }
.input-wrap input {
  width: 100%; height: 46px; padding: 0 44px 0 41px;
  font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.input-wrap input::placeholder { color: var(--faint); }
.input-wrap input:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line-strong)); }
.input-wrap input:focus { outline: none; border-color: var(--info); box-shadow: 0 0 0 4px var(--focus); }
.input-wrap:focus-within .input-icon { color: var(--info); }
.eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--faint);
  display: grid; place-items: center; cursor: pointer;
}
.eye:hover, .eye.on { color: var(--ink-2); background: var(--line-2); }
.eye svg { width: 17px; height: 17px; }
.caps { display: block; margin-top: 6px; font-size: 12px; color: var(--warn); font-weight: 500; }

.remember { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; user-select: none; }
.remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); cursor: pointer; }

.btn-primary {
  margin-top: 22px; width: 100%; height: 46px; border: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--primary-fg); background: var(--primary); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(11, 18, 32, .55);
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus); }
.btn-primary:disabled { cursor: progress; opacity: .8; }
.btn-spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--primary-fg) 30%, transparent); border-top-color: var(--primary-fg); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; font-size: 12px; color: var(--faint); }
.auth-note svg { width: 13px; height: 13px; }

.shake { animation: shake .4s ease; }
@keyframes shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@media (max-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .mobile-brand { display: flex; }
}
@media (max-width: 480px) {
  .auth-main { padding: 18px 16px; }
  .auth-card h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-chart .line { animation: none; stroke-dashoffset: 0; }
  .preview-chart .area { animation: none; opacity: 1; }
  .shake { animation: none; }
}
