/* Shortcode wrapper to prevent WordPress auto-paragraphs */
.cardano-shortcode-wrapper {
    display: block;
    margin: 0;
    padding: 0;
}

.cardano-checkout-widget-container,
.cardano-nft-checkout-widget-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
}

.cardano-nft-mint {
    border: 0px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
    background: none;
    box-shadow: none;
    position: relative;
    text-align: center;
}

.cardano-checkout-widget {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    max-width: 420px;
    background: #fefefc;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: relative;
}

.product-info {
    margin-bottom: 24px;
}

.product-info h3 {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-usd {
    font-size: 1.75rem;
    font-weight: 800;
    color: #059669;
    line-height: 1.2;
}

.price-ada {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3b82f6;
}

.price-rate {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* New price display styling for USD/ADA */
.product-price,
.nft-price {
    text-align: center;
    margin-bottom: 10px;
}

.usd-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2DB0B8;
    line-height: 1.2;
    margin-bottom: 4px;
}

.ada-price {
    font-size: 1.25rem;
    font-weight: 400;
    color: #18212C;
    line-height: 1.3;
}

.wallet-section {
    margin-bottom: 20px;
}

.connect-wallet-btn {
    width: 100%;
    padding: 14px 20px;
    background: #18212C;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s;
}

.connect-wallet-btn:hover {
    background-color: #676767;
    color: #fefefc;
}

.wallet-connected {
    background: #e7f6e7;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.wallet-address {
    word-break: break-all;
    font-size: 0.9rem;
    color: #222;
}

.pay-button,
.buy-now-btn,
.mint-now-btn {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 14.2px;
    padding-right: 30px;
    padding-bottom: 9.8px;
    padding-left: 30px;
    width: 90%;
    box-shadow: -8px 8px 5px 0 rgba(0, 0, 0, 0.11);
    background-color: #0A090C;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
}

.pay-button:hover,
.buy-now-btn:hover,
.mint-now-btn:hover {
    background-color: #376E7A;
    transition: background-color 0.2s ease;
}

.loading-message,
.success-message,
.error-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.loading-message {
    background: #F0F7FF;
    color: #3b82f6;
}

.error-message {
    background: #FFF0F0;
    color: #e56958;
}

.success-message {
    background: #DAF5DB;
    color: #059669;
}


/* Product Display */
.cardano-checkout {
    max-width: 500px;
    text-align: center;
    margin: 15px auto;
}

.product-display {
    text-align: center;
    margin-bottom: 20px;
}

.product-image {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    margin: 10px 0;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    margin: 15px 0;
}

/* BUY NOW Button */
.cardano-buy-now-button {
     margin: 10px 0 35px 0;
    padding: 20px;
    width: 350px;
    box-shadow: -8px 8px 5px 0 rgba(0, 0, 0, 0.11);
    background-color: #0A090C;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    line-height: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
}

.cardano-buy-now-button:hover {
    background-color: #376E7A;
    transition: background-color 0.2s ease;
}

/* MINT NOW Button - Same styling as BUY NOW */
.cardano-mint-now-button {
    margin: 10px 0 35px 0;
    padding: 20px;
    width: 350px;
    box-shadow: -8px 8px 5px 0 rgba(0, 0, 0, 0.11);
    background-color: #0A090C;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    line-height: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
}

.cardano-mint-now-button:hover {
    background-color: #376E7A;
    transition: background-color 0.2s ease;
}


/* ========================================
   MODAL STYLES - DARK THEME WITH TEAL ACCENTS
   ======================================== */

placeholder {
color: #666;
text-style: italic;
font-size:14px;
}

.cardano-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #18212ced;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.cardano-modal-content {
    background: #0A090C;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cardano-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.cardano-modal-header h2 {
    margin: 0;
    color: #fefefc;
    font-size: 2.2rem;
    font-weight: 600;
    text-align:center;
}

.cardano-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #24A4BD;
    color: #fefefc;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.cardano-modal-close:hover {
    background: #1e9b9b;
}

/* Progress Steps */
.checkout-steps,
.mint-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    position: relative;
    margin: 0 0 20px 0;
}

.checkout-steps::before,
.mint-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 2px;
    background: #333;
    display: none;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #0A090C;
    padding: 0 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: #fefefc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0 0 0 0;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #2DB0B8;
    color: #fefefc;
}

.step.completed .step-number {
    background: #2DB0B8;
    color: #fefefc;
}

.step-title {
    font-size: 14px;
    color: #999;
    text-align: center;
    font-weight: 500;
}

.step.active .step-title {
    color: #2DB0B8;
    font-weight: 600;
}

.step.completed .step-title {
    color: #2DB0B8;
    font-weight: 600;
}

/* Modal Body */
.cardano-modal-body {
    padding: 30px;
}

/* Checkout Steps */
.checkout-step {
    min-height: 300px;
}

/* MINT NOW Modal Specific Styling */
.mint-step {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mint-step h3 {
    background-color: #376e7a3b;
    margin: 0 0 40px 0;
    width: 100%;
    padding: 10px;
    color: #fefefc;
    font-size: 1.25em;
    letter-spacing: .5px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
}

/* Wallet Connection/Confirmation Styling */
.wallet-connection {
    text-align: center;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wallet-connection p {
    margin: -15px auto 30px auto;
    max-width: 85%;
    color: #9b9b9b;
    font-size: 1em;
}

.btn-connect-wallet {
    width: 75%;
    margin: 0 auto;
    padding: 15px 30px;
    background: #2DB0B8;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-connect-wallet:hover {
    background: #1e9b9b;
}

/* Mint Review Styling */
.mint-review {
    background: #fefefc;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    word-wrap: break-word;
}

.mint-review .order-product {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #95dce0;
    flex-wrap: wrap;
}

.mint-review .product-image {
    flex-shrink: 0;
}

.mint-review .product-image img {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #376E7A;
}

.mint-review .product-details {
    flex: 1;
    min-width: 200px;
}


.mint-review .product-details p {
    margin: 0 0 14px 0;
    color: #666;
    font-size: 16px;
    word-wrap: break-word;
}

.mint-review .policy-id-text,
.mint-review .wallet-address-text {
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    line-height: 16px;
    color: #666;
}

.mint-review .wallet-details {
    margin-top: 15px;
    padding-top: 15px;
}

.mint-review .wallet-details h4 {
    margin: 0 0 8px 0;
    color: #0A090C;
    font-size: 20px;
    font-weight: 600;
}

.mint-review .wallet-details p {
    margin: 0;
    color: #0A090C;
    font-weight: 500;
    word-wrap: break-word;
}

.mint-review .wallet-details p strong {
    font-size: 16px;
    font-weight: 600;
}

.mint-review .product-details h4 {
    margin: 0 0 4px 0;
    color: #0A090C;
    font-size: 22px;
    font-weight: 600;
    word-wrap: break-word;
}

.nft-details h4 {
    font-size: 1.5em;
    color: #0A090C;
    margin-bottom: 15px;
    font-weight: 600;
}

.nft-details p {
    margin-bottom: 10px;
    color: #666;
    font-size: 1em;
}

.wallet-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.wallet-info p {
    margin: 0;
    color: #0A090C;
    font-weight: 500;
}

/* Mint Success Styling */
.mint-success {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 3em;
    color: #2DB0B8;
    margin-bottom: 15px;
}

.mint-success p {
    font-size: 1.2em;
    color: #fefefc;
    margin-bottom: 20px;
}

.transaction-details {
    background: #fefefc;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: left;
}

.transaction-details p {
    margin: 10px 0;
    color: #0A090C;
    font-size: 0.95em;
    line-height: 1.6;
}

.transaction-details p strong {
    display: block;
    margin-bottom: 5px;
    color: #0A090C;
    font-weight: 600;
}

.transaction-details span {
    display: block;
    word-break: break-all;
    font-family: monospace;
    color: #2DB0B8;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-top: 5px;
}

/* Mint Step Buttons */
.btn-mint {
    padding: 15px 25px;
    background: #2DB0B8;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-mint:hover {
    background: #1e9b9b;
}

.btn-close-modal {
    padding: 10px 20px;
    background: #676767;
    color: #fefefc;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-close-modal:hover {
    background: #555;
}



.checkout-step h3 {
background-color: #376e7a3b;
    margin: 0 0 40px 0;
    width: 100%;
    padding: 10px;
    color: #fefefc;
    font-size: 1.25em;
    letter-spacing: .5px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
}



/* Form Styles */
.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group {
    flex: 1;
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin: 12px 0 16px 0;
    font-weight: 500;
    color: #619ea2;
    font-size: 1.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    margin: -10px 0 0 0;
    padding: 8px 10px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    background: #333;
    color: #fefefc;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2DB0B8;
    box-shadow: 0 0 0 2px rgba(45, 176, 184, 0.2);
}

.form-group input.filled {
    background: #2DB0B8;
    border-color: #2DB0B8;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* Buttons */
.btn-next,
.btn-place-order {
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-next,
.btn-place-order {
    background: #2DB0B8;
    color: #fefefc;
    float: right;
    margin: 20px 0 30px 0;
}

.btn-next:hover,
.btn-place-order:hover {
    background: #1e9b9b;
    transform: translateY(-1px);
}

.btn-prev {
    background: #67676782;
    color: #fefefc;
    float: left;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 30px 0;
}

.btn-prev:hover {
    background: #67676754;
}

.step-buttons {
    clear: both;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.step-buttons .btn-prev {
    background: #67676782;
    color: #fefefc;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
}

.step-buttons .btn-prev:hover {
    background: #67676754;
}

.step-buttons .btn-mint,
.step-buttons .btn-next {
    background: #2DB0B8;
    color: #fefefc;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-buttons .btn-mint:hover,
.step-buttons .btn-next:hover {
    background: #1e9b9b;
    transform: translateY(-1px);
}

/* Order Review */
.order-review {
    background: #fefefc;
    padding: 22px;
    border-radius: 6px;
    margin: -120px 0 15px 0;
}


img#review_product_image {
width: 220px !important;
height: auto !important;
}

h4#review_product_name {
font-size: 22px !important;
font-weight: 700 !important;
margin: 15px 0 0 0;
}

.order-product {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #95dce0;
}

.order-product .product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #376E7A;
}

div.product-details {
margin: 0 0 0 20px;
}

.product-details h4 {
    margin: 0 0 4px 0;
    color: #0A090C;
    font-size: 16px;
    font-weight: 600;
}

.product-details p {
    margin: 0 0 14px 0;
    color: #666;
    font-size: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.quantity-selector label {
    color: #0A090C;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.quantity-selector select {
    width: 40px;
    padding: 4px 6px;
    border: 1px solid #2DB0B8;
    border-radius: 4px;
    background: #fefefc;
    color: #0A090C;
    font-size: 14px;
    text-align: center;
}

.order-summary {
    margin-bottom: 16px;
}

/* Order Total Display */
.order-total-display {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px 0;
}

.total-usd {
    font-size: 25px;
    font-weight: 700;
    color: #0A090C;
    margin-bottom: 4px;
}

.total-ada {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.customer-details,
.shipping-details {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}


.customer-details h4,
.shipping-details h4 {
    margin: 0 0 8px 0;
    color: #0A090C;
    font-size: 20px;
    font-weight: 600;
}


.customer-details p,
.shipping-details p {
    margin: 4px 0;
    font-size: 16px;
    color: #666;
}


/* Responsive Design */
@media (max-width: 768px) {
    .cardano-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .cardano-modal-body {
        padding: 0 16px 16px 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .checkout-steps,
    .mint-steps {
        flex-direction: column;
        gap: 8px;
    }
    
    .checkout-steps::before,
    .mint-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
    }
    
    
    .step-number {
        margin-right: 8px;
        margin-bottom: 0;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2DB0B8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   RECEIPT-STYLE CONFIRMATION UI
   ======================================== */

/* Centered NFT Image Display */
.nft-image-display {
    text-align: center;
    margin-bottom: 24px;
}

.nft-image-display img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid #2DB0B8;
    margin-bottom: 12px;
}

.nft-image-display .nft-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A090C;
    margin: 0;
    line-height: 1.3;
}

/* Receipt Card */
.mint-receipt-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.receipt-header {
    background: linear-gradient(135deg, #2DB0B8 0%, #1a8a91 100%);
    padding: 16px 20px;
    border-bottom: 3px solid #1a8a91;
}

.receipt-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.receipt-body {
    padding: 20px;
}

/* Policy ID Row */
.receipt-info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #2DB0B8;
    word-break: break-all;
    background: #f9fafb;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    line-height: 1.5;
}

/* Receipt Divider */
.receipt-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #d1d5db 50%, transparent);
    margin: 16px 0;
}

.receipt-divider-bold {
    height: 2px;
    background: linear-gradient(to right, transparent, #2DB0B8 50%, transparent);
    margin: 16px 0;
}

/* Section Header */
.receipt-section-header {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 12px 0 8px 0;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Line Items */
.receipt-line-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px 0;
}

.line-item-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    flex: 1;
}

.line-item-value {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.line-item-value .price-usd {
    font-size: 1rem;
    font-weight: 600;
    color: #0A090C;
}

.line-item-value .price-ada {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2DB0B8;
}

/* Subtotal Section */
.receipt-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    margin-bottom: 8px;
}

.subtotal-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.subtotal-value {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subtotal-value .subtotal-usd {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A090C;
}

.subtotal-value .subtotal-ada {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

/* Transaction Output Items */
.tx-output-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 6px 0;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.tx-output-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.tx-output-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
}

.tx-output-refund {
    color: #10b981 !important;
}

.receipt-info-text {
    font-size: 0.8125rem;
    color: #1f2937 !important;
    line-height: 1.5;
    margin: 12px 0 0 0;
    padding: 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
}

.receipt-info-text strong {
    color: #0a090c !important;
    font-weight: 700;
}

/* Total Section */
.receipt-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0 8px 0;
    margin-top: 8px;
}

.total-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A090C;
}

.total-value {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.total-value .total-usd {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2DB0B8;
    line-height: 1;
}

.total-value .total-ada {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

/* Receipt Note */
.receipt-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.note-text {
    font-size: 0.875rem;
    color: #78350f;
    line-height: 1.4;
}

/* Wallet Info Card */
.wallet-info-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
}

.wallet-content {
    flex: 1;
    min-width: 0;
}

.wallet-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 0.8125rem;
    color: #0A090C;
    word-break: break-all;
    line-height: 1.4;
}

/* Responsive adjustments for receipt */
@media (max-width: 480px) {
    .nft-image-display img {
        width: 160px;
        height: 160px;
    }

    .nft-image-display .nft-name {
        font-size: 1.25rem;
    }

    .receipt-line-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .line-item-value {
        text-align: left;
        width: 100%;
    }

    .receipt-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .total-value {
        text-align: left;
        width: 100%;
    }

    .wallet-info-card {
        flex-direction: column;
        text-align: center;
    }
}