.wc-block-components-checkout-payment-method .crypto-payment-content {
    padding: 12px;
    border: 1px solid #ddd;
    margin-top: 8px;
    border-radius: 4px;
    background: #f9f9f9;
}

.crypto-payment-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Hide default WooCommerce thank you page elements */
.woocommerce-order-overview,
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-bacs-bank-details,
.woocommerce-thankyou-order-received,
.woocommerce-order-overview__order,
.woocommerce-order-overview__date,
.woocommerce-order-overview__email,
.woocommerce-order-overview__total,
.woocommerce-order-overview__payment-method {
    display: none !important;
}

/* Thank you page styles - Fixed for both light and dark themes */
.crypto-thankyou-container {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    color: #333;
}

.crypto-payment-section {
    flex: 2;
}

.order-summary-section {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    height: fit-content;
    color: #333;
}

.crypto-payment-instructions {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

.crypto-payment-instructions h3 {
    margin-top: 0;
    color: #333 !important;
}

.crypto-payment-instructions .crypto-amount {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.crypto-payment-instructions .crypto-wallet {
    margin-bottom: 15px;
    color: #333;
}

.crypto-payment-instructions .wallet-address-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.crypto-payment-instructions .wallet-address {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    border: 1px solid #ddd;
    width: fit-content;
    max-width: 100%;
    color: #333 !important;
}

.crypto-payment-instructions .copy-button {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.crypto-payment-instructions .copy-button:hover {
    background: #005a87;
}

.crypto-payment-instructions .crypto-metamask {
    text-align: center;
    margin-top: 20px;
}

.crypto-payment-instructions .metamask-button {
    background: #f6851b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.crypto-payment-instructions .metamask-button:hover {
    background: #e2761b;
}

.crypto-payment-instructions .copy-success {
    color: green;
    font-size: 12px;
    margin-left: 5px;
}

.order-summary-section h4 {
    margin-top: 0;
    color: #333 !important;
}

.order-summary-section h5 {
    margin-bottom: 10px;
    color: #333 !important;
}

.order-summary-section p {
    color: #333 !important;
}

.order-summary-section div {
    color: #333 !important;
}

.order-summary-section strong {
    color: #333 !important;
}

/* Timer and status sections - Fixed colors */
.payment-timer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
    color: #856404 !important;
}

.timer-display {
    font-size: 24px;
    font-weight: bold;
    color: #d63384 !important;
    margin: 10px 0;
}

.payment-status {
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

.payment-success {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132 !important;
}

.payment-success h3 {
    color: #0f5132 !important;
}

.payment-success p {
    color: #0f5132 !important;
}

.payment-checking {
    background: #cff4fc;
    border: 1px solid #b8daff;
    color: #055160 !important;
}

.payment-checking p {
    color: #055160 !important;
}

.payment-expired {
    background: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #842029 !important;
}

.payment-expired p {
    color: #842029 !important;
}

@media (max-width: 768px) {
    .crypto-thankyou-container {
        flex-direction: column;
    }
}