﻿/* ===== Yuksel Kontrol — Forum ===== */
.forum-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.forum-bc { color:var(--muted); font-size:.9rem; margin-bottom:14px; }
.forum-bc a { color:var(--brand-text); text-decoration:none; }
.forum-stat-box { display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:.92rem; }
.forum-stat-box b { color:var(--heading); }

.forum-group { margin-bottom:24px; }
.forum-group > .gt { font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; color:var(--brand-text); font-weight:800; margin:0 0 8px; padding-inline-start:4px; }
.cat-list, .topic-list { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface-card); box-shadow:var(--shadow-sm); }
.cat-row { display:flex; align-items:center; gap:16px; padding:15px 18px; border-bottom:1px solid var(--line); }
.cat-row:last-child, .topic-row:last-child { border-bottom:0; }
.cat-ico { width:50px; height:50px; border-radius:12px; background:var(--bg-soft); color:var(--brand-strong-text); display:grid; place-items:center; font-size:1.5rem; flex:0 0 auto; }
.cat-main { flex:1; min-width:0; }
.cat-main h3 { font-size:1.06rem; margin:0; }
.cat-main h3 a { color:var(--heading); text-decoration:none; }
.cat-main h3 a:hover { color:var(--brand-strong-text); }
.cat-main p { margin:.15rem 0 0; color:var(--muted); font-size:.9rem; }
.cat-stats { flex:0 0 auto; text-align:center; color:var(--muted); font-size:.8rem; min-width:90px; }
.cat-stats b { display:block; color:var(--heading); font-size:1.05rem; }
.cat-last { flex:0 0 auto; min-width:175px; font-size:.8rem; color:var(--muted); }
.cat-last a { color:var(--brand-text); font-weight:600; text-decoration:none; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:175px; }
@media (max-width:768px){ .cat-stats, .cat-last { display:none; } }

.topic-row { display:flex; align-items:center; gap:14px; padding:13px 16px; border-bottom:1px solid var(--line); }
.topic-ico { width:40px; height:40px; border-radius:50%; background:var(--bg-soft); color:var(--brand-strong-text); display:grid; place-items:center; flex:0 0 auto; }
.topic-main { flex:1; min-width:0; }
.topic-main a.t { color:var(--heading); font-weight:700; text-decoration:none; }
.topic-main a.t:hover { color:var(--brand-strong-text); }
.topic-main .meta { color:var(--muted); font-size:.82rem; margin-top:2px; }
.topic-rv { flex:0 0 auto; text-align:center; color:var(--muted); font-size:.78rem; min-width:74px; }
.topic-rv b { display:block; color:var(--heading); font-size:1rem; }
.topic-last { flex:0 0 auto; min-width:150px; font-size:.78rem; color:var(--muted); }
@media (max-width:768px){ .topic-rv, .topic-last { display:none; } }

.tbadge { display:inline-block; font-size:.68rem; font-weight:800; padding:2px 8px; border-radius:20px; margin-inline-end:5px; vertical-align:middle; }
.tb-pin { background:#fff3cd; color:#8a6d00; } .tb-lock { background:#e9ecef; color:#555; } .tb-ans { background:#d1e7dd; color:#0f5132; }

.post-card { display:flex; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface-card); margin-bottom:16px; box-shadow:var(--shadow-sm); }
.post-card.is-answer { border-color:#198754; box-shadow:0 0 0 2px rgba(25,135,84,.18); }
.author-col { flex:0 0 172px; background:var(--bg-soft); padding:16px; text-align:center; border-inline-end:1px solid var(--line); }
.author-av { width:54px; height:54px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:1.35rem; font-weight:800; margin:0 auto 8px; }
.author-name { font-weight:700; color:var(--heading); font-size:.95rem; word-break:break-word; }
.author-badge { display:inline-block; margin-top:5px; font-size:.68rem; font-weight:800; background:var(--accent); color:var(--heading); padding:2px 9px; border-radius:20px; }
.author-meta { color:var(--muted); font-size:.74rem; margin-top:6px; }
.post-body-col { flex:1; min-width:0; padding:14px 18px; }
.post-top { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:.8rem; border-bottom:1px solid var(--line); padding-bottom:8px; margin-bottom:10px; }
.post-content { line-height:1.65; }
.post-content p { margin:.4rem 0; }
.post-content pre, .post-content code { background:var(--bg-soft); border:1px solid var(--line); border-radius:6px; padding:1px 5px; }
.post-actions { margin-top:14px; display:flex; gap:8px; flex-wrap:wrap; }
@media (max-width:640px){ .post-card { flex-direction:column; } .author-col { flex:auto; display:flex; align-items:center; gap:12px; text-align:start; border-inline-end:0; border-bottom:1px solid var(--line); } .author-av { margin:0; } }

.tag-chip { display:inline-block; background:var(--bg-soft); color:var(--brand-strong-text); border:1px solid var(--line); border-radius:20px; padding:2px 10px; font-size:.78rem; font-weight:600; text-decoration:none; margin:2px; }
.fpag { display:flex; gap:6px; justify-content:center; margin-top:20px; flex-wrap:wrap; }
.fpag a, .fpag span { padding:6px 12px; border:1px solid var(--line); border-radius:8px; color:var(--brand-text); text-decoration:none; font-size:.9rem; }
.fpag .cur { background:var(--brand); color:#fff; border-color:var(--brand-strong-text); }
.recent-list { list-style:none; padding:0; margin:0; }
.recent-list li { padding:9px 0; border-bottom:1px solid var(--line); }
.recent-list li:last-child { border-bottom:0; }
.recent-list a { color:var(--heading); font-weight:600; text-decoration:none; font-size:.92rem; }
.recent-list .rm { color:var(--muted); font-size:.78rem; }
.ql-editor { min-height:160px; }

/* ===== Forum-B: bar, beğeni, etiket, ek, profil, bildirim, arama ===== */
.forum-bar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.forum-search { position:relative; flex:1 1 260px; max-width:480px; }
.forum-search i { position:absolute; inset-inline-start:12px; top:50%; transform:translateY(-50%); color:var(--muted); }
.forum-search input { width:100%; padding:9px 12px 9px 36px; border:1px solid var(--line); border-radius:30px; background:var(--surface-card); font-size:.92rem; }
.forum-search input:focus { outline:none; border-color:var(--brand-text); box-shadow:0 0 0 3px rgba(6,33,115,.1); }
.forum-bar-actions { display:flex; align-items:center; gap:10px; margin-inline-start:auto; }
.fb-link { color:var(--brand-text); text-decoration:none; font-weight:600; font-size:.9rem; display:inline-flex; align-items:center; }
.fb-link:hover { color:var(--brand-strong-text); }
.forum-bell { position:relative; color:var(--brand-text); font-size:1.25rem; text-decoration:none; display:inline-flex; }
.forum-bell:hover { color:var(--brand-strong-text); }
.forum-bell .nbadge { position:absolute; top:-7px; inset-inline-end:-9px; background:#dc3545; color:#fff; font-size:.62rem; font-weight:800; line-height:1; padding:3px 5px; border-radius:20px; }

.rbadge { display:inline-block; margin-top:5px; font-size:.66rem; font-weight:800; padding:2px 9px; border-radius:20px; letter-spacing:.02em; }
.rb-new { background:#e9ecef; color:#555; }
.rb-member { background:#cfe2ff; color:#084298; }
.rb-senior { background:#e2d9f3; color:#59359a; }
.rb-staff { background:var(--brand); color:#fff; }

.ttags { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 16px; }
.ttags.sm { margin:6px 0 0; }
.tag-chip:hover { background:var(--brand); color:#fff; border-color:var(--brand-strong-text); }

.like-form { display:inline; }
.like-btn { display:inline-flex; align-items:center; gap:6px; background:var(--surface-card); border:1px solid var(--line); color:var(--brand-text); border-radius:20px; padding:4px 12px; font-size:.85rem; font-weight:600; cursor:pointer; transition:.15s; }
.like-btn:hover { border-color:var(--brand-text); background:var(--bg-soft); }
.like-btn.liked { background:var(--brand); color:#fff; border-color:var(--brand-strong-text); }
.like-static { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:.85rem; padding:4px 6px; }

.attach-list { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.attach-img { display:block; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.attach-img img { display:block; max-width:180px; max-height:150px; object-fit:cover; }
.attach-file { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:8px; padding:6px 12px; color:var(--brand-text); text-decoration:none; font-size:.86rem; background:var(--bg-soft); }
.attach-file:hover { border-color:var(--brand-text); }

.file-pick { display:inline-flex; align-items:center; cursor:pointer; border:1px dashed var(--line); border-radius:8px; padding:6px 12px; color:var(--brand-text); font-size:.88rem; font-weight:600; margin:0; }
.file-pick:hover { border-color:var(--brand-text); background:var(--bg-soft); }

.search-hits { list-style:none; padding:0; margin:0; }
.search-hits li { padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--surface-card); margin-bottom:10px; box-shadow:var(--shadow-sm); }
.search-hits li > a { color:var(--heading); font-weight:700; text-decoration:none; }
.search-hits li > a:hover { color:var(--brand-strong-text); }
.search-hits .snip { color:var(--muted); font-size:.9rem; margin:4px 0; }
.search-hits .rm { color:var(--muted); font-size:.78rem; }

.notif-list { list-style:none; padding:0; margin:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface-card); box-shadow:var(--shadow-sm); }
.notif-list li { border-bottom:1px solid var(--line); }
.notif-list li:last-child { border-bottom:0; }
.notif-list li a { display:flex; align-items:center; gap:12px; padding:13px 16px; color:var(--heading); text-decoration:none; }
.notif-list li a:hover { background:var(--bg-soft); }
.notif-list li.unread { background:#f3f7ff; }
.notif-list li.unread a { font-weight:600; }
.notif-list .nicon { color:var(--brand-text); font-size:1.1rem; flex:0 0 auto; }
.notif-list .nt { flex:1; min-width:0; }
.notif-list .rm { color:var(--muted); font-size:.78rem; white-space:nowrap; }
.notif-list li.unread .nt::after { content:"●"; color:#dc3545; font-size:.6rem; vertical-align:middle; margin-inline-start:8px; }

.profile-card { display:flex; align-items:center; gap:20px; padding:22px; flex-wrap:wrap; }
.pf-av { width:84px; height:84px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:2.1rem; font-weight:800; flex:0 0 auto; }
.pf-main { flex:1; min-width:220px; }
.pf-name { margin:0 0 10px; color:var(--heading); }
.pf-stats { display:flex; gap:26px; flex-wrap:wrap; }
.pf-stats > div { text-align:center; }
.pf-stats b { display:block; font-size:1.45rem; color:var(--brand-strong-text); line-height:1.1; }
.pf-stats span { color:var(--muted); font-size:.8rem; }
/* FAZ E — koyu tema ince ayarları */
[data-theme="dark"] .notif-list li.unread { background: #16233f; }
[data-theme="dark"] .tb-lock { background: #2a3552; color: #b9c5e2; }
[data-theme="dark"] .rb-new { background: #2a3552; color: #b9c5e2; }
