/* ==========================================================================
   Üyelik: Giriş / Üye Ol, şifremi unuttum, şifre sıfırlama (Giris.html)
   ========================================================================== */

.auth-page { padding-block: 48px 64px; }
.auth-grid { max-width: 1080px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 40px; align-items: stretch; }

/* Sol: sekmeli form kartı */
.auth-card {
  padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-hero);
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
}
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: var(--radius-card); background: var(--ground); }
.auth-tabs [role="tab"] {
  height: 48px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted);
  font-size: 15.5px; font-weight: 800; transition: background-color .15s, color .15s;
}
.auth-tabs [role="tab"]:hover { color: var(--ink); }
.auth-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(31, 95, 102, 0.12); }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form--register { gap: 14px; }
.auth-head { display: flex; flex-direction: column; gap: 4px; }
.auth-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.auth-head p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.auth-form .field > label { font-size: 13.5px; }
.auth-form .input-lg { height: 52px; padding: 0 16px; }
.auth-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.pw-wrap { position: relative; display: flex; }
.pw-wrap .input { padding-right: 56px; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center;
}
.pw-toggle:hover { color: var(--ink); background: var(--ground); }
.pw-toggle[aria-pressed="true"] { color: var(--petrol-600); }
.pw-toggle[aria-pressed="true"]::after {
  content: ""; position: absolute; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg);
}

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-row .check { align-items: center; }
.auth-row .check input { margin: 0; }
.auth-link { font-size: 14px; font-weight: 700; }
.check-legal { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.check-legal a { font-weight: 700; }

.btn-auth { height: 54px; border-radius: var(--radius-card); font-size: 16px; }
.btn-social { height: 52px; border-radius: var(--radius-card); font-size: 15px; font-weight: 700; }
.auth-sep { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.auth-sep span { flex-grow: 1; height: 1px; background: var(--border); }

/* Sağ: petrol avantajlar paneli */
.auth-perks {
  position: relative; overflow: hidden; min-width: 0; padding: 44px; border-radius: var(--radius-hero);
  background: var(--petrol-600); color: #fff; display: flex; flex-direction: column; gap: 28px;
}
.perk-ring { position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--petrol-700); }
.perk-disc { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; border-radius: 50%; background: var(--orange-600); }
.perk-basket { position: absolute; right: 40px; bottom: 40px; color: #fff; }
.perk-eyebrow {
  position: relative; align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--petrol-700);
  color: var(--apricot); font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
}
.auth-perks h2 { position: relative; max-width: 400px; font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.perk-list { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; max-width: 380px; }
.perk-list li { display: flex; gap: 14px; }
.perk-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--petrol-500); color: var(--apricot); display: flex; align-items: center; justify-content: center; }
.perk-list li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.perk-list strong { font-size: 15.5px; }
.perk-list li > span:last-child > span { font-size: 14px; line-height: 1.5; color: var(--petrol-50); }
.perk-list b { color: var(--apricot); font-weight: 800; letter-spacing: 0.02em; }

/* Tek kartlı sayfalar: şifremi unuttum / sıfırla */
.auth-single { max-width: 520px; margin-inline: auto; }
.auth-single .auth-card { gap: 20px; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-100); color: var(--orange-600); display: flex; align-items: center; justify-content: center; }
.auth-foot { font-size: 14px; color: var(--muted); text-align: center; }
.auth-foot a { font-weight: 700; }

/* Duyarlı */
@media (max-width: 1023px) {
  .auth-page { padding-block: 24px 40px; }
  .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 560px; }
  .auth-perks { padding: 32px 28px; gap: 22px; }
  .auth-perks h2 { font-size: 30px; }
  .perk-basket { width: 88px; height: 88px; right: 24px; bottom: 24px; }
  .perk-disc { width: 200px; height: 200px; }
}
@media (max-width: 767px) {
  .auth-page { padding-block: 16px 32px; }
  .auth-card { padding: 22px 18px; border-radius: 20px; gap: 20px; }
  .auth-head h1 { font-size: 26px; }
  .auth-2col { grid-template-columns: minmax(0, 1fr); }
  .auth-perks { padding: 26px 20px; border-radius: 20px; }
  .auth-perks h2 { font-size: 26px; }
  .perk-basket, .perk-disc, .perk-ring { display: none; }
}
