body {
  margin: 0;
  display: flex;
  background: #f5f7fa;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
}

.content {
  flex: 1;
  padding: 30px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.card-panel {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-left: 5px solid;
}

.card-panel.nps        { border-color: #16a34a; }
.card-panel.promotores { border-color: #22c55e; }
.card-panel.neutros    { border-color: #facc15; }
.card-panel.detratores { border-color: #dc2626; }
.card-panel.respostas  { border-color: #3b82f6; }

.kpi-title {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 5px;
}

.kpi-value {
  font-size: 32px;
  font-weight: 700;
}

.table-modern {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.table-modern th,
.table-modern td {
  padding: 14px;
  text-align: left;
}

.table-modern thead {
  background: #f9fafb;
}

.table-modern tbody tr:nth-child(even) {
  background: #f9fafb;
}

.table-modern tbody tr:hover {
  background: #eef2ff;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-5 { background: #dcfce7; color: #166534; }
.badge-4 { background: #fef9c3; color: #854d0e; }
.badge-3 { background: #fee2e2; color: #991b1b; }


/* ===== SIDEBAR MODERNA ===== */

.sidebar {
  width: 240px;
  background: #0f172a;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 15px;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 30px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: #16a34a;
  border-radius: 50%;
}

.logo-text {
  letter-spacing: 0.5px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: #1e293b;
  color: #fff;
}

.menu-item.active {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

.sidebar-bottom {
  margin-top: 30px;
}

.logout-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #dc2626;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.logout-btn:hover {
  background: #b91c1c;
}
