/* WebCopier Fintech Checkout Modal - Modern Ultra Dark UI */
.wc-crypto-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.wc-crypto-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.wc-crypto-modal {
  background: radial-gradient(120% 120% at 50% 0%, #161722 0%, #0c0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(220, 38, 38, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  color: #f3f4f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.15s ease;
  direction: rtl;
  text-align: right;
}
.wc-crypto-overlay.active .wc-crypto-modal {
  transform: translateY(0) scale(1);
}

.wc-crypto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.wc-crypto-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.18rem;
  font-weight: 750;
  color: #ffffff;
  margin: 0;
}
.wc-crypto-title svg {
  color: #22c55e;
}
.wc-crypto-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.wc-crypto-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.wc-crypto-body {
  padding: 1.5rem;
  max-height: calc(88vh - 80px);
  overflow-y: auto;
}

/* Plan summary banner */
.wc-crypto-plan-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(20, 20, 28, 0.7) 100%);
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.wc-crypto-plan-name {
  font-size: 1.12rem;
  font-weight: 750;
  color: #ffffff;
}
.wc-crypto-plan-desc {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}
.wc-crypto-plan-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #22c55e;
  direction: ltr;
}

/* Method Selector Cards Grid */
.wc-checkout-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.wc-checkout-tab-btn {
  background: rgba(20, 21, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
}
.wc-checkout-tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(28, 29, 40, 0.9);
  transform: translateY(-2px);
}
.wc-checkout-tab-btn.active {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.2) 0%, rgba(20, 20, 26, 0.95) 100%);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35), inset 0 0 0 1px #ef4444;
}
.wc-checkout-tab-btn.active.instapay {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.2) 0%, rgba(20, 20, 26, 0.95) 100%);
  border-color: #ef4444;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35), inset 0 0 0 1px #ef4444;
}
.wc-checkout-tab-btn.active.crypto {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.2) 0%, rgba(20, 20, 26, 0.95) 100%);
  border-color: #ef4444;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35), inset 0 0 0 1px #ef4444;
}

.wc-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.wc-checkout-tab-btn:hover .wc-tab-icon {
  transform: scale(1.08);
}
.wc-checkout-tab-btn.active .wc-tab-icon {
  transform: scale(1.12);
}

.payment-opt-logo-svg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.brand-mini-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.brand-mini-pill {
  font-size: 0.62rem;
  font-weight: 750;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.brand-mini-pill.voda { background: #e60000; color: #ffffff; }
.brand-mini-pill.eti { background: #719e19; color: #ffffff; }
.brand-mini-pill.orange { background: #ff7900; color: #ffffff; }
.brand-mini-pill.we { background: #5c2d91; color: #ffffff; }
.brand-mini-pill.insta { background: #ffffff; color: #000000; }
.brand-mini-pill.insta-pill { background: linear-gradient(135deg, #a21caf, #701a75); color: #ffffff; }
.brand-mini-pill.usdt { background: #26a17b; color: #ffffff; }

/* Receipt Screenshot Upload Zone */
.receipt-upload-zone {
  border: 2px dashed rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.03);
  border-radius: 12px;
  padding: 1.15rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  margin-top: 0.85rem;
  position: relative;
}
.receipt-upload-zone:hover, .receipt-upload-zone.dragover {
  border-color: #ef4444;
  background: rgba(220, 38, 38, 0.08);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.25);
}
.receipt-upload-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.35rem;
  color: #ef4444;
  display: grid;
  place-items: center;
}
.receipt-upload-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.receipt-upload-sub {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}
.receipt-preview-wrap {
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
}
.receipt-preview-img {
  max-width: 100%;
  max-height: 130px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  display: block;
}
.receipt-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.wc-tab-title {
  font-size: 0.85rem;
  font-weight: 700;
}
.wc-tab-sub {
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.3;
}
.wc-checkout-tab-btn.active .wc-tab-sub {
  color: #e5e7eb;
}

/* Method Detail Box */
.wc-payment-box {
  background: rgba(14, 15, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wc-section-guide {
  font-size: 0.88rem;
  color: #e5e7eb;
  margin: 0 0 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wc-crypto-copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #151620;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0.6rem 0;
  transition: border-color 0.2s;
}
.wc-crypto-copy-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.wc-copy-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 750;
  color: #4ade80;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  direction: ltr;
  display: inline-block;
}

.wc-crypto-btn-copy {
  background: #232532;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  border-radius: 7px;
  padding: 0.4rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.wc-crypto-btn-copy:hover {
  background: #323548;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.wc-crypto-btn-copy.copied {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}

/* Form groups */
.wc-crypto-group {
  margin-bottom: 0.95rem;
}
.wc-crypto-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}
.wc-crypto-input {
  width: 100%;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  font-size: 0.9rem;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}
.wc-crypto-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.wc-crypto-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.22s ease;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
  font-family: inherit;
}
.wc-crypto-btn-primary:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.45);
}
.wc-crypto-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.wc-alert {
  padding: 0.85rem 1rem;
  border-radius: 9px;
  font-size: 0.86rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.wc-alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.wc-alert.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}
