.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625em;
  width: 100%;
  padding: 0.625em 1em;
  border-radius: 0.375em;
  border: 1px solid var(--border-default);
  font-size: 0.92em;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.oauth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.1);
}

.oauth-btn:active {
  transform: scale(0.98) translateY(0);
}

.oauth-btn > .oauth-btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.oauth-btn--google {
  background: var(--bg-panel);
  border-color: var(--border-default);
  color: var(--text-primary);
}

.oauth-btn--google:hover {
  border-color: var(--border-medium);
  background: var(--muted);
}

.oauth-btn--facebook {
  background: #0866ff;
  border-color: #0866ff;
  color: #ffffff;
}

.oauth-btn--facebook:hover {
  filter: brightness(1.08);
}

/* [TARGETED: 2026-07-21] telegram login custom button — full-width brand button
   matching the Facebook variant's pattern (solid brand fill, white text), so it
   sits as an equal row alongside Google/Facebook. Replaces the old fixed-width
   Telegram iframe widget (removed): a custom .oauth-btn now triggers
   window.Telegram.Login.auth() (popup), so we fully control its styling.
   It is a <button>, so reset the native appearance to inherit the row styling. */
.oauth-btn--telegram {
  -webkit-appearance: none;
  appearance: none;
  background: #29a9eb;
  border-color: #29a9eb;
  color: #ffffff;
  font-family: inherit;
}

.oauth-btn--telegram:hover {
  filter: brightness(1.08);
}
