.content_script {
  --content-margin: 1rem;
  --content-bg: #1a1a1a;
  --content-text: #e0e0e0;
  --content-link: #4a9eff;
  --content-border: #4a9eff;
  --content-success: #22c55e;
  --content-warning: #f59e0b;
  --content-error: #ef4444;
  --content-loading: #6366f1;
  color: var(--content-text);
  background-color: var(--content-bg);
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 320px;
  margin: var(--content-margin);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  border-radius: 8px;
  border: 1px solid rgba(74, 158, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.content_logo {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 6px;
}

.content_title {
  font-size: 1.25em;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-weight: 600;
  margin: 0;
  color: var(--content-text);
}

.content_description {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
}

.content_description a {
  text-decoration: none;
  color: var(--content-link);
  border-bottom: 1px solid var(--content-border);
  margin: 0;
}

.content_classify_btn {
  background: linear-gradient(135deg, var(--content-link), #5b6aff);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.content_classify_btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(74, 158, 255, 0.3);
}

.content_classify_btn:active {
  transform: translateY(0);
}

.content_message {
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  min-height: 1.5rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.content_message--success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--content-success);
}

.content_message--warning {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--content-warning);
}

.content_message--error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--content-error);
}

.content_message--loading {
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--content-loading);
}

.content_message--loading::after {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
