/* Utility classes */

.text-gradient {
  background: linear-gradient(135deg, #006466, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-glow {
  box-shadow: 0 0 20px rgba(0, 100, 102, 0.2);
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-critical { background: rgba(239, 68, 68, 0.2); color: #EF4444; }
.badge-high { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.badge-medium { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }
.badge-low { background: rgba(34, 197, 94, 0.2); color: #22C55E; }

.field-error {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-switch.active {
  background: #006466;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}

.toggle-switch.active::after {
  transform: translateX(20px);
}
