:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --sidebar-bg: #0f172a;
  --bg-body: #f1f5f9;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --danger: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text-main); }
a { color: var(--primary); }
.hidden { display: none !important; }

/* Botões */
.btn-primary {
  background: var(--primary); color: white; border: none;
  padding: 12px 24px; border-radius: 8px; cursor: pointer;
  font-weight: 600; transition: 0.2s; font-size: 0.95rem;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary.full { width: 100%; }
.btn-danger {
  background: #fee2e2; color: var(--danger); border: none;
  padding: 8px 16px; border-radius: 6px; cursor: pointer;
  font-weight: 600; font-size: 0.85rem; transition: 0.2s;
}
.btn-danger:hover { background: var(--danger); color: white; }
.btn-edit {
  background: #fef3c7; color: #d97706; border: none;
  padding: 8px 16px; border-radius: 6px; cursor: pointer;
  font-weight: 600; font-size: 0.85rem; margin-right: 5px;
}

/* Formulários */
input, select, textarea {
  width: 100%; padding: 12px; border: 1px solid #cbd5e1;
  border-radius: 8px; font-size: 0.95rem; margin-bottom: 15px;
  background: #f8fafc; font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); background: white;
}

/* Badges */
.badge {
  padding: 4px 10px; border-radius: 20px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase;
}
.badge-sup { background: #fef3c7; color: #d97706; }
.badge-adm { background: #dbeafe; color: #2563eb; }
.badge-alu { background: #d1fae5; color: #059669; }

/* Cards */
.card {
  background: var(--card-bg); border-radius: 12px; padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 25px;
  border: 1px solid var(--border);
}
.card h3 {
  margin-bottom: 20px; font-size: 1.1rem;
  border-bottom: 1px solid var(--bg-body); padding-bottom: 10px;
}