/* OposicionesBot Blog Élite — High Contrast Dark Mode Design System */

body {
  background-color: #09090b !important;
  color: #e4e4e7 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

article {
  color: #e4e4e7 !important;
}

article h1 {
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  font-size: 2.25rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

@media (min-width: 640px) {
  article h1 {
    font-size: 3rem !important;
  }
}

article h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.65rem !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1.25rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-bottom: 0.6rem !important;
  line-height: 1.35 !important;
}

article h3 {
  color: #c084fc !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  margin-top: 1.75rem !important;
  margin-bottom: 0.85rem !important;
}

article p {
  color: #d4d4d8 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.35rem !important;
}

article strong, article b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

article a {
  color: #c084fc !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  transition: color 0.2s ease !important;
}

article a:hover {
  color: #e9d5ff !important;
}

article ul, article ol {
  margin-top: 1rem !important;
  margin-bottom: 1.5rem !important;
  padding-left: 1.5rem !important;
  color: #d4d4d8 !important;
}

article ul {
  list-style-type: disc !important;
}

article ol {
  list-style-type: decimal !important;
}

article li {
  margin-bottom: 0.6rem !important;
  line-height: 1.7 !important;
}

article blockquote {
  border-left: 4px solid #a855f7 !important;
  padding: 1rem 1.25rem !important;
  background: rgba(168, 85, 247, 0.08) !important;
  border-radius: 0 1rem 1rem 0 !important;
  margin: 1.75rem 0 !important;
  color: #f4f4f5 !important;
  font-style: italic !important;
}

/* Custom Components & Exam Tips */
.exam-tip, .bg-exam-tip {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-left: 4px solid #f59e0b !important;
  border-radius: 1rem !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  color: #fef3c7 !important;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.08) !important;
}

.exam-tip p, .bg-exam-tip p {
  color: #fef3c7 !important;
  margin-bottom: 0.5rem !important;
  font-size: 1rem !important;
}

.exam-tip strong, .bg-exam-tip strong {
  color: #ffffff !important;
}

/* High Contrast Blog Tables */
.blog-table-container, table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.75rem 0 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  background: rgba(24, 24, 27, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

th {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 0.9rem 1.1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 0.95rem !important;
}

td {
  padding: 0.9rem 1.1rem !important;
  color: #d4d4d8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-size: 0.95rem !important;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.03) !important;
}

td.positive {
  color: #4ade80 !important;
  font-weight: 700 !important;
}

td.negative {
  color: #f87171 !important;
  font-weight: 700 !important;
}

td.warning {
  color: #fbbf24 !important;
  font-weight: 700 !important;
}
