/* Crypto Pay Gateway v3 — Checkout + Thank You Page */

/* --- Crypto Selector at Checkout --- */
.cpg-crypto-selector { margin: 12px 0; }
.cpg-crypto-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cpg-crypto-option { cursor: pointer; flex: 1 1 calc(50% - 8px); min-width: 130px; }
.cpg-crypto-option input[type="radio"] { display: none; }
.cpg-crypto-card {
    display: flex; flex-direction: column; padding: 12px 14px;
    border: 2px solid #e0e0e0; border-radius: 10px; transition: all 0.2s; background: #fff;
}
.cpg-crypto-option input:checked + .cpg-crypto-card {
    border-color: #7c3aed; background: #f5f3ff; box-shadow: 0 0 0 1px #7c3aed;
}
.cpg-crypto-card:hover { border-color: #a78bfa; }
.cpg-crypto-name { font-weight: 700; font-size: 14px; color: #1a1a1a; }
.cpg-crypto-network { font-size: 11px; color: #888; margin-top: 2px; }

/* --- Price Preview (Task 18) --- */
.cpg-price-preview {
    margin: 10px 0 4px;
    padding: 10px 14px;
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    border-radius: 8px;
    font-size: 13px;
    color: #4c1d95;
    line-height: 1.5;
}
.cpg-price-preview .cpg-preview-amount {
    font-weight: 600;
    font-size: 14px;
    color: #7c3aed;
}
.cpg-price-preview .cpg-preview-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}
.cpg-price-preview .cpg-preview-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-weight: 400;
}
.cpg-spinner-sm {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #a78bfa;
    border-top-color: transparent;
    border-radius: 50%;
    animation: cpg-spin 0.8s linear infinite;
}

/* --- Hide WC default content for pending crypto orders --- */
/* thankyou page */
body.cpg-pending-payment .woocommerce-order-overview,
body.cpg-pending-payment .woocommerce-order-details,
body.cpg-pending-payment .woocommerce-customer-details {
    display: none;
}

/* --- Thank You Page Payment Details --- */
.cpg-payment-details {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 28px; margin: 24px auto; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    max-width: 620px;
    position: relative;
}
.cpg-payment-details h3 {
    margin: 0 0 6px; font-size: 20px; color: #1a1a1a; text-align: center;
}
/* View-order page: center the card in the content area */
.cpg-view-order-payment {
    margin: 24px auto;
}
/* View-order: Pay Now button */
.cpg-view-order-actions {
    text-align: center; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.cpg-pay-now-btn {
    display: inline-block; padding: 12px 32px;
    background: #7c3aed; color: #fff !important; font-weight: 600; font-size: 15px;
    border-radius: 10px; text-decoration: none; transition: background 0.2s;
}
.cpg-pay-now-btn:hover { background: #6d28d9; }
/* View-order: top actions with Pay Now */
.cpg-view-order-actions-top {
    border-top: none; margin-top: 0; padding-top: 0;
}
.cpg-view-order-actions-top .cpg-safe-close {
    margin-top: 6px;
}
/* "or verify" divider */
.cpg-view-order-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 16px 0; color: #9ca3af; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.cpg-view-order-divider::before,
.cpg-view-order-divider::after {
    content: ''; flex: 1; height: 1px; background: #e5e7eb;
}
/* Reduce page title spacing on pay-for-order and view-order */
body.cpg-pending-payment .entry-header {
    margin-bottom: 0 !important; padding-bottom: 16px !important;
}
body.cpg-pending-payment .entry-title {
    margin-bottom: 0 !important; padding-bottom: 0 !important; font-size: 40px; font-weight: 700;
}
/* Compact store credits section on pay-for-order */
body.cpg-pending-payment .acfw-store-credits-order-pay-title {
    font-size: 20px; font-weight: 700; margin: 40px auto 4px; max-width: 620px; text-align: left;
}
body.cpg-pending-payment p.acfw-store-credit-user-balance {
    font-size: 18px; max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: 4px; text-align: left;
}
body.cpg-pending-payment p.acfw-store-credit-instructions {
    font-size: 18px; max-width: 620px; margin-left: auto; margin-right: auto; margin-top: 0; text-align: left;
}
body.cpg-pending-payment [class*="acfw-store-credit"] {
    max-width: 620px; margin-left: auto; margin-right: auto; text-align: left;
}
/* Stack input + button vertically and constrain width */
body.cpg-pending-payment .acfw-store-credits-order-pay-title ~ div,
body.cpg-pending-payment .acfw-store-credit-instructions ~ div,
body.cpg-pending-payment form#order_review > div:has(input[type="text"]):has(button) {
    max-width: 620px; margin-left: auto; margin-right: auto;
    display: flex; flex-direction: column; gap: 8px;
}
body.cpg-pending-payment form#order_review > div:has(input[type="text"]):has(button) input,
body.cpg-pending-payment form#order_review > div:has(input[type="text"]):has(button) button {
    width: 100%; max-width: 620px;
}

/* Compact order summary */
.cpg-order-summary {
    display: flex; align-items: center; justify-content: space-between;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 10px 14px; margin: 10px 0 18px; gap: 12px;
}
.cpg-summary-left {
    display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1;
}
.cpg-summary-order {
    font-weight: 600; font-size: 13px; color: #374151;
}
.cpg-summary-items {
    font-size: 12px; color: #6b7280;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cpg-summary-total {
    font-weight: 700; font-size: 16px; color: #1a1a1a; white-space: nowrap;
}
.cpg-hint { color: #6b7280; font-size: 13px; margin: 0 0 20px; line-height: 1.5; }

/* QR Code */
.cpg-qr-wrapper { text-align: center; margin: 20px 0; }
#cpg-qrcode { display: inline-block; padding: 12px; background: #fff; border: 1px solid #eee; border-radius: 12px; }
#cpg-qrcode canvas { display: block !important; }
#cpg-qrcode img { display: none !important; } /* Hide fallback img — canvas is primary */
.cpg-deeplink-btn {
    display: inline-block; margin-top: 12px; padding: 10px 24px;
    background: #7c3aed; color: #fff !important; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.2s;
}
.cpg-deeplink-btn:hover { background: #6d28d9; }

/* Payment info rows */
.cpg-payment-info { margin: 20px 0; }
.cpg-info-row {
    display: flex; align-items: flex-start; padding: 10px 0;
    border-bottom: 1px solid #f3f4f6; gap: 12px;
}
.cpg-info-row:last-child { border-bottom: none; }
.cpg-info-row .cpg-label { min-width: 90px; font-weight: 600; color: #555; font-size: 13px; padding-top: 2px; }
.cpg-info-row .cpg-value { flex: 1; font-size: 14px; color: #1a1a1a; word-break: break-all; }
.cpg-amount-value { font-size: 22px; color: #7c3aed; }
.cpg-fiat-equiv { font-size: 14px; color: #6b7280; font-weight: normal; margin-left: 4px; }
.cpg-address-link { text-decoration: none; }
.cpg-address-link code {
    display: inline-block; font-size: 12px; background: #f5f3ff; padding: 6px 10px;
    border-radius: 6px; border: 1px solid #ede9fe; word-break: break-all;
}
.cpg-badge {
    display: inline-block; background: #ede9fe; color: #6d28d9; padding: 3px 12px;
    border-radius: 20px; font-weight: 600; font-size: 13px;
}
.cpg-ref { font-size: 11px; background: #f3f4f6; padding: 2px 6px; border-radius: 3px; }
.cpg-ref-note { font-size: 11px; color: #9ca3af; margin-left: 6px; }
.cpg-ref-row { opacity: 0.7; }

/* Copy button */
.cpg-copy-btn {
    display: inline-block; margin-left: 8px; padding: 3px 10px; font-size: 11px;
    background: #7c3aed; color: #fff; border: none; border-radius: 4px;
    cursor: pointer; transition: background 0.2s; vertical-align: middle;
}
.cpg-copy-btn:hover { background: #6d28d9; }
.cpg-copy-btn.copied { background: #059669; }

/* Info + warning boxes */
.cpg-info-box {
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
    padding: 12px 16px; margin: 16px 0; font-size: 13px; color: #1e40af; line-height: 1.5;
}
.cpg-info-box strong { display: block; margin-bottom: 4px; }
.cpg-warning {
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
    padding: 12px 16px; margin: 16px 0;
}
.cpg-warning p { margin: 0; font-size: 13px; color: #92400e; line-height: 1.5; }

/* --- Countdown Timer (Task 21) --- */
#cpg-countdown {
    text-align: center;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    border-radius: 8px;
}
#cpg-countdown.cpg-countdown-static {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}
.cpg-countdown-time {
    font-size: 22px;
    font-weight: 700;
    color: #7c3aed;
    letter-spacing: 0.5px;
}

/* Expired State */
.cpg-expired .cpg-qr-wrapper {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cpg-expired .cpg-payment-info {
    opacity: 0.5;
    transition: opacity 0.3s;
}
.cpg-expired-message {
    font-size: 18px;
    font-weight: 700;
    color: #991b1b;
    text-align: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}
.cpg-requote-btn {
    display: block;
    margin: 12px auto;
    padding: 12px 28px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cpg-requote-btn:hover { background: #6d28d9; }
.cpg-requote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.cpg-requote-error {
    text-align: center;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 13px;
}

/* --- Status Section --- */
.cpg-status-section { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.cpg-status-pending {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px;
    background: #fef3c7; color: #92400e; border-radius: 10px; font-weight: 600; font-size: 14px;
}
.cpg-status-confirmed { background: #d1fae5 !important; color: #065f46 !important; }
.cpg-status-expired   { background: #fef2f2 !important; color: #991b1b !important; }

/* Three-State: Detected (Task 23) */
.cpg-status-detected {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fef9c3;
    color: #854d0e;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}
.cpg-progress-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid #d97706;
    border-top-color: transparent;
    border-radius: 50%;
    animation: cpg-spin 1s linear infinite;
}

/* Detected tx link */
.cpg-tx-detected {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
}
.cpg-tx-detected a {
    color: #b45309;
    text-decoration: underline;
}
.cpg-tx-detected a:hover {
    color: #92400e;
}

.cpg-auto-check { font-size: 12px; color: #9ca3af; margin-top: 8px; }

/* Spinner */
.cpg-spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid #d97706; border-top-color: transparent;
    border-radius: 50%; animation: cpg-spin 0.8s linear infinite;
}
@keyframes cpg-spin { to { transform: rotate(360deg); } }

/* Payment confirmed */
.cpg-payment-confirmed {
    background: #d1fae5; border: 1px solid #6ee7b7; border-radius: 14px;
    padding: 28px; margin: 24px 0; text-align: center;
}
.cpg-payment-confirmed h3 { color: #065f46; margin: 0 0 8px; font-size: 22px; }
.cpg-payment-confirmed p { color: #047857; margin: 0; }

/* TX result on confirmation */
.cpg-tx-confirmed {
    margin-top: 12px; font-size: 13px; text-align: center;
}
.cpg-tx-confirmed a {
    color: #6d28d9; text-decoration: underline;
}

.cpg-error {
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 16px; color: #991b1b;
}

/* --- Mobile Wallet Deep Link Button (legacy, pre-wallet-adapter) --- */
.cpg-wallet-deeplink-legacy.cpg-mobile-only { display: none; }
.cpg-wallet-deeplink-legacy {
    display: inline-block;
    margin-top: 12px;
    padding: 14px 32px;
    background: #7c3aed;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: background 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.cpg-wallet-deeplink-legacy:hover { background: #6d28d9; }

@media (max-width: 768px) {
    .cpg-mobile-only { display: block; }
    .cpg-qr-wrapper .cpg-wallet-btn {
        display: block;
    }
    /* Wallet section mobile */
    #cpg-wallet-connect-section { padding: 16px; margin: 0 0 16px; }
    .cpg-wallet-buttons { max-width: 100%; }
    .cpg-wallet-btn { padding: 14px 16px; font-size: 15px; width: 100%; box-sizing: border-box; }
    .cpg-wallet-btn img.cpg-wallet-icon { width: 26px; height: 26px; }
    .cpg-wallet-btn .cpg-wallet-icon-fallback { width: 26px; height: 26px; font-size: 13px; }
    .cpg-wallet-pay-btn { max-width: 100%; }
    .cpg-wallet-prompt { font-size: 15px; }
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .cpg-crypto-option { flex: 1 1 100%; }
    .cpg-info-row { flex-direction: column; gap: 4px; }
    .cpg-info-row .cpg-label { min-width: auto; }
    .cpg-payment-details { padding: 14px; }
    .cpg-countdown-time { font-size: 18px; }
    /* Wallet section small screens */
    #cpg-wallet-connect-section { padding: 12px; border-radius: 10px; }
    .cpg-wallet-btn { padding: 12px 14px; font-size: 14px; gap: 10px; border-radius: 10px; }
    .cpg-wallet-btn img.cpg-wallet-icon { width: 24px; height: 24px; }
    .cpg-wallet-btn .cpg-wallet-icon-fallback { width: 24px; height: 24px; font-size: 12px; }
    .cpg-wallet-connected { font-size: 12px; padding: 6px 10px; }
    .cpg-wallet-pay-btn { font-size: 15px; padding: 12px 20px; }
}

/* --- Manual Send Section --- */
.cpg-manual-toggle-wrapper {
    text-align: center;
    margin: 20px 0 8px;
    padding: 10px;
    background: #fafafa;
    border-radius: 8px;
}
.cpg-manual-toggle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    padding: 6px 12px;
}
.cpg-manual-toggle:hover { color: #374151; }
.cpg-manual-toggle-warn {
    color: #dc2626;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* TX Warning — first thing in manual section */
.cpg-manual-tx-warning {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0 0 16px;
    color: #991b1b;
    line-height: 1.5;
}
.cpg-manual-tx-warning strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #dc2626;
}
.cpg-manual-tx-warning p {
    margin: 4px 0 0;
    font-size: 13px;
}

/* Amount row highlight */
.cpg-info-row-highlight {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 10px 12px !important;
    margin-bottom: 4px;
}
.cpg-info-row-highlight .cpg-amount-value {
    font-size: 22px;
    color: #15803d;
}

/* Address code styling */
.cpg-address-code {
    font-size: 11px;
    word-break: break-all;
    background: #f1f5f9;
    padding: 4px 6px;
    border-radius: 4px;
    display: inline-block;
    max-width: 280px;
    color: #334155;
}

/* Subtle info row */
.cpg-info-row-subtle {
    font-size: 12px;
    color: #9ca3af;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

/* TX Hash Input Section */
.cpg-tx-hash-inline {
    margin: 16px 0;
    padding: 14px 16px;
    background: #f8fafc;
    border: 2px solid #7c3aed;
    border-radius: 8px;
}
.cpg-tx-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4c1d95;
    margin-bottom: 8px;
}
.cpg-tx-input-row {
    display: flex;
    gap: 8px;
}
.cpg-tx-input {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    font-family: monospace;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    min-width: 0;
}
.cpg-tx-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}
.cpg-verify-tx-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.cpg-verify-tx-btn:hover { background: #6d28d9; }
.cpg-verify-tx-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* TX Status Messages */
#cpg-tx-status {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
}
#cpg-tx-status.cpg-tx-success {
    color: #15803d;
    font-weight: 600;
}
#cpg-tx-status.cpg-tx-error {
    color: #dc2626;
    font-weight: 500;
}
#cpg-tx-status.cpg-tx-retry {
    color: #92400e;
}
#cpg-tx-status.cpg-tx-loading {
    color: #6b7280;
}

/* BTC info box */
.cpg-info-box-btc {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 12px 0;
}

/* Exchange note — de-emphasized */
.cpg-manual-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 12px 0 0;
    line-height: 1.4;
}

/* Safe to close messaging */
.cpg-safe-close {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
    font-style: italic;
}

/* Fix dark-on-dark text for WC order overview on thank-you page */
.woocommerce-order-overview mark,
.woocommerce-order p mark,
.woocommerce-thankyou-order-details mark {
    color: inherit;
    background: none;
}

/* Fix dark-on-dark text in My Account > Orders table */
.woocommerce-orders-table mark,
.woocommerce-MyAccount-content mark {
    color: inherit;
    background: none;
}

/* --- Wallet Connect Section (v4.0) --- */
#cpg-wallet-connect-section { margin: 0 0 20px; padding: 20px; background: #f8f7ff; border: 2px solid #e9e5ff; border-radius: 14px; }
.cpg-wallet-prompt { font-size: 16px; font-weight: 700; color: #1a1a1a !important; margin: 0 0 14px; text-align: center; }
.cpg-wallet-buttons { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto 12px; }
#cpg-wallet-connect-section .cpg-wallet-btn {
    display: flex; align-items: center; gap: 12px; padding: 14px 20px;
    border: 2px solid #d4d0f0; border-radius: 12px; background: #fff;
    cursor: pointer; font-size: 15px; font-weight: 700; color: #1a1a1a !important;
    transition: all 0.2s; text-decoration: none; justify-content: center;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08);
    width: 100%; box-sizing: border-box;
}
#cpg-wallet-connect-section .cpg-wallet-btn span { color: #1a1a1a !important; }
#cpg-wallet-connect-section .cpg-wallet-btn:hover { border-color: #7c3aed; background: #f0edff; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15); transform: translateY(-1px); color: #1a1a1a !important; }
#cpg-wallet-connect-section .cpg-wallet-btn:active { transform: translateY(0); }
#cpg-wallet-connect-section .cpg-wallet-btn:disabled { opacity: 0.5; cursor: wait; transform: none; }
#cpg-wallet-connect-section .cpg-wallet-btn img.cpg-wallet-icon { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
#cpg-wallet-connect-section .cpg-wallet-btn .cpg-wallet-icon-fallback { width: 28px; height: 28px; border-radius: 8px; background: #7c3aed; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
#cpg-wallet-connect-section a.cpg-wallet-deeplink { text-align: center; color: #1a1a1a !important; }
.cpg-wallet-divider {
    display: flex; align-items: center; gap: 12px; margin: 16px 0;
    color: #9ca3af; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.cpg-wallet-divider::before, .cpg-wallet-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.cpg-wallet-status { text-align: center; margin: 12px 0; }
.cpg-wallet-connecting { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; color: #6b7280; font-size: 14px; }
.cpg-wallet-connected { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; background: #ecfdf5; border-radius: 8px; font-size: 13px; color: #065f46; margin-bottom: 10px; }
.cpg-wallet-connected-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; display: inline-block; }
.cpg-wallet-pay-btn { display: block; width: 100%; max-width: 320px; margin: 0 auto 8px; padding: 14px 24px; background: #7c3aed; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.cpg-wallet-pay-btn:hover { background: #6d28d9; }
.cpg-wallet-pay-btn:disabled { background: #a78bfa; cursor: wait; }
.cpg-wallet-disconnect-btn { display: block; margin: 0 auto; padding: 4px 12px; background: none; border: none; color: #9ca3af; font-size: 12px; cursor: pointer; text-decoration: underline; }
.cpg-wallet-error { padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #dc2626; font-size: 13px; margin: 8px 0; }
.cpg-wallet-sent { padding: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; text-align: center; margin: 8px 0; }
.cpg-wallet-sent .cpg-tx-success { color: #16a34a; font-size: 20px; font-weight: 700; }
.cpg-wallet-sent .cpg-tx-sig { font-size: 11px; color: #6b7280; margin-top: 6px; font-family: monospace; }
.cpg-wallet-sending { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; color: #6b7280; font-size: 13px; margin-bottom: 8px; }
