/* ══════════════════════════════════════════════════════════════════
   GeekMuhabbeti — app-extra.css
   (Bu dosyayı public/css/app.css'in sonuna ekle veya ayrı import et)
══════════════════════════════════════════════════════════════════ */

/* ── AUTH SAYFASI ───────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 0; padding: 36px 32px;
}
.auth-card__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.auth-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.auth-card__sub { color: var(--text-3); margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; }
.auth-divider {
  text-align: center; position: relative; margin: 20px 0;
  color: var(--text-3); font-size: 0.8125rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 30px); height: 1px; background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.social-auth { display: flex; flex-direction: column; gap: 8px; }
.auth-card__footer { text-align: center; margin-top: 20px; color: var(--text-3); font-size: 0.875rem; }
.auth-card__footer a { color: var(--accent); }

/* Şifre gücü */
.password-strength { display: flex; align-items: center; gap: 8px; margin-top: -10px; margin-bottom: 10px; }
.pw-bar { height: 4px; border-radius: 0; transition: all 0.3s ease; background: var(--accent); }
.pw-label { font-size: 0.75rem; font-weight: 600; }

/* Alert */
.alert { padding: 12px 16px; border-radius: 0; margin-bottom: 16px; font-size: 0.875rem; }
.alert--error { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.3); color: var(--danger); }

/* ── BREADCRUMB ─────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem;
  color: var(--text-3); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--border-2); }

/* ── POST HEADER ────────────────────────────────────────────────── */
.post-header { margin-bottom: 24px; }
.post-header__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.post-header__title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700;
  line-height: 1.25; margin-bottom: 12px; }
.post-header__excerpt { font-size: 1.0625rem; color: var(--text-2); line-height: 1.65;
  margin-bottom: 16px; }
.post-header__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-header__stats { display: flex; gap: 14px; color: var(--text-3); font-size: 0.8125rem;
  flex-wrap: wrap; }
.post-author { display: flex; align-items: center; gap: 8px; }
.post-author__name  { font-weight: 600; font-size: 0.9rem; }
.post-author__level { font-size: 0.75rem; color: var(--text-3); }

/* ── KAPAK ──────────────────────────────────────────────────────── */
.post-cover { border-radius: 0; overflow: hidden; margin-bottom: 28px;
  aspect-ratio: 16/9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ── İÇİNDEKİLER ───────────────────────────────────────────────── */
.toc {
  background: var(--bg-3); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0; padding: 16px 20px;
  margin-bottom: 28px;
}
.toc__title { font-weight: 700; margin-bottom: 10px; font-size: 0.9rem; }
.toc__items { list-style: decimal; padding-left: 20px;
  display: flex; flex-direction: column; gap: 5px; }
.toc__link { color: var(--text-2); font-size: 0.875rem; transition: var(--transition); }
.toc__link:hover { color: var(--accent); }
.toc-sticky { position: sticky; top: calc(var(--header-h) + 16px); }

/* ── MAKALE İÇERİĞİ ─────────────────────────────────────────────── */
.post-content { line-height: 1.8; font-size: 1rem; color: var(--text); margin-bottom: 32px; }
.post-content h2 { font-size: 1.5rem; font-weight: 700; margin: 36px 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 12px; }
/* ── REKLAM ALANI ───────────────────────────────────────────────── */
.ad-wrap { margin: 28px 0; text-align: center; }

/* ── AFFİLİATE KUTUSU ───────────────────────────────────────────── */
.affiliate-box {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: 0; padding: 16px 20px; margin: 24px 0;
}
.affiliate-box__label { color: var(--text-3); font-size: 0.8rem; }
.affiliate-box__price { font-size: 1.5rem; font-weight: 700; color: var(--accent); }

/* ── POST TAGS ──────────────────────────────────────────────────── */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.post-tag {
  padding: 5px 12px; border-radius: 0; font-size: 0.8125rem;
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text-3);
  transition: var(--transition);
}
.post-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ── BEĞENİ ─────────────────────────────────────────────────────── */
.post-like-wrap { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.post-like-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 24px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 0; font-size: 1rem; font-weight: 600;
  transition: var(--transition);
}
.post-like-btn:hover { border-color: #ff6b6b; color: #ff6b6b; background: rgba(255,107,107,0.08); }
.post-like-count { font-size: 1.5rem; font-weight: 700; color: var(--text-2); }

/* ── PAYLAŞIM ───────────────────────────────────────────────────── */
.share-bar { display: flex; align-items: center; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.share-bar__label { font-size: 0.875rem; color: var(--text-3); }
.share-btn {
  padding: 8px 16px; border-radius: 0; font-size: 0.875rem; font-weight: 600;
  background: var(--bg-3); border: 1px solid var(--border); transition: var(--transition);
}
.share-btn--x:hover  { border-color: #000; background: #000; color: #fff; }
.share-btn--wa:hover { border-color: #25d366; background: #25d366; color: #fff; }
.share-btn--copy:hover { border-color: var(--accent); color: var(--accent); }

/* ── YAZAR KUTUSU ───────────────────────────────────────────────── */
.author-box {
  display: flex; gap: 16px; padding: 20px; margin: 28px 0;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 0; align-items: flex-start;
}
.author-box__name  { font-size: 1rem; font-weight: 700; color: var(--text); }
.author-box__name:hover { color: var(--accent); }
.author-box__level { font-size: 0.8rem; color: var(--text-3); margin-top: 2px; }
.author-box__bio   { color: var(--text-2); font-size: 0.875rem; margin-top: 8px; line-height: 1.5; }

/* ── YORUM FORMU ────────────────────────────────────────────────── */
.comment-form { background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 0; padding: 14px; margin-bottom: 20px; }
.comment-form__header { display: flex; align-items: center; gap: 8px;
  color: var(--text-2); font-size: 0.875rem; margin-bottom: 10px; }
.comment-login-prompt { text-align: center; padding: 24px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 0; margin-bottom: 20px; color: var(--text-3); }
.comment__best-label { background: rgba(0,230,118,0.1); color: var(--success);
  font-size: 0.8rem; font-weight: 700; padding: 4px 10px;
  border-radius: 0; margin-bottom: 10px; display: inline-block; }
.comment__level { font-size: 0.85rem; }
.reply-link { background: none; border: none; color: var(--text-3); font-size: 0.8125rem;
  cursor: pointer; transition: var(--transition); }
.reply-link:hover { color: var(--accent); }

/* ── FİLTRE TABLARI ─────────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 16px; border-radius: 0;
  background: #e5e7eb; border: 1px solid #d1d5db;
  font-size: 0.875rem; font-weight: 500; color: #374151;
  transition: var(--transition);
}
.filter-tab:hover { background: #ffffff; border-color: #9ca3af; color: #111827; }
.filter-tab.active { background: #ffffff; border-color: #374151; color: #fff; font-weight: 600; }

/* ── ANKET ──────────────────────────────────────────────────────── */
.poll-box {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 0; padding: 20px; margin: 20px 0;
}
.poll-box__question { font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.poll-option { margin-bottom: 14px; }
.poll-option__header { display: flex; justify-content: space-between;
  font-size: 0.875rem; margin-bottom: 5px; }
.poll-option__bar-wrap { background: var(--bg-2); border-radius: 0; height: 8px; overflow: hidden; }
.poll-option__bar { height: 100%; background: var(--accent); border-radius: 0; transition: width 0.5s ease; min-width: 4px; }

/* ── FORUM POST HEADER ──────────────────────────────────────────── */
.forum-post-header { margin-bottom: 20px; }
.forum-post-header__title { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.35; }
.forum-post-body { background: #fff; border: 1px solid var(--border);
  border-radius: 0; padding: 24px; margin-bottom: 24px; }

/* ── YANIT FORMU ────────────────────────────────────────────────── */
.reply-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 0; padding: 20px; margin: 24px 0;
}

/* ── FORM: KONU AÇ ──────────────────────────────────────────────── */
.write-page { padding: 32px 0; }
.write-page__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.write-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 0; padding: 28px;
}

/* input is-error */
.form-control.is-error { border-color: var(--danger); }

/* post-content p — fixes.css üzerinden yönetiliyor */
.post-content p { line-height: 1.75; }