/* -------------------- INVOICE PRINTABLE RECEIPT -------------------- */
.modal-invoice-container {
    max-width: 440px;
    background-color: #f1f5f9;
    padding: 24px;
}

.invoice-card {
    background-color: #ffffff;
    color: #1e293b;
    padding: 32px;
    border-radius: var(--radius-lg);
    font-family: monospace;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.invoice-header {
    text-align: center;
    border-bottom: 2px dashed #cbd5e1;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.invoice-logo-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.invoice-meta {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
}

.invoice-meta-block {
    font-size: 11px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 8px;
    text-align: left;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 16px;
}

.invoice-table th {
    text-align: left;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 6px;
    font-weight: bold;
}

.invoice-table td {
    padding: 6px 0;
}

.invoice-th-wide {
    width: 75%;
}

.invoice-cell-right {
    text-align: right;
    vertical-align: bottom;
}

.invoice-item-detail {
    color: #64748b;
}

.invoice-total-section {
    border-top: 2px dashed #cbd5e1;
    padding-top: 12px;
    margin-top: 12px;
    font-size: 13px;
}

.invoice-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.invoice-total-row.grand {
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #cbd5e1;
    padding-top: 6px;
    margin-top: 6px;
}

.invoice-points-redeemed {
    color: #f59e0b;
}

.invoice-points-earned-row {
    margin-top: 8px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
}

.invoice-points-earned {
    color: #10b981;
    font-size: 12px;
}

.invoice-points-earned-bold {
    color: #10b981;
    font-size: 12px;
    font-weight: bold;
}

.invoice-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 11px;
    color: #64748b;
    border-top: 1px dashed #cbd5e1;
    padding-top: 16px;
}

.invoice-tagline {
    margin-top: 6px;
    font-weight: bold;
}

.invoice-barcode {
    margin-top: 12px;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: bold;
}

.invoice-ref-micro {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 4px;
}

.invoice-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
