/* Grandpasha — Nexus yalnızca para yatır ekranında görünsün */
#nexusPaymentMount:not([data-nexus-active="1"]) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nexus-yoggy-payment-mount[data-nexus-active="1"] {
  display: block !important;
  max-width: 960px;
  margin: 12px auto;
  clear: both;
  min-height: 200px;
}

.tl_my_acc_cont_content[data-nexus-deposit-active="1"] {
  min-height: 420px;
}

.nexus-gp-deposit-active .tl_my_acc_cont_content[data-nexus-deposit-active="1"] > *:not(#nexusPaymentMount) {
  display: none !important;
}

.nexus-gp-deposit-active #nexusPaymentMount[data-nexus-active="1"] {
  width: 100%;
}

.nexus-gp-amount label {
  display: block;
  margin: 12px 0;
  color: #e2e8f0;
}

.nexus-gp-amount input {
  display: block;
  width: 100%;
  max-width: 280px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.nexus-gp-primary {
  background: linear-gradient(135deg, #d4a017, #b8860b) !important;
  color: #111 !important;
  font-weight: 700;
}

.nexus-gp-muted {
  opacity: 0.85;
  margin-left: 8px;
}

.nexus-gp-iban-code {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.nexus-gp-loading {
  padding: 1.5rem;
  color: #94a3b8;
  text-align: center;
}

.nexus-gp-toast {
  position: fixed;
  z-index: 999999;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  display: none;
}

.nexus-gp-toast--ok {
  background: #14532d;
  color: #ecfdf5;
  border: 1px solid #22c55e;
}

.nexus-gp-toast--err {
  background: #450a0a;
  color: #fecaca;
  border: 1px solid #ef4444;
}

/* Bonus seçim popup'ı bozuk yüksekliğe düşmesin — ana sayfa slider ile çakışmasın */
.tl_popup_container .tl_popup_dialog,
#popup_dialog.tl_popup_dialog {
  max-height: min(92vh, 820px) !important;
  overflow: hidden !important;
}

.tl_popup_container .tl_my_acc_cont,
.tl_popup_container .tl_my_acc_cont_content {
  max-height: calc(92vh - 120px);
  overflow-y: auto;
}

/* Tam ekran TRICONSC para yatır paneli */
html.nexus-gp-pay-open {
  overflow: hidden;
}

.nexus-gp-pay-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.nexus-gp-pay-modal {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  border-radius: 14px;
  background: #1a1f14;
  border: 1px solid rgba(212, 160, 23, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.nexus-gp-pay-head {
  padding: 14px 48px 10px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #f5e6b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nexus-gp-pay-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.nexus-gp-pay-modal #nexusPaymentMount {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  max-width: none;
  min-height: 320px;
  padding: 8px 12px 16px;
}
