/* Safety net: undo Telegram bleed leftovers on non-TG pages (preview + live ops). */

html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form {
  max-width: none !important;
}

html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page input[type="checkbox"],
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form input[type="checkbox"],
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page input[type="checkbox"],
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  flex: 0 0 16px !important;
}

html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page .form > button.btn,
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form > button.btn,
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page .actions .btn,
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page button.btn:not(.ph-btn):not(.tab),
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page .form > button.btn,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form > button.btn,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page .actions .btn,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page button.btn:not(.ph-btn):not(.tab) {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 0.42rem 0.7rem !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  border-radius: 8px !important;
  align-self: center !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transform: none !important;
  width: auto !important;
  max-width: max-content !important;
  vertical-align: middle !important;
}

/* Ödeme yöntemleri only */
html[data-paypro-preview="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page .form,
html[data-paypro-preview="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page form.form,
html[data-paypro-ops="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page .form,
html[data-paypro-ops="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page form.form {
  display: grid !important;
  grid-template-columns: 1.1fr 1.3fr auto auto !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin: 0.8rem 0 1rem !important;
  width: 100% !important;
  max-width: none !important;
}

html[data-paypro-preview="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page .form > label,
html[data-paypro-ops="1"]:not(.tg-bot-page) body[data-ph-route="/tanimlamalar/odeme-yontemleri"] .ph-page .form > label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  grid-column: auto !important;
  width: auto !important;
}
