/* Invoice Paper - dedicated print/pdf style */
.invoice-paper {
    background: white;
    color: #1e293b;
    /* Slate 800 */
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    /* Standard print margin */
    border-radius: 2px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    /* ISO standard */
}

@media screen and (max-width: 210mm) {
    .invoice-paper {
        width: 100%;
        min-height: auto;
        padding: 5mm;
        margin: 10px 0;
    }
}

.invoice-paper h1,
.invoice-paper h2,
.invoice-paper h3 {
    color: #0f172a;
}

.invoice-paper table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.invoice-paper th {
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.invoice-paper td {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 10px;
}

.invoice-paper .total-section {
    text-align: right;
    margin-top: 2rem;
}

.invoice-paper .meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}