.invoice-header {
    border-bottom: 3px solid #1a3c5e;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.invoice-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a3c5e;
}

.invoice-table th {
    background: #1a3c5e;
    color: #fff;
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.invoice-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.invoice-table tbody tr:hover {
    background: transparent;
}

.invoice-total {
    background: #f0f4f8;
    padding: 16px;
    border-radius: 8px;
}

.invoice-total .d-flex {
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

.invoice-total .d-flex:last-child {
    border-bottom: none;
    font-size: 16px;
    font-weight: 700;
}

.invoice-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.invoice-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.invoice-payment-history th {
    background: #f8fafc;
}

.invoice-signature {
    margin-top: 40px;
    text-align: right;
    border-top: 1px solid #333;
    display: inline-block;
    padding-top: 8px;
    min-width: 200px;
}

.payment-receipt .receipt {
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid #1a3c5e;
    padding: 24px;
    border-radius: 8px;
}

.payment-receipt .title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1a3c5e;
    margin-bottom: 4px;
}

.payment-receipt .subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 16px;
}

.payment-receipt .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.payment-receipt .amount {
    font-size: 24px;
    font-weight: 700;
    color: #27ae60;
    text-align: center;
    margin: 16px 0;
    border: 2px dashed #27ae60;
    padding: 12px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .invoice-header {
        text-align: center;
    }
    .invoice-title {
        font-size: 22px;
    }
    .invoice-actions {
        flex-direction: column;
    }
}
