/**
 * Grandpasha — orijinal para yatırma teması (TRICONSC overlay + hesap popup)
 */
#nexusGpPayOverlay,
#nexusPaymentMount[data-nexus-active="1"] {
  --gp-gold: #e4ae2f;
  --gp-gold-d: #c8921a;
  --gp-bg: #141a12;
  --gp-surface: #1c2419;
  --gp-border: rgba(228, 174, 47, 0.28);
  --gp-text: #f1f5f9;
  --gp-muted: #94a3b8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#nexusGpPayOverlay .nexus-gp-pay-modal.gp-dep-shell {
  width: min(480px, calc(100vw - 20px)) !important;
  max-height: min(90vh, 720px) !important;
  background: linear-gradient(180deg, #1a2218 0%, var(--gp-bg) 100%);
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

#nexusGpPayOverlay .nexus-gp-pay-modal.gp-dep-shell--wide {
  width: min(520px, calc(100vw - 20px)) !important;
}

#nexusGpPayOverlay .nexus-gp-pay-head {
  text-align: center;
  padding: 16px 44px 12px;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(228, 174, 47, 0.12) 0%, transparent 100%);
}

#nexusGpPayOverlay .nexus-gp-pay-modal #nexusPaymentMount {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.gp-dep {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: var(--gp-text);
}

.gp-dep-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 16px 20px;
  -webkit-overflow-scrolling: touch;
}

.gp-dep-lead {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--gp-muted);
  text-align: center;
  line-height: 1.45;
}

.gp-dep-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gp-dep-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  background: var(--gp-surface);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  box-sizing: border-box;
}

.gp-dep-row:hover {
  border-color: rgba(228, 174, 47, 0.55);
  background: #222b1f;
}

.gp-dep-row:active {
  transform: scale(0.99);
}

.gp-dep-row-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 20px;
}

.gp-dep-row-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gp-dep-row-body {
  flex: 1 1 auto;
  min-width: 0;
}

.gp-dep-row-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.gp-dep-row-meta {
  display: block;
  font-size: 12px;
  color: var(--gp-muted);
}

.gp-dep-row-arrow {
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--gp-gold);
  opacity: 0.85;
  line-height: 1;
}

/* Tutar / IBAN adımları */
.gp-dep-step {
  padding: 18px 20px 22px;
}

.gp-dep-step h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.gp-dep-limit {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--gp-muted);
}

.gp-dep-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gp-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gp-dep-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--gp-border);
  border-radius: 12px;
}

.gp-dep-field input:focus {
  outline: none;
  border-color: var(--gp-gold);
  box-shadow: 0 0 0 3px rgba(228, 174, 47, 0.2);
}

.gp-dep-iban-box {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--gp-border);
}

.gp-dep-iban-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: #fff;
}

.gp-dep-iban-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  word-break: break-all;
  color: var(--gp-gold);
}

.gp-dep-warn {
  padding: 12px;
  border-radius: 10px;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
  font-size: 13px;
}

.gp-dep-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 380px) {
  .gp-dep-actions {
    grid-template-columns: 1fr;
  }
}

.gp-dep-btn {
  cursor: pointer;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: filter 0.15s;
}

.gp-dep-btn--primary {
  background: linear-gradient(180deg, var(--gp-gold) 0%, var(--gp-gold-d) 100%);
  color: #111;
  box-shadow: 0 4px 12px rgba(228, 174, 47, 0.35);
}

.gp-dep-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gp-dep-btn:hover {
  filter: brightness(1.06);
}

.gp-dep-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gp-dep-actions .gp-dep-btn--primary:only-child,
.gp-dep-actions .gp-dep-btn--primary:first-child:last-child {
  grid-column: 1 / -1;
}

/* Hesap popup içinde mount (fallback) */
.tl_popup_container #nexusPaymentMount[data-nexus-active="1"] .gp-dep {
  max-height: min(65vh, 520px);
}

.tl_popup_container.nexus-gp-deposit-active .tl_my_acc_cont_content {
  padding: 0 !important;
}

.tl_popup_container #nexusPaymentMount[data-nexus-active="1"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
