/* Intervention Info Autotagging Cards Styles */
.autotagging-card-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.autotagging-card-pending,
.autotagging-card-loading,
.autotagging-card-success,
.autotagging-card-error {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  color: #333;
}

.autotagging-card-pending {
  background-color: #fff9e6;
  border: 1px solid #ffecb3;
}

.autotagging-card-loading {
  background-color: #e3f2fd;
  border: 1px solid #bbdefb;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.autotagging-card-loading h4 {
  margin-bottom: 10px;
}
.autotagging-card-loading .loading-dots span {
  animation: blink 1.4s infinite both;
  font-size: 24px;
  font-weight: bold;
}
.autotagging-card-loading .loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.autotagging-card-loading .loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.autotagging-card-success {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.autotagging-card-error {
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
}

.autotagging-card-pending .icon-container,
.autotagging-card-success .icon-container,
.autotagging-card-error .icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

.autotagging-card-pending .text-container h4,
.autotagging-card-success .text-container h4,
.autotagging-card-error .text-container h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: bold;
}
.autotagging-card-pending .text-container p,
.autotagging-card-success .text-container p,
.autotagging-card-error .text-container p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}
.autotagging-card-pending .text-container .actions,
.autotagging-card-success .text-container .actions,
.autotagging-card-error .text-container .actions {
  display: flex;
  align-items: center;
}
.autotagging-card-pending .text-container .actions .review-link,
.autotagging-card-success .text-container .actions .review-link,
.autotagging-card-error .text-container .actions .review-link {
  margin-left: 20px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}
.autotagging-card-pending .text-container .actions .review-link:hover,
.autotagging-card-success .text-container .actions .review-link:hover,
.autotagging-card-error .text-container .actions .review-link:hover {
  text-decoration: underline;
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
} 