.table-listar-projetos {
  border-collapse: separate;
  border-spacing: 0;
}

.table-listar-projetos tbody td {
  border-bottom: 2px solid #c9d1d9;
}

.table-listar-projetos tbody tr:last-child td {
  border-bottom: 0;
}

.table-listar-projetos th,
.table-listar-projetos td {
  vertical-align: middle;
}

.projeto-titulo {
  font-weight: 700;
  color: #1f1f1f;
}

.projeto-meta {
  color: #666;
  font-size: 0.9rem;
}

.tag {
  background: #eef4ff;
  color: #214a9b;
  border: 1px solid #cddcff;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.85rem;
  margin: 2px;
  padding: 5px 9px;
}

#modal-detalhes-projeto .modal-dialog.modal-projeto-largo {
  max-width: min(1400px, 95vw);
}

#modal-detalhes-projeto .modal-body {
  max-height: 75vh;
  overflow-y: auto;
}

.detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.detail-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 5px;
  padding: 12px;
}

.acoes-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

@media (max-width: 767px) {
  .acoes-container {
    flex-direction: column;
    align-items: center;
  }
}

.detail-card strong {
  color: #111;
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .table-listar-projetos {
    min-width: 860px;
  }
}
