/* Geral */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 20px;
}

.container {
  background: white;
  padding: 20px;
  border-radius: 30px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
  margin-top: 0;
  color: #244A86;
}

/* Botão */
button.btn-primary {
  padding: 10px 20px;
  background: #2c5aa0;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s;
}

button.btn-primary:hover {
  background: #1e3d6b;
}

/* Tabela */
.table-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
}

th, td {
  padding: 12px 10px;
  border: 1px solid #ccc;
  text-align: left;
  font-size: 13px;
}

th {
  background: #2c5aa0;
  color: white;
}

tr:hover {
  background: #f2f2f2;
  cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
  th, td {
    font-size: 12px;
    padding: 8px 6px;
  }

  button.btn-primary {
    width: 100%;
    margin-bottom: 15px;
  }
}

.btn-delete {
  background: #d9534f;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.btn-delete:hover {
  background: #c9302c;
}

.action-col {
  display: flex;
  gap: 8px;
}

.btn-edit {
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.btn-edit:hover {
  background: #025aa5;
}

.btn-delete {
  background: #d9534f;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.btn-delete:hover {
  background: #c9302c;
}

