/* Styles par défaut pour l’écran */
body {
    font-family: "Poppins", sans-serif;
}

/* Masquer en-tête, pied de page, navigation, boutons, etc. */
header,
footer,
nav,
.modal-overlay,
.modal-box,
.no-print,
a[href^="mailto:"],
a[href^="tel:"],
.print-button {
    display: none !important;
}

/* Afficher uniquement la section à imprimer */
.printable-area {
    display: block;
}

/* Ajustements de mise en page */
body {
    background: white !important;
    color: #3e4968 !important;
    margin: 0;
    padding: 0;
}

/* Supprimer les styles de lien */
a::after {
    content: "";
}

h3.print-title {
    font-size: 50px;
    line-height: 50px;
    text-transform: uppercase;
    text-align: center;
}

.mes-favoris {
    padding: 20px;
}

.mes-favoris>h3 {
    margin: 10px 0;
    font-size: 25px;
    font-weight: 900;
    line-height: 38px;
}

.mes-favoris>h3 span {
    color: #eb5d3e;
}

.representations {
    background-color: #FFFFFF;
}

.representations:not(:last-of-type) {
    margin-bottom: 35px;
}

.representations .right {
    text-align: right;
}

.representations .date:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 123, 194, .2);
}

.representations .date {
    padding: 10px 0;
    font-weight: 500;
}

.representations .date .inner {
    display: flex;
    align-items: center;
    padding: 0 1em;
}

.representations .date .inner div {
    display: flex;
}

.representations .date .inner div:first-of-type {
    width: 40%;
    flex-direction: column;
}

.representations .date .inner div span {
    position: relative;
    display: flex;
    align-items: center;
}

.representations .date.modifie>.inner span {
    opacity: .5;
    font-style: italic;
    text-decoration: line-through;
}

.representations .date .inner div span:before {
    display: block;
    content: "";
}

.representations .date .inner div span h3 {
    font-size: 16px;
    line-height: 22px;
    margin: 5px 0;
}

.representations .date .inner div span.blue-tag {
    display: inline-block;
    align-self: baseline;
    color: #fff;
    background-color: #167bc1;
    text-transform: uppercase;
    padding: 5px 8px;
    font-size: 14px;
    line-height: 15px;
}

.representations .date .inner div:nth-of-type(2) {
    width: 25%;
}

.representations .date .inner div.day__time {
    flex-direction: column;
    gap: 10px;
}

.representations .date .inner div span.day {
    gap: 10px;
}

.representations .date .inner div span.time {
    gap: 10px;
}

.representations .date .inner div span.day:before {
    background-image: url(../img/svg/calendar-days-solid.svg);
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.representations .date .inner div span.time:before {
    background-image: url(../img/svg/clock-solid.svg);
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.representations .date .inner div span.place {
    gap: 10px;
    text-transform: uppercase;
}

.representations .date .inner div span.place:before {
    background-image: url(../img/svg/location.svg);
    width: 15px;
    height: 20px;
    background-size: 15px 20px;
}

.representations .date.modifie .update {
    margin-top: .5em;
    border: 2px solid #eb5d3e;
}

.representations .date.modifie .update>div {
    padding: .5em 1em;
}

.representations .date.modifie .update>div:first-of-type {
    color: #fff;
    background-color: #eb5d3e;
}

.representations .date.complet .update {
    margin-top: .5em;
}

.representations .date.modifie .update>div,
.representations .date.complet .update>div {
    padding: .5em 1em;
}

.representations .date.modifie .update>div:first-of-type {
    color: #fff;
    background-color: #eb5d3e;
}

.representations .date.complet .update>div:first-of-type {
    color: #fff;
    background-color: #3e4968;
}

.representations .date.modifie .update>div {
    padding: .5em 1em;
}

.representations .date.modifie .new-date>div:first-of-type {
    background-color: #FFFFFF;
    color: #3e4968;
}

.representations .date.modifie .new-date {
    margin-top: .5em;
    border: none;
}

/* Masquer certains éléments à l'impression */
@media print {

    /* Masquer en-tête, pied de page, navigation, boutons, etc. */
    header,
    footer,
    nav,
    .modal-overlay,
    .modal-box,
    .no-print,
    a[href^="mailto:"],
    a[href^="tel:"],
    .print-button {
        display: none !important;
    }

    /* Afficher uniquement la section à imprimer */
    .printable-area {
        display: block;
    }

    /* Ajustements de mise en page */
    body {
        background: white !important;
        color: #3e4968 !important;
        margin: 0;
        padding: 0;
    }

    /* Supprimer les marges automatiques de certains navigateurs */
    @page {
        margin: 10mm;
    }

    /* Supprimer les styles de lien */
    a::after {
        content: "";
    }

    h3.print-title {
        font-size: 50px;
        line-height: 50px;
        text-transform: uppercase;
        text-align: center;
    }

    .mes-favoris>h3 {
        margin: 10px 0;
        font-size: 25px;
        font-weight: 900;
        line-height: 38px;
    }

    .mes-favoris>h3 span {
        color: #eb5d3e;
    }

    .representations {
        background-color: #FFFFFF;
    }

    .representations:not(:last-of-type) {
        margin-bottom: 35px;
    }

    .representations .right {
        text-align: right;
    }

    .representations .date:not(:last-of-type) {
        border-bottom: 1px solid rgba(0, 123, 194, .2);
    }

    .representations .date {
        padding: 10px 0;
        font-weight: 500;
    }

    .representations .date .inner {
        display: flex;
        align-items: center;
        padding: 0 1em;
    }

    .representations .date .inner div {
        display: flex;
    }

    .representations .date .inner div:first-of-type {
        width: 40%;
        flex-direction: column;
    }

    .representations .date .inner div span {
        position: relative;
        display: flex;
        align-items: center;
    }

    .representations .date.modifie>.inner span {
        opacity: .5;
        font-style: italic;
        text-decoration: line-through;
    }

    .representations .date .inner div span:before {
        display: block;
        content: "";
    }

    .representations .date .inner div span h3 {
        font-size: 16px;
        line-height: 22px;
        margin: 5px 0;
    }

    .representations .date .inner div span.blue-tag {
        display: inline-block;
        align-self: baseline;
        color: #fff;
        background-color: #167bc1;
        text-transform: uppercase;
        padding: 5px 8px;
        font-size: 14px;
        line-height: 15px;
    }

    .representations .date .inner div:nth-of-type(2) {
        width: 25%;
    }

    .representations .date .inner div.day__time {
        flex-direction: column;
        gap: 10px;
    }

    .representations .date .inner div span.day {
        gap: 10px;
    }

    .representations .date .inner div span.time {
        gap: 10px;
    }

    .representations .date .inner div span.day:before {
        background-image: url(../img/svg/calendar-days-solid.svg);
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }

    .representations .date .inner div span.time:before {
        background-image: url(../img/svg/clock-solid.svg);
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }

    .representations .date .inner div span.place {
        gap: 10px;
        text-transform: uppercase;
    }

    .representations .date .inner div span.place:before {
        background-image: url(../img/svg/location.svg);
        width: 15px;
        height: 20px;
        background-size: 15px 20px;
    }

    .representations .date.modifie .update {
        margin-top: .5em;
        border: 2px solid #eb5d3e;
    }

    .representations .date.complet .update {
        margin-top: .5em;
    }

    .representations .date.modifie .update>div,
    .representations .date.complet .update>div {
        padding: .5em 1em;
    }

    .representations .date.modifie .update>div:first-of-type {
        color: #fff;
        background-color: #eb5d3e;
    }

    .representations .date.complet .update>div:first-of-type {
        color: #fff;
        background-color: #3e4968;
    }

    .representations .date.modifie .update>div {
        padding: .5em 1em;
    }

    .representations .date.modifie .new-date>div:first-of-type {
        background-color: #FFFFFF;
        color: #3e4968;
    }

    .representations .date.modifie .new-date {
        margin-top: .5em;
        border: none;
    }
}