* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

/* =============================
   HEADER
============================= */
.admin-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.admin-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.admin-header p {
  font-size: 1rem;
}

/* =============================
   DASHBOARD GRID
============================= */
.admin-dashboard {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 50px 20px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =============================
   CARDS
============================= */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.card h3 {
  margin-bottom: 15px;
  color: #2563eb;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 8px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
}

table th {
  background: #2563eb;
  color: #fff;
  font-weight: 500;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

/* Gráfico canvas */
canvas {
  width: 100% !important;
  height: 250px !important;
}

/* Observações individuais */
.observacoes-card ul li {
  margin-bottom: 10px;
}

/* Responsivo */
@media(max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
