/* Floating support button (Stripe Payment Links) */
.orthox-support {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1050;
  font-family: 'Inter', Arial, sans-serif;
}

.orthox-support__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 2rem;
  background: #00b9fe;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 185, 254, 0.45);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.orthox-support__toggle:hover {
  background: #00a3e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 185, 254, 0.5);
}

.orthox-support__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.orthox-support__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  min-width: 14rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--card-bg, #fff);
  color: var(--text-color, #222);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.orthox-support__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-theme="dark"] .orthox-support__panel {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.orthox-support__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.85;
}

.orthox-support__link {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: #00b9fe;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.orthox-support__link:last-child {
  margin-bottom: 0;
}

.orthox-support__link:hover {
  background: #00a3e0;
  color: #fff;
}

.orthox-support__link:focus-visible {
  outline: 2px solid #00b9fe;
  outline-offset: 2px;
}

.orthox-support__note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.35;
}
