* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.5;
    padding: 40px 20px;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 15px;
}

.logo-section {
    margin-bottom: 0;
}

.coinbase-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coinbase-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.coinbase-btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.3px;
}

.logo-coinbase {
    color: #0066FF;
}

.logo-commerce {
    color: #000000;
}

.message {
    font-size: 15px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 4px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
}

.qr-code {
    width: 320px;
    height: 320px;
    border: none;
    border-radius: 12px;
    padding: 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.from-section, .recipient-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    text-transform: none;
    letter-spacing: 0.2px;
}

.from-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 400;
}

.verified-icon {
    flex-shrink: 0;
    border-radius: 50%;
    width: 18px;
    height: 18px;
}

.address {
    font-size: 15px;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
    font-weight: 400;
}

/* Right Section */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 15px;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}

.invoice-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.status-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
}

.status-badge.pending {
    background-color: #FFF3CD;
    color: #856404;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.methods-list {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 400;
}

.usdt-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.tron-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.invoice-items {
    margin: 12px 0;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
}

.invoice-items table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-items tr {
    border-bottom: none;
}

.invoice-items tr:last-child {
    border-bottom: none;
}

.invoice-items td {
    padding: 12px 0;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 400;
}

.invoice-items .item-label {
    font-weight: 500;
    color: #666666;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.2px;
    padding-bottom: 8px;
}

.invoice-items td:last-child {
    text-align: right;
    font-weight: 400;
}

.total-section {
    padding: 16px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.total-amount {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

.invoice-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 4px;
}

.meta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.meta-item-right {
    margin-left: auto;
}

.meta-label {
    color: #666666;
    font-weight: 400;
}

.meta-value {
    color: #1a1a1a;
    font-weight: 500;
}

.receive-payment-btn {
    width: 100%;
    padding: 16px 24px;
    background-color: #0066FF;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity 0.2s;
    margin-top: 12px;
}

.receive-payment-btn:hover {
    opacity: 0.9;
}

.receive-payment-btn svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.footer-text {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
}

.privacy-link {
    font-size: 12px;
    color: #0066FF;
    text-decoration: none;
    font-weight: 400;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .qr-code {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 20px 10px;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
