/* Invoicing Module Styles */
.invoice-section {
    margin-bottom: 30px;
}

.phase-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.phase-header {
    background-color: #e9ecef;
    padding: 10px;
    margin: -15px -15px 15px -15px;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
}

.line-item-row:hover {
    background-color: #f1f1f1;
}

.add-item-btn {
    margin-top: 10px;
}

.remove-item-btn, .remove-phase-btn {
    color: #dc3545;
    cursor: pointer;
}

.table-responsive {
    overflow-x: auto;
}

.totals-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.grand-total {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 2px solid #333;
}

.invoice-list-actions {
    white-space: nowrap;
}

.currency-input {
    text-align: right;
}

.thank-you-note {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phase-container {
        padding: 10px;
    }
    .phase-header {
        margin: -10px -10px 10px -10px;
    }
}
