/* Magic 8-Ball for Axiom */

.magic8ball-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  z-index: 100;
  transition: background-color 0.15s ease;
  vertical-align: middle;
}

/* Unrevealed state - just the logo */
.magic8ball-badge:not(.magic8ball-badge--revealed) {
  padding: 0;
  background: transparent;
}

/* Revealed state - text with colored background */
.magic8ball-badge--revealed {
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  color: #fff;
  background: #6b21a8; /* Purple fallback */
}

.magic8ball-badge:hover {
  filter: brightness(1.2);
}

/* Logo image sizing */
.magic8ball-logo {
  height: 14px;
  width: auto;
  border-radius: 2px;
  display: block;
}

/* Color coding by verdict type */
.magic8ball-badge[data-verdict-type="positive"] {
  background: #16a34a; /* Green */
}

.magic8ball-badge[data-verdict-type="neutral"] {
  background: #ca8a04; /* Yellow/amber */
}

.magic8ball-badge[data-verdict-type="negative"] {
  background: #dc2626; /* Red */
}
