<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cryptocurrency Deposit</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        h1 {
            color: orange;
        }
        .cta-button {
            display: inline-block;
            background-color: orange;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 20px;
        }
        .footer {
            margin-top: 40px;
            font-size: 0.8em;
            color: #666;
        }
        .deposit-info {
            background-color: #f9f9f9;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
        }
        .deposit-address {
            font-size: 15px;
            color: #555;
            padding: 10px;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-bottom: 10px;
            word-break: break-all;
        }
    </style>
</head>
<body>
    <h1>Deposit Successful</h1>
    
    <p>Dear {{user.get_full_name}},</p>
    
    <p>Thank you for choosing to invest with us. We have received your deposit, and it is currently being processed.</p>
    
    <div class="deposit-info">
        <p>Here are the details of your deposit:</p>
        <p><strong>Cryptocurrency:</strong></p>
        <div class="deposit-address">{{ currency }}</div>
        <p><strong>Amount:</strong></p>
        <div class="deposit-address">${{ transaction.amount }}</div>
        <p><strong>Transaction ID:</strong></p>
        <div class="deposit-address">{{ transaction.tid }}</div>
        <p><strong>Account Type:</strong></p>
        <div class="deposit-address">{{ transaction.get_updated_investment_type_display }}</div>
    </div>

    <p>Please ensure that you provided the correct deposit address. Any deposits sent to the wrong address may be lost and cannot be recovered.</p>

    <p>If you have any questions or concerns, please do not hesitate to contact us.</p>

    <p>Thank you for choosing InterCapitaStock as your preferred Auto Trading Brokerage.</p>

    <a href="https://interstocktrade.com/dashboard/history/" class="cta-button">View Deposit Status</a>

    <div class="footer">
        © 2024 InterCapitaStock. All rights reserved.
    </div>
</body>
</html>