/* Üye portalı (uye-girisi.html) — Keşfet tasarımı (08.10.2026). Değişkenler ve üst/alt kısım kesfet.css'ten gelir. */
.p-main { padding-block: 28px 8px; min-height: 60vh; }
.p-main [hidden], .p-bildirim[hidden] { display: none !important; }
.p-nav a { color: var(--ink); }
.p-yukleniyor { display: flex; align-items: center; gap: 12px; padding: 60px 0; color: var(--green); font-weight: 600; }
.p-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #d7e4dd; border-top-color: var(--green); animation: p-don .8s linear infinite; }
@keyframes p-don { to { transform: rotate(360deg); } }

/* Karşılama bandı */
.p-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; background: var(--green); color: #fff;
  border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 10px 30px rgba(17, 73, 58, .18); }
.p-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfe2d8; }
.p-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 10px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; color: #e3eee8; font-size: 15.5px; }
.p-meta i { color: var(--gold); margin-right: 4px; }
.p-meta b { font-weight: 600; color: #fff; }
.p-ozet { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.p-ozet > div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 16px; min-width: 112px; }
.p-ozet dt { font-size: 13px; font-weight: 600; color: #cfe2d8; }
.p-ozet dd { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.p-ozet dd.p-ozet-tarih { font-size: 19px; padding-top: 6px; }
.p-ozet .is-gecikme { background: #fbe3d3; border-color: #fbe3d3; }
.p-ozet .is-gecikme dt, .p-ozet .is-gecikme dd { color: #8a3a0d; }

/* Bölümler */
.p-bolum { margin-top: 30px; }
.p-bolum h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; line-height: 1.15; }
.p-bolum-bas p, .p-not { color: var(--ink-soft); margin: 0 0 14px; font-size: 15px; }
.p-iki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.p-kutu { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }

/* Ödünç kartları */
.p-kartlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.p-kart { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.p-kart img { width: 64px; height: 92px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #efede6; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.p-kart-govde { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.p-kart h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0; line-height: 1.25; }
.p-yazar { margin: 2px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.p-tarihler { margin: 8px 0 10px; font-size: 14.5px; color: var(--ink); }
.p-tarihler b { font-weight: 600; }
.p-kart-alt { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.p-kucuk { padding: 7px 14px; font-size: 14.5px; }
.p-bekleme { font-size: 14px; color: #6b4a07; font-weight: 600; }
.p-durum { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.p-durum.is-tamam { background: #e3f3e6; color: #23703a; }
.p-durum.is-gecikme { background: #fbe3d3; color: #8a3a0d; }
.p-durum.is-bekliyor { background: #fbefd3; color: #6b4a07; }
.p-durum.is-notr { background: #efede6; color: #4c514e; }
.p-bos { list-style: none; color: var(--ink-soft); padding: 18px; background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; }
.p-bos i { color: var(--green); margin-right: 6px; }
.p-bos a { color: var(--green); font-weight: 600; }

/* Formlar */
.p-alan { display: block; margin: 0 0 14px; border: 0; padding: 0; }
.p-alan > span, .p-alan > legend { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; padding: 0; }
.p-alan input, .p-alan textarea, .p-istek input { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 10px 14px; box-sizing: border-box; }
.p-alan input:focus, .p-alan textarea:focus, .p-istek input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(17, 73, 58, .14); }
.p-alan input:disabled { background: #f4f3ee; color: var(--ink-soft); }
.p-alan + .p-not { margin-top: -8px; }
.p-secimler { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.p-secim { display: flex; align-items: center; gap: 10px; font-size: 15.5px; cursor: pointer; }
.p-secim input { width: 18px; height: 18px; accent-color: var(--green); }
/* Üye olunan kütüphaneler: salt okunur liste (09.10.2026) */
.p-subeler { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.p-subeler li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--green-soft, #eef4f1); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.p-subeler i { color: var(--green); }
.p-istek { display: flex; gap: 10px; margin-bottom: 14px; }
.p-istek .k-btn { flex-shrink: 0; }
.p-istekler { list-style: none; margin: 0; padding: 0; }
.p-istekler li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.p-istekler li:last-child { border-bottom: 0; }
.p-istekler .p-bos { border: 1px dashed var(--line); }

/* Geçmiş */
.p-gecmis { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px; }
.p-gecmis summary { cursor: pointer; display: flex; align-items: baseline; gap: 8px; padding-block: 14px; list-style: none; }
.p-gecmis summary::-webkit-details-marker { display: none; }
.p-gecmis summary::after { content: "\F282"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--green); transition: transform .2s ease; }
.p-gecmis[open] summary::after { transform: rotate(180deg); }
.p-gecmis summary h2 { margin: 0; }
.p-gecmis summary span { color: var(--ink-soft); }
.p-gecmis-liste { list-style: none; margin: 0 0 12px; padding: 0; }
.p-gecmis-liste li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.p-gecmis-liste li span:last-child { color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-gecmis-ad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* İlk giriş şifre belirleme (08.10.2026) */
.p-sifre { max-width: 520px; margin: 10px auto 0; }
.p-sifre h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.p-sifre .k-btn { width: 100%; justify-content: center; margin-top: 4px; }

.p-hatirlatma { margin: 26px 0 0; padding: 14px 18px; border-radius: 14px; background: #fbf4e3; color: #5b4310; font-size: 15px; }
.p-hatirlatma i { margin-right: 6px; }

/* Pencere ve bildirim */
.p-pencere h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.p-pencere textarea { resize: vertical; }
.p-pencere-alt { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.p-bildirim { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(560px, calc(100vw - 32px));
  padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.p-bildirim.is-tamam { background: var(--green); color: #fff; }
.p-bildirim.is-hata { background: #8a3a0d; color: #fff; }
.p-bildirim.is-bilgi { background: #1b1d1c; color: #fff; }

@media (max-width: 860px) {
  .p-iki { grid-template-columns: 1fr; }
  .p-nav { display: none; }
  .p-kartlar { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .k-header-row { flex-wrap: wrap; gap: 10px; }
  .k-header-row .k-search { order: 3; width: 100%; }
  .k-header-row .k-brand { margin-right: auto; }
  .k-header-row .k-login-wrap { order: 2; }
  .p-ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .p-ozet > div { min-width: 0; padding: 8px 10px; }
  .p-ozet dt { font-size: 12px; }
  .p-ozet dd { font-size: 24px; }
  .p-ozet dd.p-ozet-tarih { font-size: 15px; padding-top: 6px; }
  .p-hero { padding: 20px; }
  .p-ozet > div { flex: 1; min-width: 90px; }
  .p-istek { flex-direction: column; }
  .p-gecmis { padding: 4px 16px; }
}
@media (prefers-reduced-motion: reduce) { .p-spin { animation: none; } }
