/* Estilos Modernos para Projetos Aptos - Layout Simplificado */

/* Container principal com design moderno */
.recent-blog-posts {
  padding: 40px 0;
}

.section-header h3 {
  color: #2c4964;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Card principal da tabela */
.col-md-12.col-12 {
  background: #ffffff !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(44, 73, 100, 0.08) !important;
  border: 1px solid rgba(44, 73, 100, 0.1) !important;
  overflow: hidden;
}

/* Título da seção */
h5 {
  color: #2c4964;
  font-weight: 600;
  margin-bottom: 25px !important;
}

/* Estilização da tabela */
.table {
  margin: 0;
  font-size: 14px;
}

.table thead th {
  background-color: #f8f9fa;
  color: #2c4964;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
  padding: 15px 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 12px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f4;
}

.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background-color: rgba(44, 73, 100, 0.05);
}

.table a {
  color: #2c4964;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.table a:hover {
  color: #1a3a52;
  text-decoration: underline;
}

/* Estado vazio */
.text-center.py-4 {
  padding: 60px 20px !important;
}

.text-center.py-4 i {
  font-size: 72px !important;
  color: #dee2e6 !important;
  margin-bottom: 20px;
}

.text-center.py-4 p {
  color: #6c757d;
  font-size: 16px;
  margin: 0;
}

/* DataTables customização */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 15px 0;
  color: #6c757d;
}

.dataTables_wrapper .dataTables_filter input {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 8px 12px;
  margin-left: 8px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #2c4964;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(44, 73, 100, 0.25);
}

.dataTables_wrapper .dataTables_length select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 0 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 8px 12px;
  margin: 0 2px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  background: #ffffff;
  color: #2c4964 !important;
  text-decoration: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #2c4964 !important;
  color: #ffffff !important;
  border-color: #2c4964;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #2c4964 !important;
  color: #ffffff !important;
  border-color: #2c4964;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  color: #6c757d !important;
  background: #f8f9fa !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .table {
    font-size: 12px;
  }
  
  .table thead th {
    padding: 10px 8px;
    font-size: 11px;
  }
  
  .table tbody td {
    padding: 8px;
  }
  
  .col-md-12.col-12 {
    padding: 20px !important;
  }
}