/* ===== Classic Forum Skin (overrides) ===== */

/* Base: darker, higher contrast, tighter line-height */
body {
  background: #1d1f22;
  color: #d7d7d7;
  line-height: 1.5;
}

/* Links: classic forum colors */
a { color: #7ab4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #b58cff; }

/* Kill modern rounded corners & shadows */
.forum-header, .category, .threads-list, .thread-header,
.post, .reply-form, .form-container, .profile-container,
.auth-form, .board-header, .login-prompt, .locked-notice,
.footer {
  border-radius: 3px !important;
  box-shadow: none !important;
}

/* Containers: flat panels with borders */
.forum-header, .board-header, .thread-header, .reply-form,
.form-container, .profile-container, .auth-form,
.login-prompt, .locked-notice {
  background: #23262a !important;
  border: 1px solid #2f3338;
}

/* Navbar: denser and flatter */
.navbar {
  background: #2a2e33 !important;
  box-shadow: none !important;
  border-bottom: 1px solid #3a3f45;
}
.nav-brand { letter-spacing: .2px; }

/* Category & table-like headers */
.category { background: #23262a !important; border: 1px solid #2f3338; }
.category-header,
.threads-header {
  background: linear-gradient(#3a3f45, #31363b) !important;
  color: #eaeaea !important;
  border-bottom: 1px solid #2a2e33;
  padding: .7rem 1rem !important;
  font-weight: 600;
}

/* Board list rows: tighter, with separators */
.board-item, .thread-item {
  background: #23262a;
  border-bottom: 1px solid #2f3338 !important;
  padding: .8rem 1rem !important;
}
.thread-item:hover { background: #262a2f; }

/* Thread columns: make numbers look "table-ish" */
.thread-author, .thread-stats, .thread-last-post {
  color: #b8bfc6 !important;
  font-weight: 500;
}
.stat-number, .thread-stats { color: #e0e5ea !important; }

/* Post layout: slimmer sidebar, sharper edges */
.post {
  background: #23262a !important;
  border: 1px solid #2f3338 !important;
  grid-template-columns: 140px 1fr !important;
  min-height: unset !important;
}
.post-sidebar {
  background: #1f2226 !important;
  border-right: 1px solid #2f3338 !important;
  padding: .9rem .6rem !important;
}
.user-info h3 { font-size: .95rem; color: #e6e6e6; }
.user-stats { font-size: .75rem; color: #9aa3ab; }

/* Post header strip */
.post-header {
  border-bottom: 1px solid #2f3338 !important;
  color: #9aa3ab;
}
.post-number {
  background: #2b3036 !important;
  border: 1px solid #3a3f45 !important;
  color: #b5d4ff !important;
}

/* Post body typography */
.post-content { padding: 1rem 1.25rem !important; }
.post-body { color: #e4e7ea; font-size: .98rem; }
.signature {
  border-top: 1px solid #2f3338 !important;
  color: #9aa3ab !important;
  font-style: normal; /* less modern */
}

/* Classic quote box (BBCode) */
blockquote,
.quoted-post {
  background: #2a2e33 !important;
  border: 1px solid #3a3f45 !important;
  border-left: 4px solid #4a86c5 !important;
  padding: .8rem 1rem !important;
  margin: .9rem 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  color: #cbd2d8 !important;
}
blockquote strong,
.quoted-post strong {
  display: block;
  background: #343a40 !important;
  color: #e6eef7 !important;
  margin: -.8rem -1rem .6rem -1rem !important;
  padding: .45rem .8rem !important;
  border-bottom: 1px solid #3a3f45;
  font-weight: 600;
}

/* Forms & buttons: flatter, skeuomorphic-ish borders */
input, textarea, select {
  background: #1e2125 !important;
  color: #e6e6e6 !important;
  border: 1px solid #343a40 !important;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: #4a86c5 !important;
}

.btn {
  border-radius: 3px !important;
  font-weight: 600;
}
.btn-primary {
  background: #3a70a8 !important;
  border: 1px solid #2c5c8a !important;
}
.btn-primary:hover { background: #356797 !important; }
.btn-secondary {
  background: #40464d !important;
  border: 1px solid #343a40 !important;
}

/* Breadcrumbs */
.breadcrumb { color: #9aa3ab !important; }
.breadcrumb a { color: #b5d4ff !important; }

/* Footer */
.footer {
  background: #2a2e33 !important;
  border-top: 1px solid #3a3f45;
  color: #b8bfc6 !important;
}

/* Small tweaks */
hr { border: 0; border-top: 1px solid #2f3338; }

/* Alerts */
.alert-error {
  background-color: #3c1f1f !important;
  color: #ff9999 !important;
  border: 1px solid #5c2f2f !important;
}

.alert-success {
  background-color: #1f3c1f !important;
  color: #99ff99 !important;
  border: 1px solid #2f5c2f !important;
}