/* Ödeme yöntemleri add-row — undo telegram CSS bleed (preview + live ops) */
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page .form,
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,
html[data-paypro-ops="1"]:not(.tg-bot-page) .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) .ph-page .form > input,
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form > input,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page .form > input,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form > input {
  min-height: 0 !important;
  height: auto !important;
  padding: 0.45rem 0.55rem !important;
  font-size: inherit !important;
  align-self: center !important;
  box-sizing: border-box !important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page .form > label,
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form > label,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page .form > label,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form > label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  width: auto !important;
  align-self: center !important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page .form 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 .form 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 .form .btn,
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 .form .btn {
  min-height: 0 !important;
  height: auto !important;
  padding: 0.42rem 0.7rem !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  align-self: center !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  box-shadow: none !important;
}

/* Bayi grup ayarları create row — do not inherit the payment-method 4-column form */
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create{
  display:grid!important;
  grid-template-columns:minmax(150px,1.45fr) minmax(170px,1.7fr) repeat(5,minmax(78px,.72fr))!important;
  gap:8px 10px!important;
  align-items:end!important;
  margin:0 0 12px!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create>label,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create>label{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create>label>span,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create>label>span{
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create input:not([type=checkbox]),
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create input:not([type=checkbox]),
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .partner-trigger,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .partner-trigger{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  box-sizing:border-box!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .partner-trigger,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .partner-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .form-switches,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .form-switches{
  grid-column:1 / -1!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
}
html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .form-add,
html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create .form-add{
  margin-left:auto!important;
  width:auto!important;
  max-width:none!important;
  height:28px!important;
  min-height:28px!important;
  padding:0 14px!important;
}
@media (max-width:980px){
  html[data-paypro-preview="1"]:not(.tg-bot-page) .ph-page form.form.wg-create,
  html[data-paypro-ops="1"]:not(.tg-bot-page) .ph-page form.form.wg-create{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
