/* ============================================================================
   FORUM STYLES - Live-editable CSS for Club pages
   Edit this file directly on the server without rebuilding!

   Note: Tailwind utilities (@apply, @layer, etc.) won't work here.
   Use plain CSS only.
   ============================================================================ */

.forum-content h1 {
  margin-bottom: 0.875rem;
}
.forum-content h2 {
  margin-top: 0.875rem;
}
.forum-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.875rem;
  color: #374151;
}

.dark .forum-content h3 {
  color: #d1d5db;
}

.forum-content table a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.dark .forum-content table a {
  color: #60a5fa;
  border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.forum-content a:hover {
  color: #1d4ed8;
  border-bottom-color: rgba(29, 78, 216, 0.8);
  background: rgba(37, 99, 235, 0.05);
  padding-left: 2px;
  padding-right: 2px;
}

.dark .forum-content a:hover {
  color: #93c5fd;
  border-bottom-color: rgba(147, 197, 253, 0.8);
  background: rgba(96, 165, 250, 0.05);
}

.forum-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: rgba(249, 250, 251, 0.8);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .forum-content table {
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.forum-content table th {
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.1));
  color: #4338ca;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dark .forum-content table th {
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.2));
  color: #e0e7ff;
  border-bottom: 2px solid rgba(99, 102, 241, 0.5);
}

.forum-content table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
  color: #374151;
}

.dark .forum-content table td {
  border-bottom: 1px solid rgba(71, 85, 105, 0.4);
  color: #e5e7eb;
}

.forum-content table tr:last-child td {
  border-bottom: none;
}

.forum-content table tr:hover {
  background: rgba(99, 102, 241, 0.05);
}

.dark .forum-content table tr:hover {
  background: rgba(99, 102, 241, 0.08);
}

.forum-content table tbody tr {
  transition: background-color 0.15s ease;
}

.forum-content blockquote {
  border-left: 4px solid #818cf8;
  margin: 1.5rem 0;
  color: #4b5563;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.02));
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .forum-content blockquote {
  color: #cbd5e1;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.forum-content blockquote p {
  margin-bottom: 0;
  margin-top: 0;
}

.forum-content blockquote p:last-child {
  margin-bottom: 0;
  margin-top: 0;
}

.forum-content code {
  background: rgba(243, 244, 246, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.9em;
  color: #db2777;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.dark .forum-content code {
  background: rgba(15, 23, 42, 0.9);
  color: #f472b6;
}

.forum-content pre {
  background: #f2f2f2;
  padding: 1.5rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  border: 1px solid rgba(209, 213, 219, 0.6);
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .forum-content pre {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.6);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.forum-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #374151;
}

.dark .forum-content pre code {
  color: #e5e7eb;
}
