/* =====================================================
   BLOG STYLES - DATA INLOCO
   ===================================================== */

/* Filtros */
.blog-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11, 46, 99, 0.04);
}

.btn-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Grid de Posts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Card de Post */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-date,
.blog-card-reading {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Empty State */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.blog-empty svg {
  margin-bottom: 16px;
  opacity: 0.4;
}

.blog-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--text);
}

.blog-empty p {
  margin: 0;
  font-size: 14px;
}

/* Paginação */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination-dots {
  padding: 0 8px;
  color: var(--muted);
}

/* =====================================================
   ARTIGO INDIVIDUAL
   ===================================================== */

.blog-article {
  padding: 48px 0 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 32px;
  transition: all 0.2s ease;
}

.back-link:hover {
  gap: 12px;
}

.blog-post-header {
  margin-bottom: 32px;
}

.blog-post-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 46, 99, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.blog-post-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 20px;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.blog-post-separator {
  color: var(--border);
}

.blog-post-author {
  font-weight: 500;
  color: var(--text-secondary);
}

.blog-post-cover {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.blog-post-content-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.blog-post-content-text h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  color: var(--text);
}

.blog-post-content-text h3 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

.blog-post-content-text p {
  margin: 0 0 20px;
}

.blog-post-content-text ul,
.blog-post-content-text ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.blog-post-content-text li {
  margin-bottom: 8px;
}

.blog-post-content-text blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--ice);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
}

.blog-post-content-text img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

.blog-post-content-text code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.blog-post-content-text pre {
  background: var(--gray-900);
  color: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 24px 0;
}

.blog-post-content-text pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.blog-post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  padding: 6px 12px;
  background: var(--ice);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.blog-post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.blog-post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.blog-post-share a:hover {
  background: var(--primary);
  color: var(--white);
}

/* =====================================================
   ADMIN - BLOG
   ===================================================== */

.posts-stats-bar {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.posts-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.posts-stat-item .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.posts-stat-item .stat-icon.total {
  background: rgba(11, 46, 99, 0.1);
  color: var(--primary);
}

.posts-stat-item .stat-icon.published {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.posts-stat-item .stat-icon.draft {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.posts-stat-item .stat-icon.views {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.posts-stat-item .stat-info {
  display: flex;
  flex-direction: column;
}

.posts-stat-item .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.posts-stat-item .stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* Admin Table Post */
.post-title-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-thumbnail {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumbnail svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-info .title {
  font-weight: 600;
  color: var(--text);
}

.post-info .excerpt {
  font-size: 12px;
  color: var(--muted);
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Badge - MELHORADO */
.category-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.category-badge.dados {
  background: rgba(11, 46, 99, 0.15);
  color: var(--primary);
  border: 1px solid rgba(11, 46, 99, 0.25);
}

.category-badge.mercado {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.category-badge.estrategia {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.category-badge.tecnologia {
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* Post Editor Modal */
.post-editor-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-editor-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .post-editor-row {
    grid-template-columns: 1fr;
  }
}

.post-cover-preview {
  margin-top: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cover-preview.empty {
  border: 2px dashed var(--border);
}

.post-cover-preview.empty svg {
  color: var(--muted);
}

/* Content Editor */
.content-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.toolbar-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.toolbar-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.toolbar-btn.active {
  background: var(--primary);
  color: var(--white);
}

.toolbar-separator {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 4px;
}

#post-form-content {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-height: 300px;
}

/* Status Toggle - CORRIGIDO */
.status-toggle {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.status-option {
  flex: 1;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.status-option:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Estado SELECIONADO - Rascunho */
.status-option.selected[data-status="draft"],
.status-option.active.draft {
  border-color: #d97706;
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

/* Estado SELECIONADO - Publicado */
.status-option.selected[data-status="published"],
.status-option.active.published {
  border-color: #16a34a;
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

/* Estado SELECIONADO - Arquivado */
.status-option.selected[data-status="archived"],
.status-option.active.archived {
  border-color: #6b7280;
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
  box-shadow: 0 4px 16px rgba(107, 114, 128, 0.2);
}

.status-option .status-icon {
  width: 24px;
  height: 24px;
}

.status-option .status-label {
  font-size: 13px;
  font-weight: 600;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .posts-stats-bar {
    gap: 16px;
  }
  
  .posts-stats-bar .posts-stat-item {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
  }
}

/* Estilos adicionais para o formulário de post */

.content-textarea {
  min-height: 300px;
  font-family: 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.cover-preview {
  margin-top: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  height: 100%;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.cover-preview-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.cover-preview-placeholder span {
  font-size: 12px;
}

.status-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
}

.status-option .status-icon {
  width: 20px;
  height: 20px;
}

.status-option .status-label {
  font-size: 12px;
}

.status-option.selected {
  border-color: var(--primary);
  background: rgba(11, 46, 99, 0.05);
}

.status-option.selected[data-status="draft"] {
  border-color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.status-option.selected[data-status="published"] {
  border-color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* Action buttons na tabela - CORRIGIDO */
.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11,46,99,0.2);
}

.btn-icon.danger:hover {
  background: var(--danger);
  color: white;
  box-shadow: 0 4px 12px rgba(239,68,68,0.2);
}

.btn-icon svg {
  flex-shrink: 0;
}

/* Status badge - MELHORADO */
.status-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge.success {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.muted {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Admin posts table - CORRIGIDO */
#admin-posts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#admin-posts-table th,
#admin-posts-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

#admin-posts-table th {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  background: var(--gray-50);
  white-space: nowrap;
}

/* Alinhamentos específicos por coluna */
#admin-posts-table th:first-child,
#admin-posts-table td:first-child {
  padding-left: 20px;
  max-width: 350px;
  text-align: left;
}

#admin-posts-table th:nth-child(2),
#admin-posts-table td:nth-child(2) {
  text-align: left;
}

#admin-posts-table th:nth-child(3),
#admin-posts-table td:nth-child(3) {
  text-align: left;
}

#admin-posts-table th:nth-child(4),
#admin-posts-table td:nth-child(4) {
  text-align: center;
  width: 80px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Garantir que VIEWS apareça */
#admin-posts-table td:nth-child(4) {
  min-width: 80px;
  font-size: 14px;
  font-weight: 700;
  color: #0B2E63;
}

#admin-posts-table th:nth-child(5),
#admin-posts-table td:nth-child(5) {
  text-align: left;
  width: 120px;
}

#admin-posts-table th:nth-child(6),
#admin-posts-table td:nth-child(6) {
  text-align: right;
  padding-right: 20px;
  width: 100px;
}

#admin-posts-table tbody tr {
  transition: background 0.15s ease;
}

#admin-posts-table tbody tr:hover {
  background: var(--gray-50);
}

#admin-posts-table tbody tr:last-child td {
  border-bottom: none;
}

/* Coluna de artigo */
.post-title-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.post-thumbnail {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumbnail svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.post-info .title {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}

.post-info .excerpt {
  font-size: 12px;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}


/* =====================================================
   FORMULÁRIO DE POST - ESTILOS ADICIONAIS
   ===================================================== */

/* Textarea de conteúdo */
.content-textarea {
  min-height: 250px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
}

/* Preview da capa */
.cover-preview {
  margin-top: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
}

.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.cover-preview-placeholder svg {
  width: 32px;
  height: 32px;
}

.cover-preview-placeholder span {
  font-size: 12px;
}

/* Status toggle melhorado */
.status-toggle {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.status-option {
  flex: 1;
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
}

.status-option:hover {
  border-color: var(--primary);
}

.status-option .status-icon {
  width: 20px;
  height: 20px;
}

.status-option .status-label {
  font-size: 12px;
  font-weight: 500;
}

.status-option.selected {
  border-color: var(--primary);
  background: rgba(11, 46, 99, 0.05);
}

.status-option.selected[data-status="draft"] {
  border-color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.status-option.selected[data-status="published"] {
  border-color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* Post editor form */
.post-editor-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-editor-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .post-editor-row {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   RESPONSIVIDADE PARA TABELA DE POSTS
   ===================================================== */

@media (max-width: 1200px) {
  #admin-posts-table th:nth-child(4),
  #admin-posts-table td:nth-child(4) {
    display: none; /* Esconder views em telas médias */
  }
}

@media (max-width: 900px) {
  #admin-posts-table th:nth-child(3),
  #admin-posts-table td:nth-child(3) {
    display: none; /* Esconder status */
  }
  
  .post-title-cell {
    min-width: 200px;
  }
  
  .post-info .excerpt {
    display: none; /* Esconder excerpt em mobile */
  }
}

@media (max-width: 640px) {
  #admin-posts-table {
    font-size: 13px;
  }
  
  #admin-posts-table th,
  #admin-posts-table td {
    padding: 12px 8px;
  }
  
  #admin-posts-table th:first-child,
  #admin-posts-table td:first-child {
    padding-left: 12px;
  }
  
  .post-thumbnail {
    width: 40px;
    height: 40px;
  }
  
  .post-title-cell {
    gap: 8px;
    min-width: 150px;
  }
  
  .category-badge {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .btn-icon {
    width: 32px;
    height: 32px;
  }
}

/* =====================================================
   CONTAINER DA TABELA - SCROLL HORIZONTAL
   ===================================================== */

.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
