/* Alert styling for tag alerts */

/* Keyframe animation for blinking effect */
@keyframes blink-alert {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Alert tag style */
.tag-alert {
  background-color: #dc3545 !important;
  color: white !important;
  font-weight: 600;
  animation: blink-alert 1s ease-in-out infinite;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

/* Ensure contrast and visibility */
.tag-alert:hover {
  background-color: #c82333 !important;
  text-decoration: none;
}

/* Alert message styling in alerts/toasts */
.alert-tag-info {
  border-left: 4px solid #dc3545;
  background-color: #f8d7da;
  color: #721c24;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.alert-tag-info .alert-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-tag-info .alert-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #dc3545;
  border-radius: 50%;
  animation: blink-alert 1s ease-in-out infinite;
}
