/* Blog-specific styles */

/* Style all tables in blog posts */
.blog-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  border-radius: 8px;
}

.blog-content th,
.blog-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.blog-content th {
  background-color:rgb(191, 193, 194);
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

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

.blog-content tr:hover {
  background-color:rgb(194, 195, 197);
}

.blog-content td:first-child,
.blog-content th:first-child {
  padding-left: 20px;
}

.blog-content td:last-child,
.blog-content th:last-child {
  padding-right: 20px;
}

/* Responsive tables */
@media screen and (max-width: 768px) {
  .blog-content table {
    font-size: 0.8rem;
  }
  
  .blog-content th,
  .blog-content td {
    padding: 8px 10px;
  }
}

/* Code blocks in tables */
.blog-content td code {
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}

/* Specific table styles */
.blog-content .config-table th {
  background-color: #2563eb;
  color: white;
}

.blog-content .data-table {
  font-family: 'Monaco', 'Consolas', monospace;
}

/* Alternating row colors */
.blog-content table.striped tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

