/* Tag exclusion styles */

/* Tag styles for excluded tags */
.tag.excluded {
  opacity: 0.7;
  background-color: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  text-decoration: line-through;
  position: relative;
}

/* Exclude button for tags */
.tag {
  position: relative;
}

.tag .exclude-button {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s ease;
  z-index: 5;
  letter-spacing: 1px; /* Add letter spacing to give the cross more room */
  padding: 0 0 1px 0; /* Add bottom padding to center the cross vertically */
}

.tag .exclude-button:hover {
  background-color: #ef4444;
  color: white;
  border-color: #ef4444;
}

.tag.excluded .exclude-button {
  background-color: var(--primary);
  color: white;
}

.tag.excluded .exclude-button:hover {
  background-color: var(--primary-hover);
}

/* Excluded tags filter */
.excluded-tags-filter {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.excluded-tag {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Tooltip for excluded tags */
.tag.excluded::after {
  content: 'Tag excluded - click + to include';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface);
  color: var(--text);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tag.excluded:hover::after {
  opacity: 1;
}

/* Notification for tag exclusion/inclusion */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  background-color: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification.success {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-left: 4px solid #10b981;
}

.notification.warning {
  background-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border-left: 4px solid #f59e0b;
}

.notification.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-left: 4px solid #ef4444;
}

.notification.info {
  background-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-left: 4px solid #3b82f6;
}