.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.nav-item.active {
  background: rgba(56, 189, 248, 0.12);
  border-left-color: #38bdf8;
  color: #38bdf8;
  font-weight: 600;
}

.kpi-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge-sucesso { background: #dcfce7; color: #15803d; }
.badge-alerta { background: #fef9c3; color: #a16207; }
.badge-erro { background: #fee2e2; color: #b91c1c; }
.badge-em_andamento { background: #dbeafe; color: #1d4ed8; }
.badge-interrompida { background: #f1f5f9; color: #475569; }
.badge-ativo { background: #dcfce7; color: #15803d; }
.badge-inativo { background: #f1f5f9; color: #64748b; }
.badge-nao_testado { background: #f1f5f9; color: #64748b; }
.badge-falha { background: #fee2e2; color: #b91c1c; }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
table.data-table th {
  text-align: left;
  padding: 0.6rem 0.9rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
table.data-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  white-space: nowrap;
}
table.data-table tbody tr:hover {
  background: #f8fafc;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: #0284c7; color: #fff; }
.btn-primary:hover { background: #0369a1; }
.btn-secondary { background: #f1f5f9; color: #334155; }
.btn-secondary:hover { background: #e2e8f0; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.25rem;
}
.form-input, .form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.9rem;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2,132,199,0.15);
}

.toast {
  padding: 0.75rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideIn 0.2s ease;
}
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
.toast-info { background: #0284c7; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
