/* ================================================================
   Paragraf Gelişim Platformu – Ana CSS
   ================================================================ */

:root {
    --pgp-blue:        #2E75B6;
    --pgp-blue-dark:   #1A3A5C;
    --pgp-blue-light:  #D6E4F0;
    --pgp-green:       #1E7F4E;
    --pgp-green-light: #D9F0E5;
    --pgp-orange:      #C55A11;
    --pgp-orange-light:#FCE9D8;
    --pgp-gray:        #F5F7FA;
    --pgp-border:      #DEE2E6;
    --pgp-radius:      10px;
    --pgp-shadow:      0 2px 12px rgba(0,0,0,.08);
}

/* .pgp-wrap — TEK tanım (pgp-reset.css'teki !important'lı kopya kaldırıldı).
   Tema içerik alanını dar tutsa bile kendi genişliğimize çekeriz. */
.pgp-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.55;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Yalnızca ekran okuyucuya görünen etiket */
.pgp-sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pgp-label { display: block; font-weight: 600; margin-bottom: 6px; color: #333; }

/* ── Header ── */
.pgp-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.pgp-header h2 { margin: 0; color: var(--pgp-blue-dark); font-size: 1.6rem; }
.pgp-streak { background: #FFF3CD; color: #856404; padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: .95rem; }

/* ── Stats Grid ── */
.pgp-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin: 20px 0; }
.pgp-card { background: #fff; border-radius: var(--pgp-radius); box-shadow: var(--pgp-shadow); padding: 20px 16px; text-align: center; border-top: 4px solid var(--pgp-blue); }
.pgp-card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.pgp-card-value { font-size: 2rem; font-weight: 800; color: var(--pgp-blue-dark); line-height: 1; }
.pgp-card-label { font-size: .82rem; color: #666; margin-top: 6px; }

/* ── Chart Box ── */
.pgp-chart-box { background: #fff; border-radius: var(--pgp-radius); box-shadow: var(--pgp-shadow); padding: 24px; margin: 20px 0; }
.pgp-chart-box h3 { margin: 0 0 16px; color: var(--pgp-blue-dark); }

/* ── Card Box ── */
.pgp-card-box { background: #fff; border-radius: var(--pgp-radius); box-shadow: var(--pgp-shadow); padding: 24px; margin: 20px 0; }
.pgp-card-box h3 { margin: 0 0 16px; color: var(--pgp-blue-dark); border-bottom: 2px solid var(--pgp-blue-light); padding-bottom: 10px; }

/* ── Buttons ── */
.pgp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 8px; border: none; cursor: pointer; font-size: .95rem; font-weight: 600; text-decoration: none; transition: opacity .2s, transform .1s; }
.pgp-btn:hover { opacity: .88; transform: translateY(-1px); }
.pgp-btn:active { transform: translateY(0); }
.pgp-btn-primary { background: var(--pgp-blue);  color: #fff; }
.pgp-btn-success  { background: var(--pgp-green); color: #fff; }
.pgp-btn-lg  { padding: 14px 32px; font-size: 1.05rem; }
.pgp-btn-full { width: 100%; justify-content: center; }

.pgp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }

/* ── Badges ── */
.pgp-badges { margin: 20px 0; }
.pgp-badges h3 { color: var(--pgp-blue-dark); }
.pgp-badge-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pgp-badge { background: var(--pgp-blue-light); color: var(--pgp-blue-dark); padding: 6px 14px; border-radius: 20px; font-size: .88rem; font-weight: 600; cursor: default; }
.pgp-new-badges-box { background: #FFF9E6; border: 2px solid #F0C040; border-radius: var(--pgp-radius); padding: 14px 18px; margin: 16px 0; }

/* ── Speed Test ── */
.pgp-test-header { text-align: center; margin-bottom: 20px; }
.pgp-test-header h2 { color: var(--pgp-blue-dark); font-size: 1.8rem; }
.pgp-meta { color: #666; }
.pgp-instruction { background: var(--pgp-blue-light); border-radius: var(--pgp-radius); padding: 16px 20px; margin: 16px 0; color: var(--pgp-blue-dark); text-align: center; }
.pgp-timer-bar { background: var(--pgp-blue-dark); color: #fff; padding: 10px 16px; border-radius: 8px 8px 0 0; font-size: 1.1rem; font-weight: 700; }
.pgp-reading-text { background: #fff; border: 2px solid var(--pgp-blue-light); border-top: none; border-radius: 0 0 8px 8px; padding: 28px; font-size: 1.05rem; line-height: 1.9; color: #222; margin-bottom: 16px; }
#pgp-start-btn { display: block; margin: 24px auto; padding: 16px 48px; font-size: 1.15rem; }
#pgp-done-btn  { display: block; margin: 16px auto; }

/* ── Questions ── */
.pgp-question { background: #fff; border: 1px solid var(--pgp-border); border-radius: var(--pgp-radius); padding: 20px; margin: 16px 0; }
.pgp-q-text { font-size: 1rem; font-weight: 600; color: #222; margin-bottom: 14px; }
.pgp-qtype-badge { background: var(--pgp-orange-light); color: var(--pgp-orange); padding: 2px 10px; border-radius: 12px; font-size: .78rem; font-weight: 700; margin-right: 8px; }
.pgp-options { display: flex; flex-direction: column; gap: 10px; }
.pgp-option { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--pgp-border); transition: border-color .2s, background .2s; }
.pgp-option:hover { border-color: var(--pgp-blue); background: var(--pgp-blue-light); }
.pgp-option input[type=radio] { margin-top: 2px; flex-shrink: 0; }
.pgp-option.pgp-correct { border-color: var(--pgp-green); background: var(--pgp-green-light); }
.pgp-option.pgp-wrong   { border-color: #dc3545; background: #FDE8E8; }
.pgp-feedback { padding: 6px 0; font-weight: 700; }
.pgp-fb-correct { color: var(--pgp-green); }
.pgp-fb-wrong   { color: #dc3545; }
/* Görüntüleme sırasına göre şık harfi (A, B, C…) ve sonuçta doğru şık vurgusu */
.pgp-opt-letter { flex-shrink: 0; min-width: 1.6em; font-weight: 700; color: var(--pgp-blue-dark); }
.pgp-opt-text { flex: 1 1 auto; min-width: 0; }
.pgp-option.pgp-correct .pgp-opt-letter { color: var(--pgp-green); }
.pgp-option.pgp-wrong .pgp-opt-letter { color: #dc3545; }
.pgp-option.pgp-correct-answer { border-color: var(--pgp-green); background: var(--pgp-green-light); box-shadow: 0 0 0 2px rgba(30,127,78,.25); }
.pgp-option.pgp-correct-answer .pgp-opt-text { font-weight: 600; }
.pgp-option input[type=radio]:disabled { cursor: default; }

/* ── Result ── */
.pgp-result-box { background: linear-gradient(135deg, var(--pgp-blue-dark), var(--pgp-blue)); color: #fff; border-radius: var(--pgp-radius); padding: 36px; text-align: center; }
.pgp-result-box h3 { font-size: 1.6rem; margin-bottom: 24px; }
.pgp-result-grid { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.pgp-result-value { font-size: 2.4rem; font-weight: 900; }
.pgp-result-label { font-size: .9rem; opacity: .85; margin-top: 4px; }
.pgp-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ── Table ── */
.pgp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.pgp-table-wrap > table { min-width: 560px; }
.pgp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pgp-table th { background: var(--pgp-blue-dark); color: #fff; padding: 10px 14px; text-align: left; }
.pgp-table td { padding: 10px 14px; border-bottom: 1px solid var(--pgp-border); }
.pgp-table tr:last-child td { border-bottom: none; }
.pgp-table tr:hover td { background: var(--pgp-gray); }

/* ── Auth Forms ── */
.pgp-auth { max-width: 440px; }
.pgp-form { background: #fff; border-radius: var(--pgp-radius); box-shadow: var(--pgp-shadow); padding: 32px; }
.pgp-form-group { margin-bottom: 18px; }
.pgp-form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #333; }
.pgp-input { border: 2px solid var(--pgp-border); border-radius: 8px; padding: 10px 14px; font-size: .95rem; transition: border-color .2s; }
.pgp-input:focus { outline: none; border-color: var(--pgp-blue); box-shadow: 0 0 0 3px rgba(46,117,182,.28); }
.pgp-input:focus-visible, .pgp-btn:focus-visible, .pgp-range-btn:focus-visible, .pgp-option:focus-within { outline: 2px solid var(--pgp-blue); outline-offset: 2px; }
.pgp-input-full { width: 100%; box-sizing: border-box; }
.pgp-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .9rem; cursor: pointer; }
.pgp-auth-link { text-align: center; font-size: .9rem; margin-top: 14px; color: #666; }
.pgp-auth-link a { color: var(--pgp-blue); }

/* ── Form Row ── */
.pgp-form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── Messages ── */
.pgp-msg { padding: 12px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 12px; }
.pgp-success { background: var(--pgp-green-light); color: var(--pgp-green); border: 1px solid var(--pgp-green); }
.pgp-error   { background: #FDE8E8; color: #B91C1C; border: 1px solid #F87171; }
.pgp-info    { background: var(--pgp-blue-light); color: var(--pgp-blue-dark); padding: 12px 16px; border-radius: 8px; }

/* ── Child Card ── */
.pgp-child-card { border-left: 5px solid var(--pgp-blue); }

/* ── Danger Button ── */
.pgp-btn-danger { background: #C0392B; color: #fff; }

/* ── Pending Requests Box ── */
.pgp-pending-box { border-left: 5px solid #F39C12; background: #FFFBEA; }
.pgp-pending-box h3 { color: #B7791F; }
.pgp-pending-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 14px; background: #fff; border: 1px solid var(--pgp-border);
    border-radius: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.pgp-pending-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; }
.pgp-pending-info strong { color: var(--pgp-blue-dark); font-size: 1.05rem; }
.pgp-pending-meta { font-size: .85rem; color: #666; }
.pgp-pending-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pgp-pending-actions .pgp-btn { padding: 8px 16px; font-size: .9rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .pgp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pgp-result-grid { gap: 20px; }
    .pgp-result-value { font-size: 1.8rem; }
    .pgp-pending-row { flex-direction: column; align-items: stretch; }
    .pgp-pending-actions { justify-content: stretch; }
    .pgp-pending-actions .pgp-btn { flex: 1; justify-content: center; }
}

/* ============================================================
   Gelişim Raporu — şablon stilleri (templates/student|parent/gelisim.php
   içindeki <style> bloğundan taşındı). .pgp-card YENİDEN TANIMLANMAZ;
   kart görünümü aşağıdaki v1.9.8 kapsamlı bloktan gelir.
   ============================================================ */
.pgp-gelisim-wrap { max-width: 1100px; margin: 0 auto; padding: 16px; }
.pgp-gelisim-header { text-align: center; margin-bottom: 20px; }
.pgp-gelisim-header h2 { font-size: 28px; margin: 0 0 6px; }
.pgp-gelisim-sub { color: #5f6b78; margin: 0; font-size: 14px; }

.pgp-range-selector { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 24px; }
.pgp-range-btn {
    background: #fff; border: 1px solid #c3c9d1; color: #333;
    padding: 8px 16px; border-radius: 20px; cursor: pointer;
    font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.pgp-range-btn:hover { background: #f0f4f8; border-color: #3b6fd6; }
.pgp-range-btn.active,
.pgp-range-btn[aria-selected="true"] { background: #3b6fd6; border-color: #3b6fd6; color: #fff; box-shadow: 0 2px 8px rgba(59,111,214,0.3); }

.pgp-gelisim-loading { text-align: center; padding: 40px 20px; color: #5f6b78; }
.pgp-spinner {
    width: 40px; height: 40px; margin: 0 auto 12px;
    border: 4px solid #e5e9f0; border-top-color: #3b6fd6;
    border-radius: 50%; animation: pgp-spin 0.8s linear infinite;
}
@keyframes pgp-spin { to { transform: rotate(360deg); } }

.pgp-gelisim-error { background: #fff4f4; border-left: 4px solid #d32f2f; padding: 14px 18px; border-radius: 4px; color: #8a1a1a; }
.pgp-gelisim-error-detail { font-size: 12px; color: #9b3b3b; margin: 6px 0 0; }

.pgp-gelisim-empty { text-align: center; padding: 50px 20px; background: #fafbfc; border-radius: 12px; }
.pgp-gelisim-empty-icon { font-size: 56px; margin-bottom: 10px; }
.pgp-gelisim-empty h3 { margin: 0 0 8px; }

.pgp-gelisim-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.pgp-card-bar { background: #eee; height: 6px; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.pgp-card-bar-fill { background: #4caf50; height: 100%; width: 0; transition: width 0.5s ease; }
.pgp-card-box-sub { color: #5f6b78; font-size: 13px; margin: 0 0 16px; }

.pgp-chart-container { position: relative; height: 280px; }
.pgp-chart-radar { height: 320px; }

/* Radar + tespitler satırı (eski .pgp-gelisim-row ile çakışmayı önlemek için yeni ad) */
.pgp-gr-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 768px) { .pgp-gr-row { grid-template-columns: 1fr; } }

.pgp-gelisim-insights .pgp-insight { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin-bottom: 12px; border-radius: 8px; background: #fafbfc; }
.pgp-insight-weak   { background: #fff3e0; }
.pgp-insight-strong { background: #e8f5e9; }
.pgp-insight-tip    { background: #e3f2fd; }
.pgp-insight-icon { font-size: 24px; flex-shrink: 0; }
.pgp-insight-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; color: #444; }
.pgp-insight-text { color: #333; font-size: 14px; line-height: 1.4; }

.pgp-gelisim-footer { text-align: center; color: #5f6b78; margin-top: 16px; }

/* Hız testi sonuç etiketi (speed-test.php inline stilinden) */
.pgp-dpm-label { text-align: center; font-size: 1rem; margin: 8px 0; color: #555; }
/* Kayıt sayfası giriş metni (register.php inline stilinden) */
.pgp-auth-intro { text-align: center; color: #5f6b78; margin: -4px 0 16px; font-size: 14px; line-height: 1.5; }

/* ============================================================
   Gelişim Raporu — görsel iyileştirme (v1.9.8)
   .pgp-gelisim-wrap kapsamı: öğrenci + veli raporlarını
   tek yerden renklendirir. Şablon içi stilleri override eder.
   ============================================================ */
.pgp-gelisim-wrap .pgp-gelisim-cards{display:grid;gap:16px;margin:20px 0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.pgp-gelisim-wrap .pgp-card{
    position:relative;overflow:hidden;text-align:left;padding:18px 18px 16px;
    border:1px solid #eef2f7;border-top:none;border-radius:14px;background:#fff;
    box-shadow:0 4px 16px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease;
}
.pgp-gelisim-wrap .pgp-card::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:var(--pgp-accent,#2563eb);}
.pgp-gelisim-wrap .pgp-card::after{content:"";position:absolute;top:-28px;right:-28px;width:88px;height:88px;border-radius:50%;background:var(--pgp-accent,#2563eb);opacity:.09;}
.pgp-gelisim-wrap .pgp-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.14);}
.pgp-gelisim-wrap .pgp-card-blue{--pgp-accent:#2563eb;}
.pgp-gelisim-wrap .pgp-card-green{--pgp-accent:#16a34a;}
.pgp-gelisim-wrap .pgp-card-orange{--pgp-accent:#ea580c;}
.pgp-gelisim-wrap .pgp-card-purple{--pgp-accent:#9333ea;}
.pgp-gelisim-wrap .pgp-card-teal{--pgp-accent:#0d9488;}
.pgp-gelisim-wrap .pgp-card-pink{--pgp-accent:#db2777;}
.pgp-gelisim-wrap .pgp-card-label{font-size:11.5px;text-transform:uppercase;letter-spacing:.6px;color:#64748b;font-weight:700;margin:0 0 4px;}
.pgp-gelisim-wrap .pgp-card-value{font-size:31px;font-weight:800;color:#0f172a;line-height:1.05;}
.pgp-gelisim-wrap .pgp-card-meta{font-size:12px;color:#64748b;margin-top:5px;}
.pgp-gelisim-wrap .pgp-card-bar{background:#eef2f7;height:7px;border-radius:4px;margin-top:11px;overflow:hidden;}
.pgp-gelisim-wrap .pgp-card-bar-fill{height:100%;width:0;border-radius:4px;background:var(--pgp-accent,#2563eb);transition:width .6s ease;}
.pgp-gelisim-wrap .pgp-card-box{border-radius:16px;box-shadow:0 4px 16px rgba(15,23,42,.06);border:1px solid #eef2f7;padding:22px;margin:18px 0;}
.pgp-gelisim-wrap .pgp-card-box h3{color:#1e293b;border-bottom:2px solid #eef2f7;font-size:17px;padding-bottom:10px;}
.pgp-gelisim-wrap .pgp-card-box-sub{color:#64748b;font-size:13.5px;margin:-6px 0 14px;}
.pgp-gelisim-wrap .pgp-gelisim-header h2{font-size:24px;color:#0f172a;}
.pgp-gelisim-wrap .pgp-gelisim-sub{color:#64748b;}
.pgp-gelisim-wrap .pgp-gelisim-empty{text-align:center;padding:36px 20px;color:#64748b;}
.pgp-gelisim-wrap .pgp-gelisim-empty-icon{font-size:42px;margin-bottom:8px;}

/* ============================================================
   v1.13.0 — Paragraf Çöz iki modlu hub + mod göstergesi
   ============================================================ */
.pgp-solve-hub { max-width: 760px; margin: 0 auto; }
.pgp-hub-intro { color:#475569; font-size:1.05em; margin:.25em 0 1.25em; }
.pgp-hub-cards {
    display:grid; grid-template-columns:1fr 1fr; gap:18px;
}
@media (max-width: 640px){ .pgp-hub-cards{ grid-template-columns:1fr; } }
.pgp-hub-card {
    display:flex; flex-direction:column; align-items:flex-start;
    text-decoration:none; border:2px solid #e2e8f0; border-radius:16px;
    padding:22px 20px 18px; background:#fff; transition:all .15s ease;
    box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.pgp-hub-card:hover { transform:translateY(-3px); box-shadow:0 8px 22px rgba(0,0,0,.10); }
.pgp-hub-ico { font-size:2.4em; line-height:1; margin-bottom:.35em; }
.pgp-hub-title { font-size:1.2em; font-weight:800; color:#0f172a; margin-bottom:.4em; }
.pgp-hub-desc { color:#475569; font-size:.95em; line-height:1.5; flex:1; }
.pgp-hub-go { margin-top:14px; font-weight:700; }
.pgp-hub-normal { border-color:#bfdbfe; }
.pgp-hub-normal:hover { border-color:#2563eb; }
.pgp-hub-normal .pgp-hub-title, .pgp-hub-normal .pgp-hub-go { color:#2563eb; }
.pgp-hub-hizli { border-color:#fde68a; }
.pgp-hub-hizli:hover { border-color:#d97706; }
.pgp-hub-hizli .pgp-hub-title, .pgp-hub-hizli .pgp-hub-go { color:#d97706; }
.pgp-hub-oyun { border-color:#ddd6fe; }
.pgp-hub-oyun:hover { border-color:#7c3aed; }
.pgp-hub-oyun .pgp-hub-title, .pgp-hub-oyun .pgp-hub-go { color:#7c3aed; }

/* Mod göstergesi (çözüm ekranlarında üstte) */
.pgp-mode-back { font-size:.9em; margin:.2em 0 1em; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.pgp-mode-back a { color:#64748b; text-decoration:none; font-weight:600; }
.pgp-mode-back a:hover { color:#0f172a; text-decoration:underline; }
.pgp-mode-pill { background:#f1f5f9; color:#475569; border-radius:999px; padding:3px 12px; font-weight:700; font-size:.92em; }

/* ============================================================
   v1.13.1 — Çözüm öncesi soru bilgi kutusu (alıştırma + hızlı okuma)
   ============================================================ */
.pgp-quiz-intro {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe; border-left: 5px solid #6366f1;
    border-radius: 12px; padding: 14px 18px; margin: 0 0 18px;
}
.pgp-quiz-intro-head { font-weight: 800; color: #4338ca; font-size: 1.02em; margin-bottom: 4px; }
.pgp-quiz-intro-text { color: #334155; margin: 0 0 8px; line-height: 1.5; }
.pgp-quiz-intro-types { display: flex; flex-wrap: wrap; gap: 6px; }
.pgp-quiz-intro-types .pgp-qtype-badge { margin-right: 0; }

/* ============================================================
   v1.14.0 — Ana sayfa vitrini: anonim toplam + rumuzlu liderlik
   ============================================================ */
.pgp-vitrin { max-width: 760px; margin: 0 auto; }
.pgp-vitrin-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px;
}
@media (max-width: 600px){ .pgp-vitrin-stats { grid-template-columns: repeat(2, 1fr); } }
.pgp-vstat {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe; border-radius: 14px; padding: 16px 12px; text-align: center;
}
.pgp-vstat-num { display: block; font-size: 1.7em; font-weight: 800; color: #4338ca; line-height: 1.1; }
.pgp-vstat-lbl { display: block; font-size: .82em; color: #475569; margin-top: 4px; }

.pgp-vitrin-title { margin: 6px 0 2px; }
.pgp-vitrin-note { color: #64748b; font-size: .88em; margin: 0 0 12px; }
.pgp-vitrin-board-wrap { overflow-x: auto; }
.pgp-vitrin-board { width: 100%; border-collapse: collapse; }
.pgp-vitrin-board th, .pgp-vitrin-board td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef2f7; }
.pgp-vitrin-board th { font-size: .85em; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.pgp-vitrin-board tbody tr:hover { background: #f8fafc; }
.pgp-vrank { width: 44px; font-size: 1.15em; text-align: center; font-weight: 800; color: #334155; }
.pgp-vnick { font-weight: 700; color: #0f172a; }
.pgp-vsuccess { font-weight: 700; color: #16a34a; }
.pgp-vdpm { font-weight: 700; color: #d97706; white-space: nowrap; }
.pgp-vdpm small { color: #64748b; font-weight: 600; }
.pgp-vrow-top { background: #fffbeb; }
.pgp-vrow-top:hover { background: #fef3c7; }
.pgp-vrow-top .pgp-vnick { color: #92400e; }

/* ============================================================
   v1.14.1 — Panel "Hızlı Erişim" döşemeleri (rol-duyarlı geçişler)
   ============================================================ */
.pgp-nav-tiles-wrap { margin: 0 0 24px; }
.pgp-nav-tiles-title { margin: 0 0 10px; font-size: 1.05em; color: #334155; }
.pgp-nav-tiles {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px;
}
.pgp-nav-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 14px;
    padding: 16px 10px; text-align: center; transition: all .15s ease; min-height: 92px;
}
.pgp-nav-tile:hover { border-color: #6366f1; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(99,102,241,.14); }
.pgp-nav-tile-ico { font-size: 1.9em; line-height: 1; margin-bottom: 8px; }
.pgp-nav-tile-lbl { font-size: .92em; font-weight: 700; color: #0f172a; }
.pgp-nav-tile:hover .pgp-nav-tile-lbl { color: #4338ca; }

/* === Bölge (il/ilçe) seçimi — kayıt + profil === */
.pgp-region-fields { display: flex; gap: 10px; }
.pgp-region-fields select {
    flex: 1; min-width: 0; padding: 10px 12px;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 15px; background: #fff; color: #1c2733;
    font-family: inherit; cursor: pointer;
}
.pgp-region-fields select:focus { outline: none; border-color: #2E75B6; box-shadow: 0 0 0 3px rgba(46,117,182,.28); }
@media (max-width: 480px) { .pgp-region-fields { flex-direction: column; } }

/* Gelişim Raporu — Oyun Gelişim Takibi bölümü */
.pgp-gp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin-top:12px; }
.pgp-gp-card { background:#faf9ff; border:1px solid #e6e1f7; border-radius:11px; padding:12px 14px; }
.pgp-gp-head { font-weight:700; color:#2E4374; font-size:15px; margin-bottom:8px; }
.pgp-gp-ico { font-size:18px; }
.pgp-gp-stats { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:14px; color:#44546A; font-weight:600; }
.pgp-gp-stats span { white-space:nowrap; }
@media print { .pgp-gp-grid { grid-template-columns:repeat(3,1fr); } }

/* ── Oyun Gelişim Rapor Kartı (zengin, Hızlı Okuma raporu formatında) ── */
.pgp-game-report-card { background:#fff; border:1px solid #e7e9f0; border-radius:14px; padding:18px 20px; margin:16px 0; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.pgp-grc-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; border-bottom:1px solid #eef0f5; padding-bottom:12px; margin-bottom:14px; }
.pgp-grc-title { font-size:19px; font-weight:800; color:#1e293b; }
.pgp-grc-last { font-size:12px; color:#64748b; }
.pgp-grc-stats { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; margin-bottom:16px; }
.pgp-grc-stat { background:#fbfcfe; border:1px solid #eef1f6; border-radius:10px; padding:12px 6px; text-align:center; }
.pgp-grc-stat-v { font-size:24px; font-weight:800; color:#1e293b; line-height:1.1; }
.pgp-grc-stat-l { font-size:11px; color:#64748b; margin-top:4px; font-weight:600; }
.pgp-grc-table { width:100%; border-collapse:collapse; font-size:14px; margin-bottom:14px; }
.pgp-grc-table th, .pgp-grc-table td { padding:9px 10px; text-align:left; border-bottom:1px solid #eef0f5; }
.pgp-grc-table th { background:#f6f7fb; color:#475569; font-weight:700; white-space:nowrap; }
.pgp-grc-table td:nth-child(n+2), .pgp-grc-table th:nth-child(n+2) { text-align:center; }
.pgp-grc-table tbody tr:hover { background:#fafbff; }
.pgp-grc-assess { background:#eff6ff; border:1px solid #d7e6fb; border-radius:11px; padding:14px 16px; margin-bottom:12px; }
.pgp-grc-assess-title { font-weight:700; color:#1d4ed8; margin-bottom:8px; }
.pgp-grc-assess ul { margin:0; padding-left:20px; color:#334155; }
.pgp-grc-assess li { margin:5px 0; line-height:1.5; }
.pgp-grc-key { font-size:12px; color:#64748b; line-height:1.5; margin:0 0 12px; }
.pgp-grc-print { margin-top:6px; }
@media (max-width:640px){ .pgp-grc-stats { grid-template-columns:repeat(3,1fr); } }
@media print { .pgp-grc-stats { grid-template-columns:repeat(6,1fr); } .pgp-game-report-card { box-shadow:none; border:1px solid #ccc; } }

/* Oyun raporu — performansa göre öneri bloğu */
.pgp-grc-reco { display:flex; gap:10px; align-items:flex-start; background:#fef9ec; border:1px solid #f5e3b3; border-radius:11px; padding:12px 14px; margin-bottom:14px; }
.pgp-grc-reco-ico { font-size:20px; line-height:1.2; }
.pgp-grc-reco-title { font-weight:700; color:#a16207; font-size:13px; margin-bottom:3px; }
.pgp-grc-reco-msg { color:#4b4636; font-size:14px; line-height:1.5; }

/* ── Hareket azaltma tercihi ── */
@media (prefers-reduced-motion: reduce) {
    .pgp-wrap *, .pgp-wrap *::before, .pgp-wrap *::after,
    .pgp-gelisim-wrap *, .pgp-rev-wrap *, .pgp-sub-wrap * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .pgp-btn:hover, .pgp-card:hover, .pgp-nav-tile:hover, .pgp-hub-card:hover,
    .pgp-gelisim-wrap .pgp-card:hover { transform: none; }
    .pgp-spinner { animation: none; border-top-color: #3b6fd6; }
}

/* ── v1.92.0: Kayıt — hesap türü kartları ───────────────────────── */
.pgp-acct-picker { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pgp-acct-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pgp-acct-card {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 4px; padding: 18px 14px 16px; border: 2px solid #dbe3ec; border-radius: 14px; background: #fff;
    cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pgp-acct-card:hover { border-color: var(--pgp-blue, #2E75B6); box-shadow: 0 4px 14px rgba(46,117,182,.12); }
.pgp-acct-card.is-selected { border-color: var(--pgp-blue, #2E75B6); background: #f3f8fd; box-shadow: 0 0 0 3px rgba(46,117,182,.18); }
.pgp-acct-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pgp-acct-card:focus-within { outline: 3px solid rgba(46,117,182,.55); outline-offset: 2px; }
.pgp-acct-icon { font-size: 34px; line-height: 1; margin-bottom: 4px; }
.pgp-acct-title { font-weight: 700; font-size: 16px; color: #1e293b; }
.pgp-acct-desc { font-size: 13.5px; line-height: 1.45; color: #475569; }
.pgp-acct-note { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: #9a3412; background: #fff7ed; border-radius: 8px; padding: 4px 8px; }
.pgp-acct-selected {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px; border: 1px solid #cfe0f1; border-radius: 10px; background: #f3f8fd; font-size: 14.5px;
}
.pgp-acct-selected[hidden], .pgp-acct-cards[hidden] { display: none; }
.pgp-acct-selected-label { color: #475569; }
.pgp-acct-change { background: none; border: 0; padding: 4px 6px; color: var(--pgp-blue, #2E75B6); font-weight: 600; cursor: pointer; text-decoration: underline; font-size: 14px; }
.pgp-acct-change:focus-visible { outline: 2px solid var(--pgp-blue, #2E75B6); outline-offset: 2px; border-radius: 4px; }
.pgp-birth-row { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; gap: 8px; }
.pgp-birth-row .pgp-input { width: 100%; min-width: 0; }
#pgp-individual-fields[hidden], #pgp-institution-fields[hidden], #pgp-coach-fields[hidden], #pgp-student-fields[hidden] { display: none; }
@media (min-width: 640px) {
    .pgp-auth.pgp-auth-wide { max-width: 680px; }
    .pgp-acct-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .pgp-acct-card { transition: none; }
}
