/* Explain: Styles for the printable A4 poster page. */
/* Affiche A4 imprimable - Cyril Auto Spa */
.poster-body {
    margin: 0;
    min-height: 100vh;
    background: #111111;
    padding: 2.5rem 1rem 4rem;
    display: flex;
    justify-content: center;
}

.poster-stage {
    width: 100%;
    max-width: 210mm;
    display: flex;
    justify-content: center;
}

.poster-sheet {
    width: 210mm;
    height: 297mm;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 6%, rgba(197, 160, 89, 0.16), transparent 42%),
        radial-gradient(circle at 8% 94%, rgba(197, 160, 89, 0.1), transparent 40%),
        #000000;
    color: #ffffff;
    font-family: var(--font-body);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    transform-origin: top center;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.poster-sheet * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.poster-hero-fade {
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.poster-special {
    background: linear-gradient(to right, rgba(197, 160, 89, 0.18), rgba(197, 160, 89, 0));
}

.poster-toolbar {
    position: fixed;
    z-index: 60;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    html,
    body {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 210mm;
        height: 297mm;
    }

    .poster-body {
        padding: 0 !important;
        background: #ffffff !important;
        display: block !important;
        min-height: 0 !important;
    }

    .poster-stage {
        max-width: none !important;
        height: auto !important;
        display: block !important;
    }

    .poster-sheet {
        transform: none !important;
        box-shadow: none !important;
        width: 210mm !important;
        height: 297mm !important;
    }

    .no-print {
        display: none !important;
    }
}