/* yigitfy — giriş / kayıt (panel tasarım dili: açık gri zemin, beyaz kart, lacivert) */

:root {
  --a-bg: #EEF0F4;
  --a-panel: #FFFFFF;
  --a-line: #E8EAEE;
  --a-text: #141A2E;
  --a-muted: #6E7686;
  --a-navy: #101C3F;
  --a-blue: #1E4FD6;
  --a-blue2: #4D8DFF;
  --a-soft: #EAF0FF;
  --a-shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px rgba(16,24,40,.08);
}

body.auth-page { background: var(--a-bg); color: var(--a-text); min-height: 100vh; }

.auth-sahne { min-height: 100vh; display: flex; flex-direction: column; position: relative;
  overflow: hidden; }
/* panel hero kartındaki ışık hissi: köşelerde yumuşak mavi parlamalar */
.auth-parlak { position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none; }
.auth-parlak.p1 { background: radial-gradient(circle, rgba(77,141,255,.35), transparent 65%);
  top: -220px; right: -140px; }
.auth-parlak.p2 { background: radial-gradient(circle, rgba(16,28,63,.18), transparent 65%);
  bottom: -260px; left: -160px; }

/* ---------------- üst şerit ---------------- */
.auth-ust { display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; position: relative; z-index: 2; }
.auth-ust .lbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.auth-ust .brand-icon { width: 34px; height: 34px; }
.auth-marka { font-family: "Poppins", Inter, sans-serif; font-weight: 800; font-size: 24px;
  letter-spacing: -.5px; color: var(--a-navy); }
.auth-marka .am-y { background: linear-gradient(135deg, var(--a-blue), var(--a-blue2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px;
  font-weight: 600; color: var(--a-muted); text-decoration: none; padding: 8px 14px;
  border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-panel); }
.auth-back:hover { color: var(--a-blue); border-color: #C9D3E6; }

/* ---------------- orta: kart ---------------- */
.auth-orta { flex: 1; display: grid; place-items: center; padding: 12px 20px 40px;
  position: relative; z-index: 2; }
.auth-kart { width: min(480px, 100%); background: var(--a-panel);
  border: 1px solid var(--a-line); border-radius: 20px; box-shadow: var(--a-shadow);
  padding: 26px 26px 22px; }
.auth-dip { text-align: center; font-size: 12px; color: var(--a-muted); margin: 16px 0 0; }

/* sekmeler: paneldeki çip dili */
.auth-head { margin-bottom: 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--a-bg);
  border-radius: 12px; padding: 4px; gap: 4px; }
.tab { border: 0; background: transparent; padding: 10px 0; border-radius: 9px;
  cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: var(--a-muted); }
.tab.active { background: var(--a-navy); color: #fff; box-shadow: 0 4px 12px rgba(16,28,63,.18); }

/* ---------------- form ---------------- */
.auth-form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #35405C; }
.fld input, .fld select {
  font: inherit; font-weight: 500; padding: 11px 13px; border: 1px solid var(--a-line);
  border-radius: 11px; background: var(--a-panel); color: var(--a-text); width: 100%;
}
.fld input::placeholder { color: #A9B1C4; font-weight: 400; }
.fld input:focus, .fld select:focus {
  outline: 2px solid rgba(30,79,214,.16); border-color: var(--a-blue);
}
.fld input.bad, .fld select.bad { border-color: #D6455B; outline-color: rgba(214,69,91,.15); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pw-wrap { position: relative; display: block; }
.pw-eye { position: absolute; right: 5px; top: 50%; translate: 0 -50%; border: 0;
  background: none; cursor: pointer; opacity: .5; padding: 6px 8px; }
.pw-eye:hover { opacity: .9; }
.pw-eye .ik-sm { width: 17px; height: 17px; color: var(--a-muted); }
.pw-meter { height: 6px; border-radius: 999px; background: var(--a-bg); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 999px;
  transition: width .3s, background .3s; }
.hint { font-size: 12px; color: var(--a-muted); margin: -4px 0 0; }

.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #46506B;
  line-height: 1.5; background: var(--a-bg); border-radius: 12px; padding: 12px; }
.chk input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--a-blue); flex: none; }
.chk b { color: var(--a-navy); }

/* butonlar: panel .btn.primary dili (landing .lbtn sınıflarını ezer) */
.auth-kart .lbtn { display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font: inherit; font-size: 14.5px; font-weight: 700; border-radius: 12px;
  padding: 12px 18px; cursor: pointer; text-decoration: none; transition: filter .15s; }
.auth-kart .lbtn.dark { background: var(--a-navy); color: #fff; border: 1px solid var(--a-navy); }
.auth-kart .lbtn.dark:hover { filter: brightness(1.15); }
.auth-kart .lbtn.line { background: var(--a-panel); color: var(--a-navy);
  border: 1px solid var(--a-line); }
.auth-kart .lbtn.line:hover { border-color: #C9D3E6; }
.auth-kart .lbtn.wide { width: 100%; }

/* Google */
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px;
  border: 1px solid var(--a-line); border-radius: 12px; font-size: 14px; font-weight: 650;
  color: var(--a-navy); background: var(--a-panel); text-decoration: none;
  transition: border-color .15s, box-shadow .2s; }
.gbtn:hover { border-color: #C9D3E6; box-shadow: 0 8px 20px rgba(16,28,63,.07); }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #98A1B5;
  font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }

/* kayıt adımları: panel rozet dili */
.steps-bar { display: flex; gap: 8px; margin-bottom: 2px; }
.sb { font-size: 12px; font-weight: 700; color: var(--a-muted); background: var(--a-bg);
  padding: 6px 12px; border-radius: 999px; }
.sb.active { background: var(--a-soft); color: var(--a-blue); }
.sb.done { background: #E4F6EC; color: #1F9254; }

.form-error, .form-ok, .notice-blue { border-radius: 12px; padding: 11px 13px;
  font-size: 13px; margin-bottom: 14px; }
.form-error { background: #FDECEE; color: #A32236; border: 1px solid #F5C7CF; }
.form-ok { background: #E4F6EC; color: #1F7A46; border: 1px solid #BFE6CE; }
.notice-blue { background: var(--a-soft); color: #1B3E9E; border: 1px solid #C9DBFF; }

.auth-alt { font-size: 13px; color: var(--a-muted); text-align: center; margin: 2px 0 0; }
.auth-alt a { color: var(--a-blue); font-weight: 700; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* mobil */
@media (max-width: 560px) {
  .auth-ust { padding: 16px 18px; }
  .auth-kart { padding: 20px 16px 18px; }
  .fld-row { grid-template-columns: 1fr; }
}
/* iOS: 16px altı girişte otomatik zoom yapar */
@media (max-width: 820px) {
  .fld input, .fld select { font-size: 16px; }
}

/* adım rozetleri gizli; adım içi dikey ritim ve butondan önce nefes payı */
.steps-bar { display: none; }
.rstep { display: grid; gap: 14px; }
.rstep .lbtn { margin-top: 10px; }

/* marka künyesi (üst bar) */
.marka-yazi { display: inline-flex; flex-direction: column; min-width: 0; }
.marka-alt { font-size: 10px; font-weight: 650; letter-spacing: .05em; color: var(--a-muted);
             margin-top: -3px; white-space: nowrap; line-height: 1.2; }
