/* app.linq.so giriş ve kayıt ekranları için sade kimlik doğrulama düzeni. */
:root {
  --au-bg: #ffffff;
  --au-ink: #10202A;
  --au-muted: #5E6670;
  --au-line: #d9d6de;
  --au-focus: #7A2E99;
  --au-btn: #10202A;
  --au-btn-ink: #ffffff;
  --au-card: #ffffff;
  --au-soft: #F6EEFA;
  --au-danger: #B3261E;
  --au-danger-bg: #FDEEEC;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --au-bg: #111111;
    --au-ink: #f3f1f5;
    --au-muted: #a9b1b8;
    --au-line: #333333;
    --au-focus: #D88EF2;
    --au-btn: #f3f1f5;
    --au-btn-ink: #10202A;
    --au-card: #111111;
    --au-soft: #1c1c1c;
    --au-danger: #ffb4ab;
    --au-danger-bg: #2e1512;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body.auth { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; background: var(--au-bg); color: var(--au-ink); font: 400 15px/1.5 'DM Sans', system-ui, sans-serif; }
.auth-top { padding: 22px 28px; }
.auth-logo { display: inline-flex; color: var(--au-ink); }
.auth-logo-svg { display: block; height: 26px; width: auto; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 16px 20px 40px; }
.auth-card { width: min(100%, 360px); }
.auth-card h1 { margin: 0 0 10px; font: 700 30px/1.2 'Manrope', sans-serif; letter-spacing: -.035em; text-align: center; }
.auth-sub { margin: 0 0 24px; color: var(--au-muted); text-align: center; }
.auth-field { position: relative; display: block; margin: 0 0 14px; }
.auth-field > span { position: absolute; top: -9px; left: 16px; padding: 0 6px; background: var(--au-card); color: var(--au-muted); font-size: 12px; }
.auth-field input { width: 100%; height: 54px; padding: 0 52px 0 20px; border: 1px solid var(--au-line); border-radius: 999px; background: transparent; color: var(--au-ink); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.auth-field input:focus { border-color: var(--au-focus); box-shadow: 0 0 0 1px var(--au-focus); }
.auth-field:focus-within > span { color: var(--au-focus); }
.auth-field--static { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 54px; padding: 0 20px; border: 1px solid var(--au-line); border-radius: 999px; }
.auth-field--static strong { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.auth-eye { position: absolute; top: 50%; right: 14px; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--au-muted); cursor: pointer; transform: translateY(-50%); }
.auth-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-eye[aria-pressed="true"] { color: var(--au-ink); }
.auth-link { padding: 0; border: 0; background: none; color: var(--au-focus); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-forgot { display: inline-block; margin: 0 0 20px 14px; font-size: 14px; }
.auth-back { display: block; margin: 16px auto 0; }
.auth-btn { display: flex; width: 100%; height: 52px; align-items: center; justify-content: center; margin-top: 6px; border: 0; border-radius: 999px; background: var(--au-btn); color: var(--au-btn-ink); font: 600 16px 'DM Sans', sans-serif; cursor: pointer; transition: opacity .15s; }
.auth-btn:hover { opacity: .88; }
.auth-btn:disabled { opacity: .55; cursor: progress; }
.auth-choices { display: grid; gap: 10px; }
.auth-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 10px 20px; border: 1px solid var(--au-line); border-radius: 16px; background: transparent; color: var(--au-ink); font: inherit; text-align: left; cursor: pointer; }
.auth-choice:hover { background: var(--au-soft); }
.auth-choice small { display: block; color: var(--au-muted); font-size: 13px; }
.auth-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--au-danger-bg); color: var(--au-danger); font-size: 14px; text-align: center; }
.auth-switch { margin: 22px 0 0; text-align: center; }
.auth-switch a { color: var(--au-focus); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-hint { margin: 28px 0 0; color: var(--au-muted); font-size: 12.5px; line-height: 1.55; text-align: center; }
.auth-hint strong { font-weight: 600; color: var(--au-ink); }
.auth-foot { display: flex; justify-content: center; gap: 12px; padding: 0 20px 26px; font-size: 13px; }
.auth-foot a { color: var(--au-ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-foot span { color: var(--au-line); }
@media (max-width: 480px) { .auth-top { padding: 18px 20px; } .auth-card h1 { font-size: 27px; } }
.field-error { display: block; margin: 6px 0 0 16px; color: var(--au-danger); font-size: 13px; line-height: 1.4; }
.auth-field.has-error input { border-color: var(--au-danger); box-shadow: 0 0 0 1px var(--au-danger); }
