body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
}

header {
    background: #2f3b52;
    color: white;
    padding: 20px;
}

nav {
    background: #ddd;
    padding: 10px;
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

main {
    padding: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 6px;
}
.invoice {
    max-width: 900px;
    margin: 0 auto;
    background: white;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.invoice-meta {
    text-align: right;
}

.address-block {
    margin-top: 30px;
    line-height: 1.5;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.invoice-table th,
.invoice-table td {
    border: 1px solid #ccc;
    padding: 8px;
}

.invoice-table th {
    background: #eee;
}

.invoice-total {
    margin-top: 25px;
    text-align: right;
    font-size: 1.1em;
}

.tax-note {
    margin-top: 30px;
    font-style: italic;
}

.payment-info {
    margin-top: 30px;
}

.print-link {
    margin-top: 30px;
}

@media print {
    header,
    nav,
    .print-link {
        display: none;
    }

    body {
        background: white;
    }

    main {
        padding: 0;
    }

    .card {
        box-shadow: none;
        border: none;
    }
}