<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Invoice - Visualizer</title>
    <style>
        body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            color: #222;
            background-color: #f7f7f7;
            margin: 0;
            padding: 20px;
        }
        .page {
            max-width: 800px;
            margin: 0 auto;
            background: #ffffff;
            padding: 50px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border-radius: 4px;
            position: relative;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        .header-left h1 {
            font-size: 32px;
            font-weight: 400;
            margin: 0 0 15px 0;
            letter-spacing: -0.5px;
        }
        .meta-group {
            font-size: 14px;
            line-height: 1.6;
        }
        .meta-group strong {
            display: inline-block;
            width: 120px;
            color: #444;
        }
        .header-right {
            text-align: right;
        }
        .header-right h2 {
            font-family: 'Georgia', serif;
            font-style: italic;
            font-size: 38px;
            font-weight: normal;
            margin: 0;
            color: #111;
        }
        .boxes-container {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        .box {
            flex: 1;
            background-color: #dedede;
            padding: 18px 22px;
            border-radius: 6px;
            font-size: 13.5px;
            line-height: 1.5;
            color: #222;
        }
        .box h3 {
            margin: 0 0 8px 0;
            font-size: 15px;
            font-weight: 600;
            color: #111;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 30px;
        }
        th {
            background-color: #333333;
            color: #ffffff;
            text-align: left;
            padding: 10px 14px;
            font-size: 13px;
            font-weight: 600;
        }
        td {
            padding: 14px;
            font-size: 13.5px;
            border-bottom: 1px solid #e5e5e5;
        }
        .item-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        .total-section {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 40px;
        }
        .words-total {
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .total-box-container {
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: 700;
        }
        .total-label {
            margin-right: 15px;
        }
        .total-amount {
            font-size: 17px;
            border-bottom: 3px double #000;
            padding-bottom: 3px;
            min-width: 120px;
            text-align: right;
        }
        .terms {
            margin-bottom: 60px;
        }
        .terms h4 {
            margin: 0 0 10px 0;
            font-size: 14px;
        }
        .terms ol {
            margin: 0;
            padding-left: 20px;
            font-size: 13px;
            line-height: 1.6;
            color: #333;
        }
        .paid-stamp {
            position: absolute;
            top: 220px;
            right: 120px;
            border: 4px solid #28a745;
            color: #28a745;
            font-size: 42px;
            font-weight: 900;
            padding: 8px 24px;
            letter-spacing: 4px;
            text-transform: uppercase;
            transform: rotate(-12deg);
            pointer-events: none;
            opacity: 0.85;
            border-radius: 6px;
        }
        .contact-footer {
            text-align: center;
            font-size: 14px;
            color: #222;
            margin-top: 40px;
            margin-bottom: 20px;
            font-weight: 500;
        }
        .disclaimer {
            text-align: center;
            font-size: 10px;
            color: #888;
        }
    </style>
</head>
<body>

<div class="page">
    <div class="paid-stamp">PAID</div>

    <div class="header">
        <div class="header-left">
            <h1>Invoice</h1>
            <div class="meta-group">
                <div><strong>Invoice No #</strong> V02047</div>
                <div><strong>Invoice Date</strong> Oct 14, 2026</div>
            </div>
        </div>
        <div class="header-right">
            <h2>Visualizer</h2>
        </div>
    </div>

    <div class="boxes-container">
        <div class="box">
            <h3>Invoice From</h3>
            Visualizer Photography<br>
            13/12A 1st lane Dehiwala rd, Dewalamulla<br>
            Boralesgamuwa,<br>
            Sri Lanka
        </div>
        <div class="box">
            <h3>Invoice For</h3>
            Prajalitha enterprises (Pvt) Ltd,<br>
            Fitness palace sports centre,<br>
            Colombo 10,<br>
            Sri Lanka
        </div>
    </div>

    <table>
        <thead>
            <tr>
                <th style="width: 50%;">Item</th>
                <th style="width: 15%; text-align: center;">Quantity</th>
                <th style="width: 17.5%; text-align: right;">Rate</th>
                <th style="width: 17.5%; text-align: right;">Amount</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1. Event photography for Fitness palace sports centre</td>
                <td style="text-align: center;">1</td>
                <td style="text-align: right;">Rs. 6,000.00</td>
                <td style="text-align: right;">Rs. 6,000.00</td>
            </tr>
        </tbody>
    </table>

    <div class="total-section">
        <div class="words-total">
            Total (in words): SIX THOUSAND RUPEES ONLY
        </div>
        <div class="total-box-container">
            <span class="total-label">Total (Rs.)</span>
            <span class="total-amount">Rs. 6,000.00</span>
        </div>
    </div>

    <div class="terms">
        <h4>Terms and Conditions</h4>
        <ol>
            <li>Offer valid for 14 days.</li>
            <li>50% non-refundable deposit to confirm the booking.</li>
            <li>Full payment due upon delivery.</li>
        </ol>
    </div>

    <div class="contact-footer">
        For any inquiry, reach out via +94 72 151 5806
    </div>

    <div class="disclaimer">
        This is an electronically generated document, no signature is required.
    </div>
</div>

</body>
</html>