/* Adora agent panel icon button — brand component pulled in from the Adora
   design system (.panel-agent-btn). Same 48x48 footprint and hover-tooltip
   pattern as the Ask Adora icon button, but pink-filled with no text label.
   Font (Plus Jakarta Sans) is loaded once via <link> in index.html. */

.agent-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: #FEECF9;
  border: 1.5px solid #FED9F3;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  transition: background-color 150ms ease, box-shadow 150ms ease;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.agent-icon-btn:hover {
  background: #FED9F3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.agent-icon-btn__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.agent-icon-btn__scale {
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-icon-btn__tooltip {
  position: absolute;
  background: var(--color-foreground-primary);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  padding: 8px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.agent-icon-btn__tooltip--bottom {
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
}

.agent-icon-btn__tooltip--bottom::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-bottom: 6px solid var(--color-foreground-primary);
}

.agent-icon-btn--has-tooltip:hover .agent-icon-btn__tooltip {
  opacity: 1;
}
