body {
  background-color: #f8f9fa1c;
  padding-top: 70px;
}
.container {
  background: #f1f1e7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.548);
  padding: 10px 10px 30px 10px;
  margin-bottom: 30px;
  max-width: 98%;
  width: 98%;
}
h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #2895b6;
}

/* === AJUSTE NA TABELA === */
.table-responsive-custom {
  border-radius: 10px;
  overflow: hidden; /* Garante que os cantos arredondados cortem as linhas internas */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.table {
  margin-bottom: 0; /* Remove margem para não quebrar o container arredondado */
  background: #e7ece89f;
}
.table th, .table td {
  vertical-align: middle;
  text-align: center;
}
.table th {
  background-color: #2895b6 !important; /* Força a cor do seu tema no cabeçalho */
  color: #fff;
  font-weight: 600;
  line-height: 1;
  padding: 0.5rem;
  border: none;
}
.table td {
  color: #343a40;
  line-height: 1;
  padding: 0.4rem;
}
/* Altera o fundo padrão apenas de linhas comuns, sem quebrar os alertas do Bootstrap */
.table tbody tr:not([class*="table-"]) td {
  background-color: #f8f9fa; 
}
.navbar {
  border-radius: 0 0 12px 12px;
}

/* === AJUSTE NO MODAL === */
.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto; /* Centralização padrão do Bootstrap */
}
.modal-content {
  border-radius: 16px; /* Mantido apenas aqui para evitar bugs visuais */
  padding: 24px 20px;
  background: linear-gradient(135deg, #f8fafc 80%, #e0f7fa 100%);
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25); /* Sombra movida para o elemento correto */
}
.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
.modal-title {
  font-weight: 700;
  color: #343a40;
}
.modal-footer {
  border-top: none;
  padding-top: 0;
  justify-content: flex-end;
}
.btn-close {
  border: none;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.btn-close:hover {
  opacity: 1;
}
