/* Paleta de cores moderna */
:root {
  --primary: #003366;
  --secondary: #f5f6fa;
  --accent: #007bff;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;
}

body {
  background: var(--secondary);
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: var(--dark);
  margin: 0;
  padding: 0;
}

.navbar {
  background: var(--primary) !important;
}
.navbar .navbar-brand img {
  background: var(--primary);
}
.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-right: 8px;
}
.navbar .nav-link.active, .navbar .nav-link:hover {
  color: var(--accent) !important;
  background: #fff2;
  border-radius: 4px;
}

.container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 30px 20px 20px 20px;
  margin-bottom: 30px;
}

h2, h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}

.btn {
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-success {
  background: var(--success);
  border-color: var(--success);
}
.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}

.table {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 20px;
}
.table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: var(--secondary);
}

/* Responsividade para tabelas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .container {
    padding: 10px 2px 10px 2px;
  }
  h2, h3 {
    font-size: 1.2rem;
  }
  .navbar .navbar-brand img {
    height: 32px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 5px 0 5px 0;
  }
  .table th, .table td {
    font-size: 0.95rem;
    padding: 6px;
  }
}

.form-control, .form-select {
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.alert {
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
}

/* Sugestão: para usar ícones, adicione <i class="bi bi-icone"></i> nos botões (Bootstrap Icons) */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
}
table th, table td {
  border: 1px solid #e1e4ea;
  padding: 8px 10px;
  text-align: left;
}
table tr:nth-child(even) {
  background: #f7fafd;
}
form label {
  display: block;
  margin: 10px 0 4px 0;
  color: #34495e;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="month"], input[type="date"], select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cfd8dc;
  border-radius: 4px;
  background: #f9fbfc;
  margin-bottom: 10px;
  font-size: 1em;
}
button, input[type="submit"] {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 1em;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
button:hover, input[type="submit"]:hover {
  background: #0056b3;
}
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .container {
    padding: 10px 5px;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }
  table tr { margin-bottom: 15px; }
  table td, table th {
    border: none;
    padding: 8px 5px;
  }
  table th {
    background: #eaf1fb;
    color: #2c3e50;
  }
} 