/* ForumCore varsayılan stil - Konum: public_html/assets/css/style.css
   Faz 1 iskelet stili; tema sistemi oturduğunda zenginleşecek. */
:root {
    --bg: #f5f6f8; --surface: #fff; --border: #e2e5ea;
    --text: #1f2430; --muted: #6b7280; --accent: #2563eb;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 system-ui, sans-serif; background: var(--bg); color: var(--text); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.main-nav a { color: var(--muted); text-decoration: none; margin-left: 16px; }
main.wrap { padding: 24px 16px 48px; }
.category-title { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 24px 0 8px; }
.forum-list, .thread-list, .post-list { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.forum-row, .thread-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); }
.forum-row:last-child, .thread-row:last-child { border-bottom: 0; }
.forum-row:hover, .thread-row:hover { background: #fafbfc; }
.forum-info p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.forum-stats, .thread-stats { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; color: var(--muted); white-space: nowrap; }
.thread-row.sticky { background: #fffbeb; }
.thread-meta { display: block; font-size: 12px; color: var(--muted); }
.post { border-bottom: 1px solid var(--border); padding: 16px; }
.post:last-child { border-bottom: 0; }
.post-author { display: flex; justify-content: space-between; margin-bottom: 8px; }
.post-author time { color: var(--muted); font-size: 12px; }
.reply-form { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.reply-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 10px; font: inherit; resize: vertical; }
.reply-form button { margin-top: 10px; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 9px 20px; font: inherit; cursor: pointer; }
.empty-state { color: var(--muted); padding: 24px; text-align: center; }
.error-box { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 32px; text-align: center; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; padding: 16px 0; }

/* Üyelik formları */
.auth-box { max-width: 420px; margin: 24px auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px; }
.auth-box h1 { font-size: 20px; margin: 0 0 16px; }
.auth-box label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 4px; }
.auth-box input:not([type=checkbox]) { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 6px; padding: 9px; font: inherit; }
.auth-box label.check { font-weight: 400; margin-top: 12px; }
.auth-box button { margin-top: 18px; width: 100%; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 11px; font: inherit; font-weight: 600; cursor: pointer; }
.auth-alt { text-align: center; color: var(--muted); font-size: 13px; margin-top: 16px; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-bottom: 6px; }
.nav-user { color: var(--text); font-weight: 600; margin-left: 16px; }
.nav-cta { color: var(--accent) !important; font-weight: 600; }
.logout-form { display: inline; margin-left: 12px; }
.logout-form button { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }