:root {
  --primary: #007bff;
  --success: #28a745;
  --danger: #dc3545;
  --bg: #f0f2f5;
  --text: #333;
  --radius: 0.5rem;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Fixed header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: 64px; /* fixed height */
        }
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}
.container {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
}
h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}
button {
  padding: 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #0056b3;
}
a.link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  text-align: center;
  text-decoration: none;
}
a.link:hover {
  text-decoration: underline;
}
p.sucesso {
  color: var(--success);
  text-align: center;
}
p.erro {
  color: var(--danger);
  text-align: center;
}
@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
table.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

table.table th,
table.table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

table.table th {
  background-color: #f9f9f9;
  font-weight: bold;
}

table.table tr:nth-child(even) {
  background-color: #f2f2f2;
}

@media (max-width: 480px) {
  table.table th,
  table.table td {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}