<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Police San Francisco (approchÃ©e avec system-ui pour compatibilitÃ©) */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7; /* Gris clair Apple */
    color: #1d1d1f; /* Noir profond Apple */
    padding: 20px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased; /* Rendu lisse comme sur macOS */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff; /* Fond blanc pur */
    padding: 40px;
    border-radius: 18px; /* Coins arrondis subtils */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); /* Ombre douce */
}

/* TITRES */
h1 {
    font-size: 44px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 15px;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 10px;
}

/* FORMULAIRE */
form {
    margin-bottom: 40px;
}

input, select {
    padding: 12px 16px;
    margin: 8px 0;
    width: 100%;
    border: 1px solid #d2d2d7; /* Gris clair Apple */
    border-radius: 12px; /* Coins arrondis */
    font-size: 16px;
    background: #fff;
    color: #1d1d1f;
    transition: border-color 0.2s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #0071e3; /* Bleu Apple */
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Champ Remise commerciale */
input#discount {
    padding: 12px 16px;
    margin: 8px 0;
    width: 100%;
    border: 1px solid #d2d2d7; /* Gris clair Apple */
    border-radius: 12px; /* Coins arrondis */
    font-size: 16px;
    background: #fff;
    color: #1d1d1f;
    transition: border-color 0.2s ease;
}

input#discount:focus {
    outline: none;
    border-color: #0071e3; /* Bleu Apple */
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Affichage de la remise dans le formulaire (Total) */
p:has(#invoiceDiscount) {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 8px 0;
}

.invoice-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

.product-row select,
.product-row input {
    flex: 1;
    min-width: 140px;
}

.unit-price, .total-price {
    min-width: 140px;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
}

button {
    background-color: #0071e3; /* Bleu Apple */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 12px; /* Coins arrondis */
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 12px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover {
    background-color: #005bb5; /* Bleu plus foncÃ© */
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* TABLE CONTAINER FOR SCROLLING */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    background: #fff;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

table thead {
    background-color: #f5f5f7; /* Gris clair Apple */
    color: #1d1d1f;
}

table th, table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5; /* Bordure subtile */
    font-size: 14px;
    white-space: nowrap; /* Prevent text wrapping */
}

table th {
    font-weight: 600;
}

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

table tr:hover {
    background: #f9f9fb; /* Survol lÃ©ger */
}

/* Style pour la colonne Client avec tÃ©lÃ©phone */
table td.client-cell {
    display: flex;
    flex-direction: column;
    white-space: normal; /* Allow wrapping for phone */
}

table td.client-cell .client-name {
    font-weight: 500;
    font-size: 14px;
}

table td.client-cell .client-phone {
    font-size: 12px;
    color: #6e6e73; /* Gris Apple */
}

table td.client-cell .client-phone a {
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s ease;
}

table td.client-cell .client-phone a:hover {
    color: #0071e3; /* Bleu Apple */
    text-decoration: underline;
}

/* Colonne Remise (â‚¬) dans le tableau Toutes les factures */
table#invoiceTable th:nth-child(5),
table#invoiceTable td:nth-child(5) {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #1d1d1f;
}

/* Style pour les icÃ´nes d'action */
.action-icons {
    display: flex;
    gap: 12px;
}

.action-icons i {
    font-size: 18px;
    color: #0071e3; /* Bleu Apple */
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
}

.action-icons i:hover {
    color: #005bb5; /* Bleu plus foncÃ© */
    transform: scale(1.1);
}

.action-icons i.payment-icon::before {
    content: "\f3d1"; /* fa-money-bill-wave */
}

.action-icons i.pdf-icon::before {
    content: "\f1c1"; /* fa-file-pdf */
}

.action-icons i.delete-icon::before {
    content: "\f2ed"; /* fa-trash */
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Fond semi-transparent */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 32px;
    border-radius: 18px; /* Coins arrondis Apple */
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.close {
    float: right;
    font-size: 24px;
    font-weight: 600;
    color: #6e6e73; /* Gris Apple */
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #1d1d1f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-row {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-info {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    /* Table responsiveness */
    .table-container {
        overflow-x: auto;
    }

    table th, table td {
        padding: 10px;
        font-size: 13px;
    }

    /* Hide less critical columns */
    table#invoiceTable th:nth-child(5), table#invoiceTable td:nth-child(5), /* Discount */
    table#invoiceTable th:nth-child(2), table#invoiceTable td:nth-child(2), /* Date */
    table#overdueTable th:nth-child(2), table#overdueTable td:nth-child(2), /* Date */
    table#clientInvoiceTable th:nth-child(2), table#clientInvoiceTable td:nth-child(2) /* Date */ {
        display: none;
    }

    table td.client-cell .client-name {
        font-size: 13px;
    }

    table td.client-cell .client-phone {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    button {
        width: 100%;
        padding: 12px;
    }

    .modal-content {
        padding: 20px;
    }

    /* Further reduce table padding and font size */
    table th, table td {
        padding: 8px;
        font-size: 12px;
    }

    /* Hide additional columns */
    table#invoiceTable th:nth-child(3), table#invoiceTable td:nth-child(3), /* Due Date */
    table#overdueTable th:nth-child(3), table#overdueTable td:nth-child(3), /* Due Date */
    table#clientInvoiceTable th:nth-child(3), table#clientInvoiceTable td:nth-child(3) /* Due Date */ {
        display: none;
    }

    table td.client-cell .client-name {
        font-size: 12px;
    }

    table td.client-cell .client-phone {
        font-size: 10px;
    }

    .action-icons i {
        font-size: 16px;
    }
}
</pre></body></html>