* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.icons {
    max-width:20px;
}

.container {
    width: 100%;
    max-width: 1100px;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    min-height: 500px;
}

.left-section {
    padding: 40px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.coinbase {
    color: #0052FF;
    font-weight: 600;
}

.commerce {
    color: #1a1a1a;
    font-weight: 400;
}

.subtitle {
    color: #5b616e;
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
}

.from-section {
    margin-top: auto;
}

.from-label {
    color: #5b616e;
    font-size: 13px;
    margin-bottom: 8px;
}

.from-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.department {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
}

.verified-badge {
    background: #0052FF;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.recipient-label {
    color: #5b616e;
    font-size: 13px;
    margin-bottom: 6px;
}

.wallet-address {
    color: #0052FF;
    font-size: 14px;
    font-weight: 500;
}

.right-section {
    padding: 40px;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.invoice-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.status-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label {
    color: #5b616e;
    font-size: 14px;
}

.status-badge {
    background: #FEF3C7;
    color: #92400E;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.payment-methods {
    margin-bottom: 24px;
}

.payment-label {
    color: #5b616e;
    font-size: 14px;
    margin-bottom: 12px;
}

.methods {
    display: flex;
    gap: 12px;
}

.method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
}

.icon-usdt, .icon-tron {
    flex-shrink: 0;
}

.item-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-bottom: 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    color: #5b616e;
    font-size: 13px;
    margin-bottom: 12px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    color: #1a1a1a;
    font-size: 15px;
    margin-bottom: 20px;
}

.total-section {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.total-amount {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.meta-info {
    display: flex;
    justify-content: space-between;
    color: #5b616e;
    font-size: 13px;
    margin-bottom: 24px;
}

.form-section {
    margin-bottom: 16px;
}

.email-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: #0052FF;
}

.email-input::placeholder {
    color: #9ca3af;
}

.receive-btn {
    width: 100%;
    padding: 14px;
    background: #0052FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.receive-btn:hover {
    background: #0041cc;
}

.receive-btn:active {
    transform: translateY(1px);
}

.footer-text {
    text-align: center;
    color: #6b7280;
    font-size: 12px;
}

.footer-text p {
    margin-bottom: 4px;
}

.privacy-link {
    color: #6b7280;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .card {
        grid-template-columns: 1fr;
    }
    
    .left-section {
        padding: 30px 24px;
    }
    
    .right-section {
        padding: 30px 24px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .subtitle {
        max-width: 100%;
    }
    
    .invoice-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .status-container {
        align-self: flex-start;
    }
    
    .methods {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    
    .left-section,
    .right-section {
        padding: 24px 20px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 13px;
    }
    
    .total-amount {
        font-size: 16px;
    }
}
