/* Invoice Styles */
.invoice-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    line-height: 24px;
    font-family: 'Rubik', sans-serif;
    color: #333;
    background-color: #fff;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.invoice-logo {
    max-width: 200px;
    height: auto;
}

.invoice-title {
    font-size: 40px;
    font-weight: 700;
    color: #4479d9;
    margin-bottom: 10px;
}

.invoice-details {
    margin-bottom: 30px;
}

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

.invoice-details-col {
    flex: 1;
}

.invoice-details-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4479d9;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.invoice-table th {
    background-color: #4479d9;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    text-align: left;
}

.invoice-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.invoice-table tr:last-child td {
    border-bottom: none;
}

.invoice-table .text-right {
    text-align: right;
}

.invoice-totals {
    margin-top: 30px;
    text-align: right;
}

.invoice-totals table {
    width: 300px;
    margin-left: auto;
}

.invoice-totals table td {
    padding: 5px 10px;
}

.invoice-totals table tr.total td {
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid #4479d9;
    padding-top: 10px;
}

.invoice-notes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.invoice-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #777;
}

.invoice-company-info {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.invoice-payment-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.invoice-payment-info h4 {
    margin-top: 0;
    color: #4479d9;
}

.invoice-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.invoice-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.invoice-actions .print-btn {
    background-color: #4479d9;
    color: white;
}

.invoice-actions .download-btn {
    background-color: #28a745;
    color: white;
}

.invoice-actions button:hover {
    opacity: 0.9;
}

@media print {
    .invoice-container {
        box-shadow: none;
        border: none;
    }
    
    .invoice-actions {
        display: none;
    }
    
    body {
        background-color: #fff;
    }
}

@media (max-width: 768px) {
    .invoice-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .invoice-details-row {
        flex-direction: column;
    }
    
    .invoice-details-col {
        margin-bottom: 20px;
    }
    
    .invoice-table {
        font-size: 14px;
    }
}

