body {
  background-color: #154360;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: 95%;
  margin: auto;
  padding: 15px;
}

h1 {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
}

th {
  background: #1a5276;
  color: white;
  padding: 12px;
  text-align: left;
}

td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

td:not(:last-child) {
  border-right: 1px solid #ddd;
}

a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #0f3c4d;
  text-decoration: underline;
}

.no-categorias {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-style: italic;
}

input[type="text"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input[type="submit"] {
  padding: 8px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background-color: #1a5276;
  color: white;
  transition: all 0.3s ease;
}

form[name="pesquisar"] input[type="submit"] {
  background-color: #29CD42;
  width: 50px;
}

form[name="pesquisar"] input[type="submit"]:hover {
  background-color: #2980b9;
}

td small {
  color: #666;
  display: block;
  margin-top: 5px;
}

.success {
  background-color: #2ECC71;
  color: white;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

.error {
  background-color: #E74C3C;
  color: white;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

.piscante {
  animation: trocaCores 1.5s infinite;
}

@keyframes trocaCores {
  0% { color: red; }
  50% { color: yellow; }
  100% { color: red; }
}

/* Estilo para a navegação dos botões */
header nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

header nav ul li a,
.voltar-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a5276;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header nav ul li a:hover,
.voltar-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Estilo para textos e links */
table a, 
td a, 
.table a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

table a:hover, 
td a:hover, 
.table a:hover {
    color: #0f3c4d;
    text-decoration: underline;
}
