/* Giris/cikis/sifre v2 (auth2-): theme.css'ten sonra yuklenir (v2- oneki) */
.auth2 {
  --a-paper: #EEF1EA; --a-ink: #11140F; --a-soft: #4A5547; --a-green: #00BF8F;
  --a-deep: #003D33; --a-lime: #D6F94A; --a-tan: #C8955A; --a-tan2: #A97538;
  --a-disp: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --a-body: "Public Sans", "Helvetica Neue", sans-serif;
  --a-hand: Caveat, "Bradley Hand", cursive;
  position: relative; min-height: 100vh; min-height: 100dvh; box-sizing: border-box;
  background: var(--a-paper); color: var(--a-ink); font-family: var(--a-body);
  padding: calc(26px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left)); overflow-x: hidden; display: flex; justify-content: center;
}
.auth2 *, .auth2 *::before, .auth2 *::after { box-sizing: border-box; }
.auth2 a:focus-visible, .auth2 button:focus-visible, .auth2 input:focus-visible { outline: 3px solid var(--a-green); outline-offset: 2px; }

/* yerlesim: telefon tek sutun, masaustu iki sutun */
.auth2-grid {
  position: relative; z-index: 1; width: 100%; max-width: 420px; display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1fr); align-content: start;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  grid-template-areas: "brand" "title" "card" "info" "foot";
}
.auth2-area-brand { grid-area: brand; }
.auth2-area-title { grid-area: title; display: flex; flex-direction: column; gap: 2px; margin-top: clamp(6px, 3dvh, 28px); }
.auth2-area-card { grid-area: card; min-width: 0; }
.auth2-area-info { margin-top: clamp(0px, 1.5dvh, 12px); }
.auth2-area-info { grid-area: info; display: flex; flex-direction: column; gap: 14px; }
.auth2-area-foot { grid-area: foot; align-self: end; margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: 13px; color: var(--a-soft); padding-top: 8px; }
.auth2-area-foot a { color: var(--a-deep); font-weight: 800; }
.auth2-area-foot small.auth2-ver { font-size: 11px; opacity: .55; }
.auth2.is-logout .auth2-grid { grid-template-areas: "brand" "card" "title" "info"; text-align: center; }
.auth2.is-logout .auth2-area-title { align-items: center; }
.auth2.is-logout .auth2-area-info { align-items: center; }
.auth2.is-logout .auth2-area-card { display: flex; justify-content: center; }

.auth2-brand { display: flex; align-items: center; gap: 10px; text-align: left; }
.auth2-brand img { width: 40px; height: 40px; border-radius: 12px; }
.auth2-brand b { display: block; font: 800 17px var(--a-disp); }
.auth2-brand small { display: block; font-size: 12px; font-weight: 600; color: var(--a-soft); }
.auth2-eb { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--a-soft); }
.auth2-h1 { margin: 0; font: 800 40px/1 var(--a-disp); letter-spacing: -.03em; text-wrap: balance; color: var(--a-ink); }
.auth2-tb { font: 700 36px/1.05 var(--a-hand); letter-spacing: 0; color: #0E7C5F; }
.auth2.is-logout .auth2-h1 { font-size: 34px; letter-spacing: -.02em; }
.auth2-wel { margin: 0; font-size: 15px; line-height: 1.5; color: var(--a-soft); }
.auth2.is-logout .auth2-wel { max-width: 290px; }

/* etiketler */
.auth2-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.auth2-pills span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: #fff; border-radius: 999px; padding: 7px 4px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.auth2-pills i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* kart */
.auth2-card {
  position: relative; border-radius: 22px; background: var(--a-deep); color: #fff; padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 -4px 0 rgba(0,0,0,.28) inset, 0 3px 0 #00281F, 0 28px 36px -22px rgba(0,61,51,.75);
  transform: rotate(-1.5deg); animation: auth2-cardIn .8s cubic-bezier(.16,1,.3,1) both;
}
@keyframes auth2-cardIn { from { opacity: 0; transform: translateY(40px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
.auth2-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 60%); transform: translateX(-120%); animation: auth2-shine 5s ease-in-out 1.2s infinite; }
@keyframes auth2-shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.auth2-blk { position: absolute; right: 18px; top: 18px; display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; }
.auth2-blk i { width: 12px; height: 12px; border-radius: 3px; animation: auth2-blk 3s ease-in-out infinite; }
.auth2-blk i:nth-child(2) { animation-delay: .4s; } .auth2-blk i:nth-child(3) { animation-delay: .8s; } .auth2-blk i:nth-child(4) { animation-delay: 1.2s; }
@keyframes auth2-blk { 50% { transform: scale(.8); } }
.auth2-ktag { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--a-lime); }

.auth2-lbl { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: #BFE3D4; }
.auth2 .dash-input-container { margin: 0; padding: 0; width: 100%; background: none; border: 0; box-shadow: none; display: block; min-height: 0; }
.auth2 .dash-input-element, .auth2 input.dash-input-element {
  height: 50px; width: 100%; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); padding: 0 14px;
  font: 600 15px var(--a-body); color: #fff; background: #003028; box-shadow: none; letter-spacing: 0; outline: none;
}
.auth2-card input, .auth2-card .dash-input-element { color: #fff !important; -webkit-text-fill-color: #fff !important; caret-color: #D6F94A; background-color: #003028; }
.auth2-card input::placeholder, .auth2 .dash-input-element::placeholder { color: #B8C4BE !important; -webkit-text-fill-color: #B8C4BE !important; opacity: 1; }
.auth2-card input:-webkit-autofill, .auth2-card input:-webkit-autofill:hover, .auth2-card input:-webkit-autofill:focus, .auth2-card input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #003028 inset !important; box-shadow: 0 0 0 1000px #003028 inset !important;
  -webkit-text-fill-color: #fff !important; caret-color: #D6F94A; transition: background-color 9999s ease-in-out 0s;
}
.auth2 .dash-input-element:focus-visible { outline: 3px solid var(--a-green); outline-offset: 2px; }
.auth2-pw { display: flex; align-items: center; height: 50px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); background: #003028; padding: 0 4px 0 0; }
.auth2-pw .dash-input-container { flex: 1; min-width: 0; }
.auth2 .auth2-pw input.dash-input-element { border: 0; background-color: #003028; height: 47px; border-radius: 12px 0 0 12px; }
.auth2-pw:focus-within { outline: 3px solid var(--a-green); outline-offset: 2px; }
.auth2 .auth2-pw input.dash-input-element:focus-visible { outline: none; }
.auth2 .auth2-eye { box-shadow: none; border-radius: 12px; position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: #BFE3D4; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.auth2 .auth2-eye:hover { background: rgba(255,255,255,.08); }
.auth2-eye .auth2-eye-slash { opacity: 1; }
.auth2-eye[aria-pressed="true"] .auth2-eye-slash { opacity: 0; }
.auth2-forgot { font-size: 13px; font-weight: 700; color: var(--a-lime); align-self: flex-end; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.auth2-btn { height: 54px; border-radius: 14px; border: 0; font: 800 16px var(--a-body); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; width: 100%; text-decoration: none; }
.auth2-btn-g { background: var(--a-green); color: var(--a-deep); }
.auth2-btn-d { background: var(--a-deep); color: #fff; }
.auth2-cta { animation: auth2-pulse 2.6s ease-in-out infinite; }
@keyframes auth2-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,191,143,.5); } 50% { box-shadow: 0 0 0 10px rgba(0,191,143,0); } }
.auth2-btn-d.auth2-cta { animation-name: auth2-pulse-d; }
@keyframes auth2-pulse-d { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,61,51,.4); } 50% { box-shadow: 0 0 0 10px rgba(0,61,51,0); } }
.auth2-back { font-size: 13.5px; font-weight: 700; color: var(--a-lime); text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.auth2-lk { color: var(--a-deep); font-weight: 800; font-size: 13.5px; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* hata / basari kutusu (kartin icinde) */
.auth2-err, .auth2-ok { display: flex; gap: 8px; align-items: flex-start; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.auth2-err:empty, .auth2-ok:empty { display: none; }
.auth2-err { background: #FDE4EA; color: #6B1239; }
.auth2-err::before { content: "!"; flex: 0 0 18px; height: 18px; border-radius: 50%; background: #6B1239; color: #FDE4EA; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.auth2-ok { background: #D8F5C8; color: #0E3B24; flex-direction: column; }
.auth2-ok a { color: #0E3B24; font-weight: 800; }
.auth2-ok p { margin: 0; }
.auth2-note { margin: 0; font-size: 14px; line-height: 1.5; color: #E4F3EC; }

/* cuzdan (cikis) */
.auth2-wal { position: relative; width: 280px; height: 300px; margin-top: 96px; flex-shrink: 0; text-align: left; }
.auth2-wback { position: absolute; left: 0; right: 0; bottom: 0; height: 178px; border-radius: 24px 24px 28px 28px; background: var(--a-tan2); }
.auth2-mini { position: absolute; left: 28px; right: 28px; top: 0; height: 150px; border-radius: 16px; background: var(--a-deep); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 -4px 0 rgba(0,0,0,.28) inset; padding: 16px; overflow: hidden; animation: auth2-slideIn 1.3s cubic-bezier(.65,0,.35,1) .35s both; }
.auth2-mini .auth2-blk { right: 14px; top: 14px; grid-template-columns: repeat(2, 10px); }
.auth2-mini .auth2-blk i { width: 10px; height: 10px; animation: none; }
.auth2-mini b { display: block; color: #fff; margin-top: 6px; font: 800 19px var(--a-disp); }
@keyframes auth2-slideIn { 0% { transform: translateY(-110px) rotate(-5deg); } 65% { transform: translateY(62px) rotate(0); } 100% { transform: translateY(54px) rotate(0); } }
.auth2-wfront { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; border-radius: 12px 12px 28px 28px; background: var(--a-tan); box-shadow: 0 -2px 0 rgba(255,255,255,.25) inset, 0 22px 30px -20px rgba(80,45,10,.65); }
.auth2-wfront::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.45); border-radius: 6px 6px 20px 20px; }
.auth2-bdg { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--a-deep); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 800; white-space: nowrap; animation: auth2-pop .5s cubic-bezier(.16,1,.3,1) 1.5s both; }
@keyframes auth2-pop { from { opacity: 0; transform: translate(-50%, 8px) scale(.85); } }
.auth2-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }

/* zemin blogu: sadece genis ekranda */
.auth2-deco { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.auth2-deco i { position: absolute; border-radius: 44px; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -8px 0 rgba(0,0,0,.18) inset, 0 30px 40px -24px rgba(0,0,0,.45); }
.auth2-deco .q1 { width: 230px; height: 230px; right: 150px; top: -70px; background: #00BF8F; transform: rotate(-9deg); animation: auth2-fl1 7s ease-in-out infinite; }
.auth2-deco .q2 { width: 230px; height: 230px; right: -90px; top: -40px; background: #EF4444; transform: rotate(-9deg); animation: auth2-fl1 7s ease-in-out .6s infinite; }
.auth2-deco .q3 { width: 230px; height: 230px; right: -60px; top: 205px; background: #F59E0B; transform: rotate(-9deg); animation: auth2-fl1 7s ease-in-out 1.2s infinite; }
.auth2-deco .q4 { width: 200px; height: 200px; left: -70px; bottom: -80px; background: #0074E4; transform: rotate(8deg); animation: auth2-fl2 8s ease-in-out infinite; }
.auth2-deco .q5 { width: 120px; height: 120px; left: 42%; bottom: -58px; background: #EF4444; border-radius: 30px; transform: rotate(-14deg); animation: auth2-fl2 8s ease-in-out 1s infinite; }
@keyframes auth2-fl1 { 50% { translate: 0 -8px; } }
@keyframes auth2-fl2 { 50% { translate: 0 -6px; } }

@media (min-width: 861px) {
  .auth2 { align-items: center; padding: 48px clamp(20px, 5vw, 80px) 56px; }
  .auth2-deco { display: block; }
  .auth2-grid {
    max-width: 1100px; column-gap: 48px; row-gap: 20px; align-content: center; align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    grid-template-areas: "brand card" "title card" "info card" "foot card";
    grid-template-rows: auto auto auto auto;
  }
  .auth2-area-card { grid-row: 1 / -1; align-self: center; }
  .auth2-area-title { margin-top: 0; }
  .auth2-area-foot { align-items: flex-start; text-align: left; margin-top: 0; padding-top: 0; }
  .auth2-area-info { align-items: flex-start; }
  .auth2-h1 { font-size: clamp(40px, 5vw, 62px); line-height: .98; letter-spacing: -.035em; }
  .auth2-tb { font-size: .9em; }
  .auth2-wel { font-size: 16px; max-width: 440px; }
  .auth2-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .auth2-pills span { padding: 7px 12px; font-size: 13px; gap: 6px; }
  .auth2-pills i { width: 9px; height: 9px; }
  .auth2-card { padding: 24px 22px 22px; }
  .auth2.is-logout .auth2-grid { grid-template-areas: "brand card" "title card" "info card"; text-align: left; }
  .auth2.is-logout .auth2-area-title, .auth2.is-logout .auth2-area-info { align-items: flex-start; }
  .auth2.is-logout .auth2-h1 { font-size: clamp(40px, 5vw, 62px); letter-spacing: -.035em; }
  .auth2.is-logout .auth2-wel { max-width: 440px; }
  .auth2.is-logout .auth2-actions { flex-direction: row; flex-wrap: wrap; gap: 14px; width: auto; }
  .auth2.is-logout .auth2-actions .auth2-btn { width: auto; padding: 0 28px; }
  .auth2-wal { transform: scale(1.35); transform-origin: center; margin: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .auth2 *, .auth2 *::before, .auth2 *::after { animation: none !important; }
  .auth2-shine { display: none; }
  .auth2-mini { transform: translateY(54px); }
}

/* ===== İlk giriş onay kartı (2026-10-08) ===== */
.auth2-cns { display: flex; flex-direction: column; gap: 8px; }
.auth2-cn { display: flex; align-items: center; gap: 10px; background: #003028; border: 1.5px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 10px 10px 12px; }
.auth2-cn.is-on { border-color: var(--a-green); }
.auth2-cn.is-miss { border-color: #F9A8B8; }
.auth2-cn-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.auth2-cn-l b { display: block; font-size: 14.5px; color: #fff; }
.auth2-cn-l small { display: block; font-size: 12px; font-weight: 600; color: #BFE3D4; }
.auth2-cn-cb { flex: 0 0 auto; display: flex; }
.auth2-cn-cb label { display: flex; cursor: pointer; }
.auth2-cn-cb input { appearance: none; -webkit-appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #BFE3D4; background: transparent; display: grid; place-items: center; cursor: pointer; }
.auth2-cn-cb input:checked { background: var(--a-green); border-color: var(--a-green); }
.auth2-cn-cb input:checked::after { content: "✓"; color: var(--a-deep); font-weight: 800; font-size: 15px; line-height: 1; }
.auth2-cn-cb input:focus-visible { outline: 3px solid var(--a-green); outline-offset: 2px; }
.auth2-cn-read { flex: 0 0 auto; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: var(--a-lime); font: 800 13px var(--a-body); cursor: pointer; }
.auth2-cn-read:hover { background: rgba(255,255,255,.14); }
.auth2-lg { position: fixed; inset: 0; z-index: 50; display: none; align-items: flex-end; justify-content: center; }
.auth2-lg.is-open { display: flex; }
.auth2-lg-bg { position: absolute; inset: 0; border: 0; background: rgba(17,20,15,.5); cursor: pointer; }
.auth2-lg-box { position: relative; width: 100%; max-height: 82dvh; background: #FFFDF6; color: var(--a-ink); border-radius: 24px 24px 0 0; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.auth2-lg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.auth2-lg-head b { font: 800 20px/1.15 var(--a-disp); }
.auth2-lg-x { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--a-ink); background: transparent; font: 800 14px var(--a-body); cursor: pointer; }
.auth2-lg-text { overflow-y: auto; white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: #2E352C; }
.auth2-lg-ok { align-self: stretch; }
@media (min-width: 861px) { .auth2-lg { align-items: center; } .auth2-lg-box { width: 640px; max-width: calc(100% - 32px); border-radius: 24px; } }
.auth2-lk-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.auth2 .auth2-cn-read, .auth2 .auth2-lg-bg, .auth2 .auth2-lg-x, .auth2 .auth2-lk-btn { box-shadow: none; margin: 0; transform: none; white-space: normal; }
.auth2 .auth2-lg-bg { border-radius: 0; padding: 0; background: rgba(17,20,15,.5); }
.auth2 .auth2-lg-x { color: var(--a-ink); background: transparent; }
.auth2 .auth2-lk-btn { color: var(--a-deep); background: none; border-radius: 0; padding: 0; }
.auth2 .auth2-cn-read { color: var(--a-lime); background: rgba(255,255,255,.08); border-radius: 10px; }

/* Mobil form sabitliği (v2-member.css ile aynı) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 991px) {
  .auth2 input, .auth2 select, .auth2 textarea { font-size: max(16px, 1em) !important; touch-action: manipulation; }
  html, body, .auth2 { overflow-x: clip; }
}
