/* =========================================================
 * Paketlen — Giriş / Üye Ol  (SEKMELİ / geçişli split-panel)
 * Sol koyu marka paneli + sağ sekmeli form. Kapsam: .pk-auth (yan etki yok).
 * ========================================================= */
.pk-auth { padding: 22px 28px 36px; }
.pk-auth *, .pk-auth *::before, .pk-auth *::after { box-sizing: border-box; }

.pk-auth-card {
  max-width: 940px; margin: 0 auto; background: #fff; border: none;
  border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch;
  box-shadow: 0 22px 55px -28px rgba(15,30,61,.30); animation: pk-auth-fade .3s ease;
}
@keyframes pk-auth-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Sol marka paneli (ortalanmış, avantaj listeli — boş/esnek durmaz) ---- */
.pk-auth-brand {
  flex: 1 1 340px; min-width: 300px; color: #EAF1FE;
  background: linear-gradient(165deg,#0B2E6B 0%,#0A1830 100%);
  padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.pk-auth-brand-logo { display: flex; align-items: baseline; gap: 2px; }
.pk-auth-brand-logo b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.pk-auth-brand-logo i { width: 7px; height: 7px; border-radius: 50%; background: #3B82F6; display: inline-block; margin-bottom: 4px; }
.pk-auth-brand-mid h2 { font-size: 29px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 12px; color: #fff; }
.pk-auth-brand-mid p { font-size: 14.5px; line-height: 1.6; color: #B9CCEC; margin: 0; max-width: 300px; }
.pk-auth-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pk-auth-benefits li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; color: #DCE8FF; }
.pk-auth-benefits svg { flex: 0 0 auto; width: 20px; height: 20px; padding: 4px; border-radius: 7px; background: rgba(127,176,255,.14); color: #7FB0FF; }
.pk-auth-brand-ssl { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: #8FB0E8; }
.pk-auth-brand-ssl svg { flex: 0 0 auto; }

/* ---- Sağ form paneli ---- */
.pk-auth-form { flex: 1 1 380px; min-width: 300px; padding: 30px 38px; }

/* ---- Sekmeler (net metin-sekme; tema buton stili SIZAMAZ) ---- */
.pk-auth-tabs { display: flex; gap: 4px; background: #EEF1F7; border-radius: 13px; padding: 5px; margin-bottom: 20px; }
.pk-auth-tab {
  cursor: pointer; flex: 1; border: none !important; outline: none; font-family: inherit;
  font-size: 14.5px; font-weight: 700; color: #6B7488; padding: 11px 10px; border-radius: 10px;
  background: transparent !important; box-shadow: none !important; text-transform: none; letter-spacing: 0;
  transition: background .15s, color .15s; -webkit-appearance: none; appearance: none; line-height: 1.2;
}
.pk-auth-tab:hover { color: #0F1E3D; }
.pk-auth-tab.is-active { color: #0F1E3D; background: #fff !important; box-shadow: 0 2px 6px rgba(15,30,61,.10) !important; }

.pk-auth-panel { animation: pk-auth-fade .25s ease; }
.pk-auth-panel[hidden] { display: none; }

/* ---- Alanlar ---- */
.pk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pk-label { font-size: 12.5px; font-weight: 700; color: #4B5568; }
/* Zorunlu alan yıldızı (*) — required input'lu alanların etiketine otomatik */
.pk-field:has(input[required]) .pk-label::after { content: " *"; color: #E7412F; font-weight: 800; }
.pk-input {
  width: 100%; border: 1px solid #E2E8F2; background: #fff; border-radius: 11px;
  padding: 13px 14px; font-family: inherit; font-size: 14.5px; color: #0F1E3D; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pk-input::placeholder { color: #AAB3C2; }
.pk-input:focus { border-color: #1D5AF0; box-shadow: 0 0 0 3px rgba(29,90,240,.13); }
.pk-input-wrap { position: relative; }
.pk-input-wrap .pk-input { padding-right: 48px; }
/* Göz butonu: tema buton stili (arka plan/kenarlık/gölge) SIZMASIN → ikon net dursun */
.pk-eye { cursor: pointer; position: absolute; right: 4px; top: 0; bottom: 0; width: 42px; display: flex; align-items: center; justify-content: center; color: #9AA3B4;
  border: none !important; background: transparent !important; box-shadow: none !important; outline: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; -webkit-appearance: none; appearance: none; }
.pk-eye:hover { color: #1D5AF0; background: transparent !important; }
.pk-eye svg { display: block; width: 19px; height: 19px; }
/* Tarayıcının KENDİ şifre-göster ikonunu gizle (Edge ::-ms-reveal) → yan yana 2 göz olmasın */
.pk-auth input[type="password"]::-ms-reveal,
.pk-auth input[type="password"]::-ms-clear { display: none !important; width: 0; height: 0; }
.pk-eye:hover { color: #1D5AF0; }
.pk-eye .pk-eye-off { display: none; }
.pk-eye.is-on .pk-eye-on { display: none; }
.pk-eye.is-on .pk-eye-off { display: block; }

.pk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 13px; }
.pk-grid-2 .pk-field { margin-bottom: 0; }

.pk-auth-meta { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 18px; gap: 12px; }
.pk-remember { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #4B5568; cursor: pointer; }
.pk-remember input { width: 16px; height: 16px; accent-color: #1D5AF0; margin: 0; }
.pk-link { cursor: pointer; border: none; background: transparent; color: #1D5AF0; font-family: inherit; font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 0; white-space: nowrap; }
.pk-link:hover { color: #1749C4; }

.pk-submit {
  cursor: pointer; width: 100%; border: none; background: #1D5AF0; color: #fff; font-family: inherit;
  font-size: 15px; font-weight: 700; padding: 15px; border-radius: 13px;
  box-shadow: 0 8px 20px rgba(29,90,240,.28); transition: background .15s;
}
.pk-submit:hover { background: #1749C4; }

/* ---- Hesap tipi kartları (kayıt) ---- */
.pk-acct-label { font-size: 12.5px; font-weight: 700; color: #4B5568; margin-bottom: 9px; }
.pk-acct-types { display: flex; gap: 10px; margin-bottom: 18px; }
.pk-acct {
  cursor: pointer; flex: 1; text-align: left; border: 1.5px solid #E6EAF2 !important; background: #fff !important;
  border-radius: 14px; padding: 13px 14px; font-family: inherit; position: relative; box-shadow: none !important; transition: border-color .15s, background .15s;
}
.pk-acct.is-active { border-color: #1D5AF0 !important; background: #F5F9FF !important; }
.pk-acct-radio { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #CBD5E6; display: flex; align-items: center; justify-content: center; transition: border-color .15s; }
.pk-acct.is-active .pk-acct-radio { border-color: #1D5AF0; }
.pk-acct-radio i { width: 8px; height: 8px; border-radius: 50%; background: #1D5AF0; opacity: 0; transition: opacity .15s; }
.pk-acct.is-active .pk-acct-radio i { opacity: 1; }
.pk-acct-ico { width: 30px; height: 30px; border-radius: 8px; background: #F1F4F9; color: #8A93A6; display: flex; align-items: center; justify-content: center; margin-bottom: 9px; transition: background .15s, color .15s; }
.pk-acct.is-active .pk-acct-ico { background: #EAF1FE; color: #1D5AF0; }
.pk-acct b { display: block; font-size: 14px; font-weight: 700; color: #0F1E3D; margin-bottom: 2px; }
.pk-acct em { display: block; font-style: normal; font-size: 11px; line-height: 1.3; color: #8A93A6; }

.pk-company[hidden] { display: none; }

.pk-terms { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: #5A6478; cursor: pointer; margin: 2px 0 16px; line-height: 1.5; }
.pk-terms input { width: 16px; height: 16px; accent-color: #1D5AF0; margin-top: 1px; flex-shrink: 0; }
.pk-terms a { color: #0F1E3D; font-weight: 700; text-decoration: none; }
.pk-terms a:hover { color: #1D5AF0; text-decoration: underline; }

/* ---- WooCommerce gizlilik metni gizli (kendi sözleşme onayı checkbox'ımız var; tekrar+yer kaplıyordu) ---- */
.pk-auth .woocommerce-privacy-policy-text { display: none !important; }
/* Kayıt formunda alanları biraz daha sıkıştır (tam ekrana sığsın) */
.pk-auth-panel .pk-terms { margin: 0 0 14px; }

/* ---- WooCommerce bildirim kutuları ---- */
.pk-auth .woocommerce-error,
.pk-auth .woocommerce-message,
.pk-auth .woocommerce-info {
  list-style: none; margin: 0 auto 16px; max-width: 940px; padding: 12px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
}
.pk-auth .woocommerce-error { background: #FDECEA; border: 1px solid #F5C6BE; color: #B4231A; }
.pk-auth .woocommerce-message { background: #E3F6EB; border: 1px solid #C3EBD2; color: #0B7A3B; }
.pk-auth .woocommerce-info { background: #F5F9FF; border: 1px solid #DCE8FF; color: #0B2E6B; }
.pk-auth .woocommerce-error a, .pk-auth .woocommerce-message a, .pk-auth .woocommerce-info a { color: inherit; font-weight: 700; }

/* ---- Mobil ---- */
@media (max-width: 720px) {
  .pk-auth { padding: 16px 14px 40px; }
  .pk-auth-card { border-radius: 20px; }
  .pk-auth-brand { flex-basis: auto; padding: 26px 24px; gap: 20px; }
  .pk-auth-brand-mid h2 { font-size: 23px; }
  .pk-auth-brand-mid p { max-width: none; }
  /* Mobilde marka panelini sadeleştir: başlık + SSL yeter, liste gizli (form öne çıksın) */
  .pk-auth-benefits { display: none; }
  .pk-auth-form { flex-basis: auto; padding: 24px 22px; }
  .pk-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .pk-grid-2 .pk-field { margin-bottom: 13px; }
}
