/*
  Cor product family — mandatory Help control (exact CorLicense help-btn).
  Canonical: C:\ITStaff\_Projects\_branding\help-btn.css
  Uses --ca-brand so light/dark match CorPBX theme tokens.
*/

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--ca-border, #d0d7e2);
  background: var(--ca-panel-soft, #f8fafc);
  color: var(--ca-brand, var(--ca-header, #0284c7));
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.help-btn:hover {
  background: var(--ca-accent-soft, rgba(14, 165, 233, 0.12));
  color: var(--ca-brand, var(--ca-header, #0284c7));
  border-color: color-mix(in srgb, var(--ca-brand, #0284c7) 35%, var(--ca-border, #d0d7e2));
}

.help-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--ca-brand, var(--ca-header, #0284c7));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Keep ? readable on sky-600 in dark mode (CorPBX brand stays #0284c7) */
html.dark .help-btn-icon {
  color: #ffffff;
}

html.dark .help-btn {
  background: var(--ca-panel-soft, #0f172a);
  color: var(--ca-brand, #0284c7);
}

.help-btn-label {
  padding-right: 0.15rem;
}

@media (max-width: 720px) {
  .help-btn-label { display: none; }
  .help-btn { padding: 0.28rem; }
}
