/* Giriş ve hesap sayfaları (029, Giris-Taslak-v2 A+). Tek kart, tek sol eksen, tek vurgu (kurum rengi --ee-k*, BrandPalette).
   Değerler ee-tokens.css'ten; burada yalnız yerleşim ve bileşen. Ölçek 13/14/15/16/24, ağırlık 400/600, 8'lik ritim. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gk { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ee-text); font: 15px/1.5 var(--ee-font-text); -webkit-font-smoothing: antialiased;
  background: radial-gradient(1280px 640px at 50% -220px, var(--ee-k-tint), transparent 74%), var(--ee-page); }
[data-bs-theme=dark] { color-scheme: dark; }
.gk button, .gk input, .gk select { font: inherit; color: inherit; }
.gk button { cursor: pointer; }
.gk a { color: var(--ee-k-link); }
.gk [hidden] { display: none !important; }
.gk h1, .gk p { margin: 0; }
.gk :focus { outline: none; }
.gk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gk svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* sayfa */
.gk-maint { display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding: 10px 24px; background: var(--ee-warn-soft); border-bottom: 1px solid color-mix(in srgb, var(--ee-warn) 20%, transparent); font-size: 13.5px; line-height: 20px; }
.gk-maint svg { color: var(--ee-warn); margin-top: 1px; }
.gk-top { display: flex; justify-content: flex-end; padding: 16px 24px 0; }
.gk-lang { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--ee-text-2) !important; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.gk-lang svg.i { width: 16px; height: 16px; }
.gk-lang:hover { background: color-mix(in srgb, var(--ee-text) 6%, transparent); color: var(--ee-text) !important; }
.gk-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 24px 48px; }
.gk-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; padding: 0 24px 28px; font-size: 13px; line-height: 20px; }
.gk-foot a { color: var(--ee-text-2); text-decoration: none; }
.gk-foot a:hover { color: var(--ee-text); text-decoration: underline; text-underline-offset: 3px; }

/* kart */
.gk-card { width: 100%; max-width: 448px; background: var(--ee-gk-card); border-radius: 16px; box-shadow: var(--ee-gk-card-shadow); overflow: hidden; animation: gk-rise .36s cubic-bezier(.2, .8, .2, 1) both; }
.gk-card.wide { max-width: 560px; }
.gk-in { padding: 40px 40px 36px; }
.gk-brand { display: flex; align-items: center; min-height: 40px; margin-bottom: 32px; }
.gk-brand img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
[data-bs-theme=dark] .gk-brand img { background: #FFFFFF; border-radius: 8px; padding: 4px 8px; height: 52px; }
.gk-card h1 { font: 600 24px/32px var(--ee-font-display); letter-spacing: -.012em; margin-bottom: 8px; }
.gk-lead { margin-bottom: 24px !important; font-size: 14px; line-height: 20px; color: var(--ee-text-2); }
.gk-card h1:has(+ :not(.gk-lead)) { margin-bottom: 24px; }
.gk-steps { margin-bottom: 8px !important; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ee-text-2); font-variant-numeric: tabular-nums; }
.gk-ft { padding: 20px 40px 24px; background: var(--ee-gk-card-ft); border-top: 1px solid var(--ee-border); font-size: 14px; line-height: 20px; }
.gk-ft p + p { margin-top: 4px; }
.gk-ap-q { font-weight: 600; }
.gk-ap-s { display: flex; align-items: flex-start; gap: 8px; margin-top: 2px !important; font-size: 13px; line-height: 20px; color: var(--ee-text-2); }
.gk-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; flex: none; background: var(--ee-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-ok) 20%, transparent); }
.gk-ap-l { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.gk-ap-l svg.i { width: 16px; height: 16px; transition: transform .15s; }
.gk-ap-l:hover { text-decoration: underline; text-underline-offset: 3px; }
.gk-ap-l:hover svg { transform: translateX(2px); }
.gk-text { font-size: 14px; line-height: 22px; color: var(--ee-text-2); }
.gk-text + .gk-text { margin-top: 12px; }
.gk-text b { color: var(--ee-text); font-weight: 600; }

/* form */
.gk-form { display: grid; gap: 24px; }
.gk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.gk-label { display: block; font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 8px; cursor: pointer; }
.gk-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gk-link { border: 0; background: none; padding: 0; color: var(--ee-k-link); font-weight: 600; font-size: 13.5px; line-height: 20px; text-decoration: none; cursor: pointer; border-radius: 4px; }
.gk-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.gk-input { display: block; width: 100%; height: 48px; border: 1px solid var(--ee-gk-in-line); border-radius: 10px; background: var(--ee-gk-in-bg); padding: 0 14px; font-size: 16px; box-shadow: var(--ee-gk-in-inset); transition: border-color .12s, box-shadow .12s; }
.gk-input:hover { border-color: var(--ee-gk-in-line-hover); }
.gk-input:focus { border-color: var(--ee-k-link); box-shadow: 0 0 0 3px var(--ee-k-ring); }
.gk-input:read-only { color: var(--ee-text-2); }
select.gk-input { appearance: auto; padding-right: 10px; }
.gk-code { font: 600 22px/1 var(--ee-font-mono); letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.gk-f.inv .gk-input { border-color: var(--ee-bad); }
.gk-f.inv .gk-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-bad) 22%, transparent); }
.gk-idw, .gk-pww { position: relative; }
.gk-idw.hk .gk-input { padding-right: 100px; }
.gk-ghost { position: absolute; left: 15px; right: 100px; top: 0; height: 48px; line-height: 48px; font-size: 16px; white-space: pre; overflow: hidden; pointer-events: none; }
.gk-ghost i { font-style: normal; color: transparent; }
.gk-ghost b { font-weight: 400; color: var(--ee-text-2); opacity: .65; }
.gk-kind { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--ee-surface-2); color: var(--ee-text-2); box-shadow: inset 0 0 0 1px var(--ee-border); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gk-kind svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.gk-kind.ok { background: var(--ee-ok-soft); color: var(--ee-ok); box-shadow: none; }
.gk-kind.warn { background: var(--ee-warn-soft); color: var(--ee-warn); box-shadow: none; }
.gk-pww .gk-input { padding-right: 52px; }
.gk-eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 8px; color: var(--ee-text-2); display: grid; place-items: center; }
.gk-eye:hover { background: var(--ee-surface-2); color: var(--ee-text); }
.gk-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--ee-text-2); animation: gk-msg .16s ease-out; }
.gk-hint:empty { display: none; }
.gk-hint svg.i { width: 16px; height: 16px; }
.gk-hint:has(> svg:first-child) { flex-wrap: nowrap; align-items: flex-start; }
.gk-hint:has(> svg:first-child) > svg { margin-top: 2px; }
.gk-hint.warn { color: var(--ee-warn); }
.gk-hint.bad { color: var(--ee-bad); }
.gk-hint .gk-link { font-size: 13px; }
.gk-hint kbd { font: 600 11px/16px var(--ee-font-mono); border: 1px solid var(--ee-border-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; background: var(--ee-surface); color: var(--ee-text); }
.gk-route { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--ee-text-2); animation: gk-msg .16s ease-out; }
.gk-route svg.i { width: 16px; height: 16px; color: var(--ee-k-link); }
.gk-check { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; cursor: pointer; }
.gk-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ee-k); }
.gk-rules { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; line-height: 20px; color: var(--ee-text-2); }
.gk-rules li { display: flex; align-items: flex-start; gap: 6px; }
.gk-rules li::before { content: ""; flex: none; width: 8px; height: 8px; margin: 6px 4px 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ee-border-strong); }
.gk-rules li.ok { color: var(--ee-ok); }
.gk-rules li.ok::before { background: var(--ee-ok); box-shadow: none; }

/* iletiler: formun başında kutu (hata/kilit), alan altında ipucu, alt ortada kısa bildirim */
.gk-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 20px; background: var(--ee-bad-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ee-bad) 20%, transparent); animation: gk-msg .16s ease-out; }
.gk-alert > svg { color: var(--ee-bad); margin-top: 1px; }
.gk-alert.warn { background: var(--ee-warn-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ee-warn) 22%, transparent); }
.gk-alert.warn > svg { color: var(--ee-warn); }
.gk-alert.ok { background: var(--ee-ok-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ee-ok) 22%, transparent); }
.gk-alert.ok > svg { color: var(--ee-ok); }
.gk-alert .gk-link { font-size: 14px; }
.gk-alert small { display: block; margin-top: 2px; font-size: 13px; color: var(--ee-text-2); }
.gk-alert b { font-weight: 600; }
.gk-form > .gk-alert { margin-bottom: 0; }
.gk-in > .gk-alert { margin-bottom: 24px; }

/* düğmeler */
.gk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ee-gk-in-line); border-radius: 10px; background: var(--ee-gk-card); color: var(--ee-text) !important; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .12s, border-color .12s, transform .08s; }
.gk-btn:hover { background: var(--ee-surface-2); border-color: var(--ee-gk-in-line-hover); }
.gk-btn:active:not(:disabled) { transform: translateY(1px); }
.gk-btn.md { height: 40px; padding: 0 14px; font-size: 14px; }
.gk-btn.lg { width: 100%; height: 48px; padding: 0 16px; font-size: 15px; }
.gk-btn.pri { background: var(--ee-k); border-color: transparent; color: var(--ee-k-on) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(15, 27, 61, .18); }
.gk-btn.pri:hover { background: var(--ee-k-hover); }
.gk-btn.pri:active:not(:disabled) { background: var(--ee-k-press); box-shadow: none; }
.gk-btn:disabled { cursor: not-allowed; }
.gk-btn.pri:disabled { background: var(--ee-surface-2); border-color: var(--ee-gk-in-line); color: var(--ee-text-2) !important; box-shadow: none; }
.gk-btn[aria-busy=true] { cursor: progress; }
.gk-btn.pri[aria-busy=true] { background: var(--ee-k); }
.gk-num { font-variant-numeric: tabular-nums; }
.gk-spin { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gk-sp .7s linear infinite; }
[aria-busy=true] .gk-spin { display: inline-block; }
.gk-go { margin-top: 8px; }
.gk-actions { display: grid; gap: 12px; }
.gk-sep { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--ee-text-2); font-size: 13px; line-height: 20px; }
.gk-sep::before, .gk-sep::after { content: ""; flex: 1; height: 1px; background: var(--ee-border); }
.gk-mark { display: inline-grid; place-items: center; flex: none; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 6px; background: var(--ee-k-mark); color: #FFFFFF; font: 600 8px/1 var(--ee-font-text); letter-spacing: .04em; }
[data-bs-theme=dark] .gk-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.gk-tag { font-size: 11.5px; line-height: 20px; font-weight: 600; padding: 0 8px; border-radius: 99px; background: var(--ee-k-soft); color: var(--ee-k-link); white-space: nowrap; }
/* önerilen yol ana düğmedir: son giriş kurum hesabıyla ya da kurum e-postası yazılıp şifre yazılmadıysa "Giriş yap" ikincile iner */
.gk-sso-first .gk-sso { background: var(--ee-k); border-color: transparent; color: var(--ee-k-on) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 2px rgba(15, 27, 61, .18); }
.gk-sso-first .gk-sso:hover { background: var(--ee-k-hover); }
.gk-sso-first .gk-sso .gk-tag { background: color-mix(in srgb, var(--ee-k-on) 16%, transparent); color: inherit; }
.gk-sso-first .gk-sso .gk-mark, .gk-routing:not(.gk-pw-has) .gk-sso-mini .gk-mark { background: #FFFFFF; color: var(--ee-k); }
[data-bs-theme=dark] :is(.gk-sso-first .gk-sso, .gk-routing:not(.gk-pw-has) .gk-sso-mini) .gk-mark { background: var(--ee-k-on); color: #FFFFFF; }
:is(.gk-last-sso, .gk-routing:not(.gk-pw-has)) .gk-go:not(:disabled) { background: var(--ee-gk-card); border-color: var(--ee-gk-in-line); color: var(--ee-text) !important; box-shadow: none; }
:is(.gk-last-sso, .gk-routing:not(.gk-pw-has)) .gk-go:not(:disabled):hover { background: var(--ee-surface-2); }
.gk-routing:not(.gk-pw-has) .gk-sso-mini { background: var(--ee-k); border-color: transparent; color: var(--ee-k-on) !important; }
.gk-routing:not(.gk-pw-has) .gk-sso-mini:hover { background: var(--ee-k-hover); }
.gk-routing .gk-sso-after { display: none !important; } /* ipucu görünürken alttaki aynı düğme yinelenmez */

/* iki adımlı kurulum */
.gk-qr { display: grid; place-items: center; padding: 12px; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--ee-border); }
.gk-qr img { display: block; width: 184px; height: 184px; }
.gk-secret { font: 600 14px/20px var(--ee-font-mono); letter-spacing: .08em; word-break: break-all; user-select: all; }
.gk-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; padding: 16px; margin: 0; list-style: none; border-radius: 10px; background: var(--ee-surface-2); box-shadow: inset 0 0 0 1px var(--ee-border); font: 600 15px/22px var(--ee-font-mono); font-variant-numeric: tabular-nums; }
.gk-captcha { min-height: 65px; }

/* klavye odağı: fare tıklamasında görünmez, klavyede belirgin */
.gk :is(.gk-btn, .gk-link, .gk-lang, .gk-eye, .gk-ap-l, .gk-foot a, .gk-check input):focus-visible { outline: 2px solid var(--ee-k-link); outline-offset: 2px; }
.gk .gk-btn.pri:focus-visible, .gk .gk-sso-first .gk-sso:focus-visible { outline-offset: 3px; }

@keyframes gk-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes gk-msg { from { opacity: 0; transform: translateY(-2px); } }
@keyframes gk-up { from { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes gk-sp { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .gk * { animation: none !important; transition: none !important; } }

/* telefon: kart çerçevesi yok, sayfa kartın kendisi */
@media (max-width: 560px) {
  body.gk { background: linear-gradient(var(--ee-k-tint), var(--ee-gk-card) 240px), var(--ee-gk-card); }
  .gk-maint { padding: 10px 16px; font-size: 13px; }
  .gk-top { padding: 12px 12px 0; }
  .gk-main { align-items: flex-start; padding: 4px 0 24px; }
  .gk-card, .gk-card.wide { max-width: none; background: none; border-radius: 0; box-shadow: none; overflow: visible; animation: none; }
  .gk-in { padding: 12px 24px 0; }
  .gk-brand { margin-bottom: 28px; }
  .gk-ft { margin: 32px 24px 0; padding: 16px 20px 18px; border: 1px solid var(--ee-border); border-radius: 12px; }
  .gk-foot { flex-direction: column; align-items: center; gap: 8px; padding: 24px 24px 28px; }
  .gk-row2 { grid-template-columns: 1fr; }
}

/* aday hesabı: başvuru bağlamı, adım şeridi ve aydınlatma metni (Adım 2 B1) */
.gk-ctx { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 20px; background: var(--ee-k-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ee-k) 20%, transparent); }
.gk-ctx > svg { color: var(--ee-k); margin-top: 1px; flex: none; }
.gk-ctx-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--ee-text-2); }
.gk-stepper { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; line-height: 20px; color: var(--ee-text-2); }
.gk-stepper li { padding: 2px 10px; border-radius: 999px; background: var(--ee-surface-2); }
.gk-stepper li.done { color: var(--ee-text); }
.gk-stepper li.on { background: var(--ee-k); color: var(--ee-k-on); font-weight: 600; }
.gk-help { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--ee-text-2); }
/* e-posta kodunun canlı durumu (E2 D5; taslak "kod-gecikme"): kod kutusunun altında 13.5; gecikme/gönderilemedi uyarı renginde */
.gk-status { margin: 8px 0 0; font-size: 13.5px; line-height: 20px; color: var(--ee-text-2); }
.gk-status[data-phase="delayed"], .gk-status[data-phase="failed"], .gk-status[data-phase="notsent"] { color: var(--ee-warn); }
.gk-notice { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ee-border); font-size: 14px; line-height: 20px; }
.gk-notice summary { padding: 10px 14px; cursor: pointer; font-weight: 600; }
.gk-correct { padding: 0 14px 14px; }
.gk-inline { display: inline; }
.gk-notice-text { padding: 0 14px 12px; max-height: 220px; overflow: auto; white-space: pre-wrap; color: var(--ee-text-2); }
