.paymentino-checkout-wrapper {
    background: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
}
.paymentino-checkout-wrapper ul.payment_methods {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid #d3ced2;
}
.paymentino-checkout-wrapper li.wc_payment_method {
    background-color: #fdfdfd;
    padding: 0 !important;
    margin: 0 !important;
}
.paymentino-checkout-wrapper label {
    display: block;
    padding: 1em;
    padding-right: 3.5em;
    margin: 0;
    cursor: default;
    font-weight: 600;
    color: #333;
    position: relative;
    background: #f5f5f5;
    border-top: 1px solid #d3ced2;
}
.paymentino-checkout-wrapper label::before {
    content: '';
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #007cba;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}
.paymentino-checkout-wrapper label::after {
    content: '';
    position: absolute;
    right: calc(1em + 4px);
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #007cba;
    border-radius: 50%;
}
.paymentino-checkout-wrapper .payment_box {
    padding: 1.5em;
    background: #fdfdfd;
    color: #515151;
    font-size: 0.95em;
    line-height: 1.6;
    border-top: 1px solid #eee;
}
.paymentino-msg p:last-child {
    margin-bottom: 0;
}
.paymentino-thankyou-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
    font-family: inherit;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 100%;
}
.paymentino-header {
    background: linear-gradient(135deg, #ffd54f 0%, #ffb300 100%);
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}
.paymentino-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}
.paymentino-header .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #333;
}
.paymentino-body {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.paymentino-desc {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}
.paymentino-amount-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.2rem;
    margin: 0.5rem 0 1.5rem;
    display: inline-block;
    min-width: 200px;
    width: 100%;
}
.paymentino-amount-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.paymentino-amount-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}
.paymentino-card-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 380px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}
.paymentino-card-tabs {
    width: 100%;
    margin: 0 auto 1rem;
}
.paymentino-card-tabs-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: start;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow-x: auto;
    padding: 10px 5px;
}
.paymentino-tab-btn {
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    color: #334155;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.paymentino-tab-btn:hover {
    background: #eef2f7;
}
.paymentino-tab-btn.is-active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}
.paymentino-tab-panel {
    display: none;
}
.paymentino-tab-panel.is-active {
    display: block;
}
.paymentino-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: #718096;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 0.8rem;
}
.paymentino-bank { font-weight: 600; color: #2d3748; }
.paymentino-owner { font-weight: 500; }
.paymentino-card-row {
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.paymentino-card-row:hover {
    background: #edf2f7;
    border-color: #e2e8f0;
}
.paymentino-card-row:active {
    transform: scale(0.98);
}
.paymentino-number {
    font-family: monospace, sans-serif;
    font-size: 100%;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2d3748;
    direction: ltr;
    white-space: nowrap;
}
.paymentino-copy-btn {
    background: #fff;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid #cbd5e0;
    transition: all 0.2s;
}
.paymentino-card-row:hover .paymentino-copy-btn {
    border-color: #a0aec0;
    color: #2d3748;
}
.paymentino-card-row.copied {
    background: #f0fff4;
    border-color: #c6f6d5;
}
.paymentino-card-row.copied .paymentino-number {
    color: #2f855a;
}
.paymentino-card-row.copied .paymentino-copy-btn {
    background: #48bb78;
    color: #fff;
    border-color: #48bb78;
}
.paymentino-copy-feedback {
    display: none;
}
.paymentino-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}
.paymentino-messenger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #4caf50 !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    border: none !important;
}
.paymentino-messenger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    background: #66bb6a !important;
}
.paymentino-order-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #a0aec0;
    border-top: 1px solid #edf2f7;
    padding-top: 1rem;
}
.paymentino-order-info strong {
    color: #4a5568;
}
.paymentino-custom-text {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #4a5568;
}
@media (max-width: 600px) {
    .paymentino-thankyou-box {
        margin: 10px auto;
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .paymentino-header {
        padding: 1.25rem 1rem;
        border-radius: 12px 12px 0 0;
    }

    .paymentino-header h3 {
        font-size: 1.1rem;
    }

    .paymentino-body {
        padding: 1.5rem 1rem;
    }

    .paymentino-amount-box {
        min-width: unset;
        width: 100%;
        padding: 1rem;
        margin: 0 0 1.5rem;
        box-sizing: border-box;
    }

    .paymentino-amount-value {
        font-size: 1.35rem;
    }

    .paymentino-card-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .paymentino-card-tabs-nav {
        justify-content: stretch;
    }

    .paymentino-tab-btn {
        width: 100%;
    }

    .paymentino-card-meta {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .paymentino-card-row {
        flex-direction: column;
        gap: 10px;
        padding: 1rem;
        text-align: center;
    }

    .paymentino-number {
        font-size: 100%;
        letter-spacing: 1px;
        width: 100%;
        word-break: break-all;
    }

    .paymentino-copy-btn {
        width: 100%;
        padding: 10px;
        justify-content: center;
        display: flex;
        font-size: 0.9rem;
        margin-top: 5px;
    }

    .paymentino-messenger-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 14px !important;
        font-size: 1.1rem !important;
        justify-content: center !important;
    }
    
    .paymentino-desc {
        font-size: 0.95rem;
    }
}

/* Secure receipt submission */
.paymentino-receipt-section {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    text-align: right;
}
.paymentino-receipt-section h3 {
    margin: 0 0 1rem;
    color: #1e293b;
    font-size: 1.1rem;
}
.paymentino-notice,
.paymentino-receipt-state {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    margin-bottom: 1rem;
    border-radius: 10px;
    line-height: 1.7;
}
.paymentino-notice-success,
.paymentino-receipt-state.is-approved {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #166534;
}
.paymentino-notice-error,
.paymentino-receipt-state.is-rejected {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}
.paymentino-receipt-state.is-pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #854d0e;
}
.paymentino-receipt-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.paymentino-receipt-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 600;
}
.paymentino-receipt-form label b {
    color: #dc2626;
}
.paymentino-receipt-form input[type="text"],
.paymentino-receipt-form input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #1e293b;
    font: inherit;
}
.paymentino-receipt-form input:focus {
    outline: 2px solid rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
}
.paymentino-upload-field small {
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
}
.paymentino-receipt-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.paymentino-submit-receipt {
    width: 100%;
    min-height: 48px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer;
}
.paymentino-submit-receipt:hover {
    background: #1d4ed8 !important;
}

@media (max-width: 600px) {
    .paymentino-receipt-section {
        padding: 1rem;
    }
    .paymentino-receipt-fields {
        grid-template-columns: 1fr;
    }
}

/* Bank detection, exact order amount and invoice summary */
.paymentino-bank-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: #334155;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.15);
}
.paymentino-bank-badge--small {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    box-shadow: none;
}
.paymentino-bank-badge__building {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 11px;
    margin-bottom: 4px;
}
.paymentino-bank-badge__building span {
    display: block;
    width: 3px;
    height: 9px;
    border-radius: 1px;
    background: currentColor;
}
.paymentino-bank-badge__building span:nth-child(2) {
    height: 11px;
}
.paymentino-bank-badge__text {
    max-width: 43px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 800;
}
.paymentino-bank-badge--small .paymentino-bank-badge__building {
    display: none;
}
.paymentino-bank-badge--small .paymentino-bank-badge__text {
    max-width: 23px;
    font-size: 7px;
}
.paymentino-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.paymentino-card-meta {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    text-align: right;
}
.paymentino-card-meta__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.paymentino-card-meta__text .paymentino-bank {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
}
.paymentino-card-meta__text .paymentino-owner {
    color: #64748b;
    font-size: 0.82rem;
}
.paymentino-amount-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
    box-sizing: border-box;
}
.paymentino-amount-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.paymentino-amount-content small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.6;
}
.paymentino-amount-copy,
.paymentino-summary-copy {
    appearance: none;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 10px;
    min-height: 42px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    flex: 0 0 auto;
    transition: 0.2s ease;
}
.paymentino-amount-copy:hover,
.paymentino-summary-copy:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.paymentino-amount-copy.copied,
.paymentino-summary-copy.copied {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}
.paymentino-amount-copy .paymentino-copy-btn,
.paymentino-summary-copy .paymentino-copy-btn {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}
.paymentino-copy-icon {
    width: 15px;
    height: 15px;
    border: 1.7px solid currentColor;
    border-radius: 3px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}
.paymentino-copy-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.7px solid currentColor;
    border-radius: 3px;
    right: 3px;
    bottom: 3px;
    background: #fff;
    box-sizing: border-box;
}
.paymentino-order-summary {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    text-align: right;
}
.paymentino-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}
.paymentino-section-heading h4 {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 1rem;
}
.paymentino-section-eyebrow {
    color: #64748b;
    font-size: 0.75rem;
}
.paymentino-order-items {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.paymentino-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.paymentino-order-item:last-child {
    border-bottom: 0;
}
.paymentino-order-item__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.paymentino-order-item__main strong {
    color: #1e293b;
    font-size: 0.9rem;
}
.paymentino-order-item__main span {
    color: #64748b;
    font-size: 0.78rem;
}
.paymentino-order-item__price {
    color: #334155;
    font-size: 0.87rem;
    font-weight: 700;
    white-space: nowrap;
}
.paymentino-totals-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 14px;
}
.paymentino-totals-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 0.85rem;
}
.paymentino-totals-list > div strong {
    color: #334155;
}
.paymentino-totals-list__final {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
    color: #0f172a !important;
    font-size: 0.95rem !important;
}
.paymentino-totals-list__final strong {
    color: #0f172a !important;
    font-size: 1.05rem;
}

@media (max-width: 600px) {
    .paymentino-amount-box,
    .paymentino-section-heading,
    .paymentino-order-item {
        align-items: stretch;
        flex-direction: column;
    }
    .paymentino-amount-copy,
    .paymentino-summary-copy {
        width: 100%;
    }
    .paymentino-order-item__price {
        white-space: normal;
    }
    .paymentino-order-summary {
        padding: 1rem;
    }
}
.paymentino-order-item__meta {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.7;
}
.paymentino-order-item__meta p,
.paymentino-order-item__meta ul,
.paymentino-order-item__meta dl {
    margin: 0;
}
.paymentino-order-item__meta .wc-item-meta {
    padding: 0;
    list-style: none;
}
.paymentino-order-summary__note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.8;
}
