/* =========================
   Legacy Binance styles
========================= */
.Binance_simple_payment_gateway_wallet_address{
  line-break:anywhere;
}

.binance_manual_payment_selection_content {
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.binance_manual_payment_QR_and_Info{
  margin-top:2%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom:solid 1px lightgray;
  padding-bottom:4%;
}

.binance_manual_payment_text{
  text-align: center;
}

.binance_manual_payment_QR_image img{
  width: 150px;
  height: 150px;
  border-radius:5px;
}

.binance_manual_payment_copyField{
  width:100%;
  display: flex;
  justify-content: space-between;
  margin-top:3%;
  border-bottom: solid 1px lightgray;
  align-items: center;
}

.binance_manual_payment_copyField p{
  margin-bottom:15px;
  font-size:12px;
  color:black;
}

.binance_manual_payment_text p{
  color:black;
  font-size:12px;
}

.Binance_manual_payment_basic_info p{
  font-size:12px;
}

.binance_manual_copyIcon{
  width: 20px;
  height:20px !important;
  cursor: pointer;
}

#product_file,#product_image{
  display:none;
}

.inputLabelforUploader{
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 1em 2em;
  background-color: lightgray;
  color: black;
  cursor:pointer;
}

#productUploadBtn{
  border-color: #cba957 #bf942a #aa8326;
  background: #f0c14b;
  margin-top: 5%;
  color:black;
  font-weight:600;
}

#product_price{
  width:13%;
}
.producti_select{
  width:17%;
}

#timer_Binance_manual_payment_gateway_crypto,
#timer_Binance_manual_payment_gateway{
  margin-right:30px;
}

/* Small optional polish */
.Binance_manual_payment_basic_info { margin-top: 10px; }
.spg-warning { color:#b00020; }
.mcc_hidden { display: none !important; }

/* =========================
   Checkout: SPG select styled like thank-you
========================= */

.spg-wrap {
  margin-top: 12px;
}

.spg-wrap > p {
  margin-bottom: 8px;
}

/* Select container feel */
.spg-wallet-select {
  width: 100%;
  padding: 14px 44px 14px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;

  background-color: #f6f7f9;
  border: 1px solid #edf0f3;
  border-radius: 14px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.spg-wallet-select:hover {
  background-color: #f9fafb;
}

.spg-wallet-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.spg-wallet-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.woocommerce-invalid .spg-wallet-select {
  border-color: #dc2626;
  background-color: #fef2f2;
}

@media (max-width: 480px) {
  .spg-wallet-select {
    padding: 13px 42px 13px 13px;
    font-size: 14px;
  }
}

/* =========================
   Thank you page (if this CSS is loaded there too)
========================= */

.spg-ty {
  padding: 24px 12px;
  background: #f3f4f6;
}

.spg-ty-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
}

.spg-ty-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f5;
}

.spg-ty-top-left{
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.spg-ty-top-timer{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.spg-ty-coin-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}

.spg-ty-coin-dot--fallback {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #fce7f3);
}

.spg-ty-top-amount {
  font-weight: 700;
  font-size: 18px;
}

.spg-ty-body {
  padding: 20px 18px 22px;
}

.spg-ty-title {
  margin: 6px 0 14px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.spg-ty-title-coin {
  font-weight: 800;
}

.spg-ty-title-net {
  margin-left: 6px;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  vertical-align: middle;
}

.spg-ty-panel {
  background: #f6f7f9;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  padding: 16px 14px;
}

.spg-ty-qr {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
}

.spg-ty-qr img {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #eef0f3;
}

.spg-ty-help {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin: 8px 0 14px;
}

.spg-ty-row {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
}

.spg-ty-row--border {
  margin-top: 10px;
}

.spg-ty-row--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.spg-ty-kv {
  min-width: 0;
}

.spg-ty-kv--right {
  text-align: right;
}

.spg-ty-k {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 400;
}

.spg-ty-v {
  font-weight: 700;
  color: #111827;
}

.spg-ty-v--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
}

.spg-ty-copy {
  margin-left: 8px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
}

.spg-ty-copy:hover {
  background: #f9fafb;
}

.spg-ty-copied {
  margin-left: 8px;
  font-size: 12px;
  color: #16a34a;
  font-weight: 700;
}

.spg-ty-timer-text {
  font-variant-numeric: tabular-nums;
}

.spg-ty-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  background: #fff;
  color: #374151;
}

.spg-ty-foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
/* Only SPG gateway icon next to title */
.woocommerce-checkout
#payment
.payment_methods
li.payment_method_spg_crypto_manual > label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-left: 10px;
  vertical-align: middle;
}
/* CDP: custom "order received" notice only when we replaced it */
.woocommerce-thankyou-order-received .spg-ty-order-received{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-thankyou-order-received .spg-ty-info-icon{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  background: #b2c0d7;
    color: #1d4ed8;
    flex: 0 0 auto;
    border: solid 1px;
}

.woocommerce-thankyou-order-received .spg-ty-order-received-text{
  font-weight: 400;
}

/* ======================================
   CDP Thank You notice customization
   Only for our gateway
====================================== */

/* Remove WooCommerce green success icon */
body.spg-ty-hide-header
.woocommerce-notice--success::before {
  display: none !important;
  content: none !important;
}

/* Align notice content nicely */
body.spg-ty-hide-header
.woocommerce-thankyou-order-received {
  padding-left: 0;
}

/* Our info wrapper */
.spg-ty-order-received {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

/* Custom info icon */
.spg-ty-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
  min-width: 22px;

  border-radius: 50%;
  background: #2563eb;      /* blue info color */
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Text polish */
.spg-ty-order-received-text {
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}
#tbay-main-content {
    padding-top: 0% !important;
}
/* CDP Thank You: title + back button */
.spg-ty-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.spg-back-to-store {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.spg-back-to-store:hover {
  background: #e5e7eb;
}
@media (max-width: 420px) {
  .spg-ty-row--split {
    flex-direction: column;
    align-items: flex-start;
  }
  .spg-ty-kv--right {
    text-align: left;
  }
  .spg-ty
 {
    padding: 4px 2px;
    background: #f3f4f6;
    width: 92%;
}
.woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-received, .woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-details{
  width: 92%;
}
}