.myTable {
    border-collapse: collapse;
    border: 0px solid;
    border-color: transparent;
    width: 100%;
}

    .myTable th {
        font-size: 30px;
    }

    .myTable th,
    .myTable td {
        border: none;
        border-color: transparent;
        text-align: left;
    }

.invoiceBodyContainer {
    display: flex;
    flex-direction: column;
    gap: 200px;
    /*overflow: hidden;*/
    width: 1000px;
}

.bodyClient {
    display: flex;
    gap: 100px;
    width: 100%;
    margin-top: 3px;
}

.invoiceTitle {
    text-align: center;
    font-size: 50px;
}

.invoiceRef {
    display: flex;
    justify-content: right;
    width: 100%;
    margin-top: 3px;
}

.headerContainer {
    display: flex;
    gap: 10px;
    height: 100px;
    /*overflow: hidden;*/
    width: 1000px;
}

    .headerContainer * {
        font-family: 'Libre Baskerville';
        font-size: smaller !important;
    }

.headerImg {
    width: 100px; /* Empêche l'image de dépasser la largeur du div */
    height: auto; /* Maintient le ratio de l'image */
}

.contact {
    display: flex;
    justify-content: right;
    width: 100%;
    margin-top: 3px;
}

.left {
    text-align: left; /* Aligns text to the left */
}

.center {
    text-align: center; /* Aligns text to the center */
}

.right {
    text-align: right; /* Aligns text to the right */
}

.company {
    display: flex;
    flex-direction: column;
    margin-top: 3px;
}

/* Styles de tableau spécifiques à myTable */
.myTable {
    page-break-inside: avoid;
}

    .myTable thead {
        display: table-header-group;
    }

    .myTable tfoot {
        display: table-footer-group;
    }

    .myTable tr {
        page-break-inside: avoid;
    }

    /* Pour la classe cartDetailTable spécifiquement quand elle est utilisée avec myTable */
    .myTable.cartDetailTable {
        margin: 0 auto; /* Centrer horizontalement */
        text-align: center; /* Centrer le contenu de la div */
        width: 100%;
    }

/* Si cartDetailTable est utilisé comme conteneur (pas comme tableau), gardez ceci */
.cartDetailTable {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
