@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0d6efd;
}
body {
  background: #f4f6f9;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1f2937;
}
.navbar-brand img { max-height: 36px; margin-right: 8px; }
.card {
  border: none;
  box-shadow: 0 2px 10px rgba(16,24,40,.06);
  border-radius: 12px;
}
.btn { border-radius: 8px; font-weight: 500; }
.btn-primary, .bg-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #0a3d91 100%);
}
.login-card { width: 100%; max-width: 400px; border-radius: 16px; }

.sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #101828 0%, #0b1220 100%);
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  padding: .6rem 1rem;
  border-radius: 8px;
  margin-bottom: 2px;
  font-size: .93rem;
  transition: background .15s ease;
}
.sidebar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar a.active { background: var(--primary); color: #fff; font-weight: 600; }

.badge-modulo { font-size: .75rem; }
table.table thead { background: #f8fafc; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: #6b7280; }
table.table td, table.table th { vertical-align: middle; }
.logo-preview { max-height: 60px; }

.stat-card { padding: 1.25rem; }
.stat-card .stat-label { font-size: .8rem; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.stat-card .stat-value { font-size: 1.9rem; font-weight: 700; margin-top: .25rem; }
