/* ===========================================================================
   giris.css – Giriş ekranı ailesi (proje.md K309, 05.11.2026)

   Kaynak tasarım : tasarim\plasiyer\etmB2B plasiyer tasarımı.html (giriş / şifremi unuttum / yeni şifre / bayilik başvurusu ekranları)
   Kullanan       : Default.aspx, sifreUnuttum.aspx, sifreSifirla.aspx, bayilikBasvuru.aspx (body.gp). Phoenix tema dosyaları yüklenmez.
   Kural          : bütün sınıflar "gp-" önekli. Renkler plasiyerPanel.css ile aynı palet.
   =========================================================================== */

:root {
    --gp-p: #3874ff;
    --gp-p-hover: #2f65e0;
    --gp-p-dark: #003cc7;
    --gp-p-soft: #e5edff;
    --gp-p-line: #adc5ff;
    --gp-ink: #141824;
    --gp-text: #31374a;
    --gp-muted: #5e6680;
    --gp-muted2: #525b75;
    --gp-faint: #8a94ad;
    --gp-line: #e3e6ed;
    --gp-line2: #cbd0dd;
    --gp-row: #eff2f6;
    --gp-bg: #f5f7fa;
    --gp-ok-bg: #d9fbd0; --gp-ok-fg: #1c6c09; --gp-ok-bd: #bee8b4;
    --gp-warn-bg: #fff6e0; --gp-warn-fg: #bc3803; --gp-warn-bd: #ffcc85;
    --gp-err-bg: #ffe0db; --gp-err-fg: #b81800; --gp-err-bd: #fabcb3;
    --gp-info-bg: #c7ebff; --gp-info-fg: #005585; --gp-info-bd: #96d9ff;
}

@keyframes gpIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@keyframes gpFloat { 0%, 100% { transform: translateY(0) rotate(-1deg) } 50% { transform: translateY(-12px) rotate(1deg) } }
@keyframes gpSpin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) {
    body.gp *, body.gp *::before, body.gp *::after { animation: none !important; transition: none !important }
}

* { box-sizing: border-box }
html, body.gp { margin: 0; min-height: 100vh }
body.gp { background: #fff; color: var(--gp-text); font-family: 'Nunito Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased }
body.gp button, body.gp input, body.gp select, body.gp textarea { font-family: inherit; font-size: inherit }
body.gp input::placeholder, body.gp textarea::placeholder { color: var(--gp-faint) }
body.gp a { color: var(--gp-p); text-decoration: none; font-weight: 800 }
body.gp a:hover { color: var(--gp-p-hover) }
body.gp form { min-height: 100vh }

/* Material Symbols simgesi */
.ms { font-family: 'Material Symbols Outlined'; font-weight: 300; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; flex: none; font-feature-settings: 'liga'; -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; vertical-align: middle; user-select: none }
.ms-16 { font-size: 16px } .ms-17 { font-size: 17px } .ms-18 { font-size: 18px } .ms-22 { font-size: 22px } .ms-24 { font-size: 24px } .ms-30 { font-size: 30px }
.ms-400 { font-weight: 400; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 }
.ms-spin { animation: gpSpin 1s linear infinite }
.gp-hidden { display: none !important }

/* ---------------------------------------------------------------- yerleşim: solda form, sağda görsel */
.gp-main { animation: gpIn .45s cubic-bezier(.2, .8, .2, 1) both; width: 100%; min-height: 100vh; display: flex; flex-wrap: wrap; background: #fff }
.gp-sol { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px clamp(24px, 5vw, 72px) }

.gp-marka { display: flex; align-items: center; gap: 10px; color: inherit !important; text-decoration: none !important }
.gp-marka-mark { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--gp-p); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 800 }
.gp-marka-resim { max-width: 180px; max-height: 44px; width: auto; height: auto; display: block }
.gp-marka-text { display: flex; flex-direction: column; line-height: 1.15 }
.gp-marka-text b { font-size: 17px; font-weight: 800; color: var(--gp-ink) }
.gp-marka-text small { font-size: 12px; font-weight: 700; color: var(--gp-muted) }

.gp-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px }
.gp-form.gp-genis { max-width: 560px }
.gp-form h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--gp-ink); text-wrap: pretty }
.gp-form h1.gp-h-kucuk { font-size: 28px }
.gp-form .gp-alt { margin: 6px 0 0; color: var(--gp-muted2) }
.gp-geri { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--gp-muted2) !important; cursor: pointer; text-decoration: none; align-self: flex-start }
.gp-geri:hover { color: var(--gp-ink) !important }

/* alanlar */
.gp-alan { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.gp-etiket { font-size: 12.5px; font-weight: 800; color: var(--gp-muted2) }
.gp-etiket-satir { display: flex; justify-content: space-between; gap: 8px; align-items: baseline }
.gp-etiket-satir a { font-size: 12.5px }
.gp-kutu { position: relative; display: block }
.gp-kutu > .ms { position: absolute; left: 12px; top: 13px; font-size: 20px; color: var(--gp-faint); pointer-events: none }
.gp-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--gp-line2); border-radius: 8px; background: #fff; color: var(--gp-ink); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s }
.gp-kutu > .ms + .gp-input { padding-left: 42px }
.gp-input.gp-sifre { padding-right: 48px }
.gp-input:focus { border-color: var(--gp-p); box-shadow: 0 0 0 3px var(--gp-p-soft) }
.gp-input.gp-kisa { height: 40px; font-size: 14px }
textarea.gp-input { height: auto; padding: 9px 12px; resize: vertical; line-height: 1.45; font-size: 14px }
.gp-goz { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: transparent; color: var(--gp-muted); cursor: pointer; display: grid; place-items: center; padding: 0 }
.gp-goz:hover { background: var(--gp-bg) }
.gp-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px }
.gp-izgara .gp-tam { grid-column: span 2 }
@media (max-width: 479.98px) { .gp-izgara { grid-template-columns: minmax(0, 1fr) } .gp-izgara .gp-tam { grid-column: span 1 } }

/* anahtar (Kullanıcı adımı hatırla) */
.gp-anahtar { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; align-self: flex-start; user-select: none; font-size: 13px; font-weight: 700; color: var(--gp-text) }
.gp-anahtar input { position: absolute; opacity: 0; width: 0; height: 0 }
.gp-anahtar-pist { position: relative; width: 34px; height: 20px; flex: none; border-radius: 10px; background: var(--gp-line2); transition: background .15s }
.gp-anahtar-pist::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s }
.gp-anahtar input:checked + .gp-anahtar-pist { background: var(--gp-p) }
.gp-anahtar input:checked + .gp-anahtar-pist::after { left: 16px }
.gp-anahtar input:focus-visible + .gp-anahtar-pist { box-shadow: 0 0 0 3px var(--gp-p-soft) }

/* kutular: uyarı / hata / bilgi / başarı */
.gp-not { display: flex; gap: 8px; padding: 10px 12px; border: 1px solid; border-radius: 8px; font-size: 13px; font-weight: 700; text-wrap: pretty }
.gp-not .ms { font-size: 18px; flex: none }
.gp-not-uyari { background: var(--gp-warn-bg); border-color: var(--gp-warn-bd); color: var(--gp-warn-fg) }
.gp-not-hata { background: var(--gp-err-bg); border-color: var(--gp-err-bd); color: var(--gp-err-fg) }
.gp-not-ok { background: var(--gp-ok-bg); border-color: var(--gp-ok-bd); color: var(--gp-ok-fg) }
.gp-not-bilgi { background: var(--gp-info-bg); border-color: var(--gp-info-bd); color: var(--gp-info-fg) }

/* düğmeler */
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--gp-p); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .15s ease, background-color .2s ease; text-decoration: none !important }
.gp-btn:hover { background: var(--gp-p-hover); color: #fff }
.gp-btn:active { transform: scale(.98) }
.gp-btn:disabled { opacity: .7; cursor: default }
.gp-btn .ms { font-size: 22px }
.gp-btn-ikincil { background: #fff; border: 1px solid var(--gp-line2); color: var(--gp-text) }
.gp-btn-ikincil:hover { background: var(--gp-bg); color: var(--gp-ink) }

.gp-baglantilar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--gp-muted2) }
.gp-dipnot { font-size: 12px; color: var(--gp-faint); text-wrap: pretty }
.gp-kurallar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px }
.gp-kural { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gp-faint) }
.gp-kural .ms { font-size: 17px; font-weight: 400 }
.gp-kural.ok { color: var(--gp-ok-fg) }
.gp-sonuc-ikon { width: 56px; height: 56px; border-radius: 50%; background: var(--gp-ok-bg); color: var(--gp-ok-fg); display: grid; place-items: center }
.gp-sonuc-ikon .ms { font-size: 30px; font-weight: 400 }
.gp-altbilgi { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--gp-muted) }
.gp-altbilgi a { color: var(--gp-muted2) }

/* ---------------------------------------------------------------- sağ görsel bölüm */
.gp-sag { flex: 1.2 1 480px; min-width: 0; min-height: 640px; position: relative; isolation: isolate; overflow: hidden; background: var(--gp-p-dark); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px clamp(24px, 4vw, 56px) }
.gp-leke { position: absolute; z-index: -1; display: block; background: var(--gp-p); filter: blur(2px) }
.gp-leke-1 { left: -12%; top: -18%; width: 60%; height: 60%; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; opacity: .55 }
.gp-leke-2 { right: -14%; bottom: -22%; width: 66%; height: 66%; border-radius: 61% 39% 44% 56% / 58% 62% 38% 42%; opacity: .45 }
.gp-leke-3 { right: 18%; top: 38%; width: 28%; height: 28%; border-radius: 38% 62% 56% 44% / 40% 55% 45% 60%; background: rgba(255, 255, 255, .08); filter: none }
.gp-kart { position: absolute; animation: gpFloat 7s ease-in-out infinite }
.gp-kart-ic { padding: 12px 14px; background: #fff; color: var(--gp-ink); border-radius: 14px; box-shadow: 0 22px 48px rgba(0, 0, 0, .22); display: flex; align-items: center; gap: 12px; max-width: 280px }
.gp-kart-ikon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center }
.gp-kart-ikon .ms { font-size: 24px }
.gp-kart-ikon.warn { background: var(--gp-warn-bg); color: var(--gp-warn-fg) }
.gp-kart-ikon.ok { background: var(--gp-ok-bg); color: var(--gp-ok-fg) }
.gp-kart-ikon.pri { background: var(--gp-p-soft); color: var(--gp-p-dark); border-radius: 50% }
.gp-kart-ikon.info { background: var(--gp-info-bg); color: var(--gp-info-fg) }
.gp-kart-txt { line-height: 1.25 }
.gp-kart-txt small { display: block; font-size: 11.5px; color: var(--gp-muted) }
.gp-kart-txt b { display: block; font-size: 15px; font-weight: 800 }
.gp-kart-1 { left: 8%; top: 9%; animation-duration: 7s }
.gp-kart-2 { right: 7%; top: 7%; animation-duration: 6s; animation-delay: -2s }
.gp-kart-3 { right: 10%; top: 30%; animation-duration: 8s; animation-delay: -4s }
.gp-kart-4 { left: 14%; top: 44%; animation-duration: 7.5s; animation-delay: -1s }
.gp-manset { position: relative; max-width: 460px; display: flex; flex-direction: column; gap: 10px }
.gp-manset h2 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 800; color: #fff; text-wrap: pretty }
.gp-manset p { margin: 0; color: #fff; text-wrap: pretty }
.gp-etiketler { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px }
.gp-etiket-pil { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 700 }
.gp-nokta { width: 7px; height: 7px; border-radius: 50%; background: #25b003; display: inline-block }
.gp-etiket-pil .ms { font-size: 16px }

@media (max-width: 759.98px) {
    .gp-sag { display: none }
    .gp-sol { padding: 28px 20px; gap: 24px }
}
@media (max-height: 760px) and (min-width: 760px) {
    .gp-kart-3, .gp-kart-4 { display: none }
}

/* ---------------------------------------------------------------- giriş ailesi alt sayfaları (05.11.2026: sifreUnuttum / sifreSifirla / bayilikBasvuru)
   .gp-blok          : birlikte gizlenip gösterilen öğe kümesi (başlık / form durumu / sonuç durumu); .gp-form'un 16 px dikey boşluğunu içine taşır.
   a.gp-btn          : bağlantı olarak düğme ("Giriş ekranına dön"); body.gp a renk kuralını ezer.
   .gp-dipnot:empty  : sunucudan boş gelen dipnot (bayiBasvuru.kvkkMetni) yer tutmaz. */
.gp-blok { display: flex; flex-direction: column; gap: 16px }
body.gp a.gp-btn, body.gp a.gp-btn:hover { color: #fff }
body.gp a.gp-btn-ikincil { color: var(--gp-text) }
body.gp a.gp-btn-ikincil:hover { color: var(--gp-ink) }
.gp-form .gp-dipnot:empty { display: none }
