/* ============================================================
   SocialTag Gym — giriş ekranları (v313)
   PT girişi (/gym-yonetim) ve üye girişi (/:slug/gym).
   Panel giriş ekranlarıyla (assets/giris.css, v150/v258) aynı dil:
   bilgisayarda ikiye bölünmüş ekran (solda vurgu renkli marka paneli,
   sağda sıcak kâğıt zemin üzerinde form), telefonda üstte vurgu renkli
   yuvarlak alt köşeli başlık bloğu. PT girişinde vurgu SocialTag moru,
   üye girişinde salonun kendi rengi (--gg-vurgu JS ile verilir).
   ============================================================ */
.gg {
  --gg-vurgu: #2A1A8F;
  --gg-vurgu-koyu: #1F1470;
  --gg-vurgu-yazi: #fff;
  --gg-vurgu-halka: rgba(42, 26, 143, .14);
  --gg-siyah: #0B1020;
  --gg-ikincil: #5A6075;
  --gg-kagit: #F6F4EF;
  --gg-ton: #ECEAE3;
  --gg-cizgi: #DCDAD1;
  --gg-hata: #C2362F;
  --gg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gg-yay: cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(380px, 5fr) 7fr;
  background: var(--gg-kagit); color: var(--gg-siyah);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.gg-govde { margin: 0; background: #F6F4EF; }
.gg *, .gg *::before, .gg *::after { box-sizing: border-box; }

/* ---------- marka paneli ---------- */
.gg-marka {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(32px, 4vw, 56px); background: var(--gg-vurgu); color: var(--gg-vurgu-yazi);
  overflow: hidden; isolation: isolate;
}
.gg-marka::before {
  content: ""; position: absolute; z-index: -1; right: -22%; bottom: -14%; width: 78%; aspect-ratio: 1;
  background: url(/assets/logo-isaret.svg) center / contain no-repeat; filter: invert(1); opacity: .07; pointer-events: none;
}
.gg.koyu-yazi .gg-marka::before { filter: none; opacity: .06; }
.gg-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.gg-logo .gg-isaret { width: 36px; height: auto; filter: invert(1); }
.gg-logo .gg-yazi { height: 14px; width: auto; filter: brightness(0) invert(1); }
.gg-salon-logo {
  width: 44px; height: 44px; border-radius: 13px; flex: none; overflow: hidden; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); font-weight: 800; font-size: 19px;
}
.gg.koyu-yazi .gg-salon-logo { background: rgba(11, 16, 32, .1); }
.gg-salon-logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.gg-salon-ad { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gg-orta h1 { margin: 0; font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 700; max-width: 11ch; }
.gg-orta p { margin: 18px 0 0; font-size: 17px; line-height: 1.5; opacity: .74; max-width: 30ch; }
.gg-maddeler { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15px; font-weight: 600; }
.gg-maddeler li { display: flex; align-items: center; gap: 12px; }
.gg-maddeler li::before { content: ""; width: 9px; height: 9px; border-radius: 2.5px; background: currentColor; flex: none; }
.gg-alt { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gg-alt a { color: inherit; opacity: .74; font-size: 14px; font-weight: 600; text-decoration: none; }
.gg-alt a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.gg-ornek {
  width: min(300px, 100%); padding: 14px; border-radius: 18px; background: #fff; color: var(--gg-siyah);
  font-size: 13.5px; line-height: 1.4; box-shadow: 0 18px 40px rgba(11, 16, 32, .22);
}
.gg-ornek-bas { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--gg-ikincil); }
.gg-ornek-bas b { color: var(--gg-siyah); font-size: 14px; }
.gg-ornek-satir { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; }
.gg-ornek-satir + .gg-ornek-satir { box-shadow: inset 0 1px 0 rgba(11, 16, 32, .08); }
.gg-ornek-satir small { display: block; color: var(--gg-ikincil); font-size: 12.5px; }
.gg-rozet { align-self: center; padding: 3px 8px; border-radius: 6px; background: #0F8A5F; color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.gg-rozet.vurgu { background: var(--gg-vurgu); color: var(--gg-vurgu-yazi); }
.gg-mini-halka { width: 40px; height: 40px; flex: none; }
.gg-mini-halka circle { fill: none; stroke-width: 5; }

/* ---------- form tarafı ---------- */
.gg-form { align-self: center; justify-self: center; width: min(420px, 100%); padding: clamp(28px, 5vw, 56px) 24px; }
.gg-form h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; margin: 0 0 8px; }
.gg-form .gg-alt-yazi { font-size: 15px; color: var(--gg-ikincil); margin: 0 0 28px; line-height: 1.5; }
.gg-alan { margin-bottom: 16px; }
.gg-alan > label, .gg-etiket { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 650; color: var(--gg-siyah); }
.gg-girdi {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--gg-cizgi); background: #fff;
  font: inherit; font-size: 16px; color: var(--gg-siyah); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.gg-girdi::placeholder { color: #A3A6B1; }
.gg-girdi:hover { border-color: #C4C1B6; }
.gg-girdi:focus { border-color: var(--gg-vurgu); box-shadow: 0 0 0 4px var(--gg-vurgu-halka); }
.gg-ipucu { font-size: 13px; color: var(--gg-ikincil); margin-top: 6px; }
.gg-onek { position: relative; }
.gg-onek > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 650; color: var(--gg-ikincil); pointer-events: none; }
.gg-onek > .gg-girdi { padding-left: 58px; letter-spacing: .02em; }
.gg-sifre { position: relative; }
.gg-sifre .gg-girdi { padding-right: 76px; }
.gg-goster {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px;
  background: transparent; color: var(--gg-ikincil); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer;
}
.gg-goster:hover { background: var(--gg-ton); color: var(--gg-siyah); }

.gg-btn {
  position: relative; width: 100%; min-height: 54px; border: 0; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  background: var(--gg-vurgu); color: var(--gg-vurgu-yazi); font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  transition: background-color .18s ease, transform .14s var(--gg-ease), opacity .18s ease;
}
.gg-btn:hover { background: var(--gg-vurgu-koyu); }
.gg-btn:active { transform: scale(.98); }
.gg-btn[disabled] { opacity: .6; cursor: default; }
.gg-btn.wa { background: #1DAA61; color: #fff; }
.gg-btn.wa:hover { background: #178F51; }
.gg-btn .gg-yukle { width: 20px; height: 20px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ggDon .7s linear infinite; }
.gg-btn.tamam { background: #0F8A5F; color: #fff; }
.gg-link { background: none; border: 0; padding: 6px 2px; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--gg-ikincil); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gg-link:hover { color: var(--gg-siyah); }
.gg-link[disabled] { text-decoration: none; cursor: default; opacity: .7; }
.gg-satir { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.gg-not { font-size: 13px; color: var(--gg-ikincil); margin-top: 16px; line-height: 1.55; }
.gg-not a { color: inherit; }

/* uyarı */
.gg-uyari { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin: 0 0 16px; background: rgba(194, 54, 47, .09); color: var(--gg-hata); font-weight: 600; }
.gg-uyari.bilgi { background: var(--gg-ton); color: var(--gg-siyah); font-weight: 500; }
.gg-uyari.dikkat { background: rgba(180, 83, 9, .1); color: #9A4A07; }

/* Beni hatırla anahtarı */
.gg-anahtar { display: flex; align-items: center; gap: 12px; margin: 16px 0 22px; font-size: 14px; cursor: pointer; line-height: 1.35; }
.gg-anahtar input {
  -webkit-appearance: none; appearance: none; width: 40px; height: 24px; flex: none; margin: 0; border-radius: 12px;
  background: #CFCCC1; position: relative; cursor: pointer; transition: background-color .2s ease;
}
.gg-anahtar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .26s var(--gg-yay); }
.gg-anahtar input:checked { background: var(--gg-vurgu); }
.gg-anahtar input:checked::after { transform: translateX(16px); }
.gg-anahtar input:focus-visible { outline: 2px solid var(--gg-vurgu); outline-offset: 2px; }
.gg-anahtar small { display: block; color: var(--gg-ikincil); font-size: 12.5px; }

/* 6 haneli kod kutuları */
.gg-kod { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 4px 0 6px; }
.gg-kod input {
  width: 100%; height: 60px; border-radius: 14px; border: 1.5px solid var(--gg-cizgi); background: #fff; text-align: center;
  font: inherit; font-size: 26px; font-weight: 700; color: var(--gg-siyah); outline: none; caret-color: var(--gg-vurgu);
  transition: border-color .18s ease, box-shadow .18s ease, transform .2s var(--gg-yay);
}
.gg-kod input:focus { border-color: var(--gg-vurgu); box-shadow: 0 0 0 4px var(--gg-vurgu-halka); }
.gg-kod input.dolu { border-color: var(--gg-siyah); animation: ggKutu .28s var(--gg-yay); }
.gg-kod.hata input { border-color: var(--gg-hata); }
.gg-kod.hata { animation: ggSalla .42s ease; }
.gg-kod.tamam input { border-color: #0F8A5F; background: #EAF6F0; color: #0F8A5F; transition-delay: calc(var(--i) * 40ms); }
.gg-telefon-cip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--gg-ton);
  font-weight: 700; font-size: 14.5px; margin: 0 0 22px;
}
.gg-telefon-cip button { border: 0; background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--gg-ikincil); }

/* adımlar arası geçiş */
.gg-adim { animation: ggAdim .45s var(--gg-ease) both; }
.gg-adim.geri { animation-name: ggAdimGeri; }
.gg-gonderildi { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--gg-cizgi); font-size: 14px; line-height: 1.4; }
.gg-gonderildi .ikon { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1DAA61; color: #fff; animation: ggPop .5s var(--gg-yay) .1s both; }
.gg-gonderildi .ikon.panel { background: var(--gg-vurgu); color: var(--gg-vurgu-yazi); }

/* ---------- telefon ---------- */
@media (max-width: 899px) {
  .gg { display: block; }
  .gg-marka { gap: 22px; padding: calc(22px + env(safe-area-inset-top)) 20px 28px; border-radius: 0 0 28px 28px; }
  .gg-orta h1 { font-size: 30px; max-width: 14ch; }
  .gg-orta p { font-size: 15px; margin-top: 10px; }
  .gg-maddeler, .gg-ornek, .gg-alt { display: none; }
  .gg-form { padding: 28px 20px calc(32px + env(safe-area-inset-bottom)); }
  /* kod ve onay adımlarında başlık bloğu küçülür, form ekrana sığar */
  .gg.kompakt .gg-marka { gap: 12px; padding-bottom: 20px; }
  .gg.kompakt .gg-orta h1 { font-size: 24px; }
  .gg.kompakt .gg-orta p { display: none; }
  .gg-kod { gap: 6px; }
  .gg-kod input { height: 56px; font-size: 24px; }
}

/* ---------- hareket ---------- */
@keyframes ggDon { to { transform: rotate(360deg); } }
@keyframes ggGel { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
@keyframes ggAdim { from { opacity: 0; transform: translate3d(28px, 0, 0); } }
@keyframes ggAdimGeri { from { opacity: 0; transform: translate3d(-28px, 0, 0); } }
@keyframes ggKutu { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes ggSalla { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes ggPop { from { transform: scale(0); } }
@media (prefers-reduced-motion: no-preference) {
  .gg-marka > * { animation: ggGel .55s var(--gg-ease) both; }
  .gg-marka > :nth-child(2) { animation-delay: .06s; }
  .gg-marka > :nth-child(3) { animation-delay: .12s; }
  .gg-form > * { animation: ggGel .5s var(--gg-ease) both; }
  .gg-form > :nth-child(2) { animation-delay: .04s; }
  .gg-form > :nth-child(3) { animation-delay: .08s; }
  .gg-form > :nth-child(n+4) { animation-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) {
  .gg *, .gg *::before, .gg *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   v326: minimal — renkli büyük blok yok; açık gri zemin, sade başlık,
   opak beyaz cam form kartı, koyu gri ana düğme. Salon rengi yalnızca
   logo karesinde kalır.
   ============================================================ */
body.gg-govde { background: #F2F2F4; }
.gg { --gg-siyah: #141416; --gg-ikincil: #6C6C72; --gg-kagit: #F2F2F4; --gg-ton: #EBEBEE; --gg-cizgi: #E2E2E6;
  background: radial-gradient(70% 40% at 100% 0%, rgba(0, 0, 0, .035), transparent 70%), #F2F2F4; }
.gg-marka { background: transparent; color: var(--gg-siyah); }
.gg-marka::before { filter: none; opacity: .035; }
.gg-logo .gg-isaret { filter: none; }
.gg-logo .gg-yazi { filter: brightness(0); }
.gg-salon-logo { background: var(--gg-vurgu); color: var(--gg-vurgu-yazi); }
.gg-orta p { color: var(--gg-ikincil); opacity: 1; }
.gg-alt a { color: var(--gg-ikincil); }
.gg-maddeler li::before { background: var(--gg-siyah); opacity: .35; }
.gg-btn, .gg-btn:hover { background: #141416; color: #fff; }
.gg-btn:hover { background: #000; }
.gg-girdi { border-color: var(--gg-cizgi); }
.gg-girdi:focus, .gg-kod input:focus { border-color: #141416; box-shadow: 0 0 0 4px rgba(0, 0, 0, .06); }
.gg-kod input { caret-color: #141416; border-color: var(--gg-cizgi); }
.gg-anahtar input:checked { background: #141416; }
.gg-anahtar input:focus-visible { outline-color: #141416; }
.gg-gonderildi .ikon.panel, .gg-rozet.vurgu { background: #141416; color: #fff; }
.gg-form { background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .85); border-radius: 26px;
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .02), 0 10px 28px rgba(0, 0, 0, .05); }
@media (min-width: 900px) {
  .gg-marka { border-right: 1px solid rgba(0, 0, 0, .05); }
  .gg-form { padding: 40px 36px; }
}
@media (max-width: 899px) {
  .gg-marka { padding: calc(20px + env(safe-area-inset-top)) 22px 6px; border-radius: 0; gap: 18px; }
  .gg-orta h1 { font-size: 26px; letter-spacing: -.03em; }
  .gg-orta p { font-size: 14.5px; margin-top: 8px; }
  .gg-form { margin: 14px 14px calc(20px + env(safe-area-inset-bottom)); width: auto; padding: 24px 18px; }
  .gg.kompakt .gg-orta h1 { font-size: 22px; }
}
