/* Floating help widget, bottom-right on every page. */

.need-help {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  z-index: 90;
}

.need-help__label {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.2em;
  font-size: var(--text-body);
  font-weight: 500;
  box-shadow: var(--shadow-card);
}

.need-help__button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.need-help__button:hover {
  background: var(--color-action);
}

.need-help__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 260px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  padding: var(--space-4);
}
