:root {
    --primary-color: #004085; /* Dark Blue */
    --secondary-color: #e9ecef; /* Light Gray */
    --accent-color: #17a2b8; /* Teal for highlights */
    --background-color: #f8f9fa; /* Very Light Gray */
    --text-color: #333; /* Dark Text Color */
    --button-bg: #28a745; /* Green Button Background */
    --button-hover-bg: #218838; /* Darker Green on Hover */
    --border-color: #dee2e6; /* Light Border Color */
}

.invoice-container {
    max-width: 1200px;
    width: 1200px;
    margin: auto;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--secondary-color);
    background-color: transparent;
    border-radius: 8px 8px 0 0;
}

.logo {
    height: 80px;
}

.header-left h2 {
    margin-top: 10px;
    font-size: 24px;
    color: white;
}

.header-right {
    text-align: right;
    font-size: 14px;
    color: black;
}

.invoice-meta {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.invoice-info, .customer-info {
    width: 48%;
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 6px;
}

.invoice-info p, .customer-info p {
    margin: 4px 0;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: var(--background-color);
}

.invoice-table th, .invoice-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid rgb(155, 155, 155);
}

.invoice-table th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 16px;
}

.invoice-table tbody tr:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.invoice-table tfoot td {
    font-weight: bold;
    background-color: var(--secondary-color);
}

.signature-section {
    text-align: left;
    margin-top: 30px;
    margin-right: 20px;
    font-size: 16px;
    font-weight: bold;
}

.signature-section p{
    margin: 5px 0;
}

.invoice-footer {
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid var(--border-color);
    font-size: 14px;
    color: var(--text-color);
}

.invoice-buttons {
    text-align: center;
    margin-top: 20px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.btn-primary {
    background-color: var(--button-bg);
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--button-hover-bg);
}

.btn-secondary {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .invoice-header, .invoice-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right, .customer-info, .invoice-info {
        text-align: left;
    }
}
