/**
 * CSS specifico per l'output di stampa termica a 80mm
 */

@media print {

    /* Impostazioni di base per stampante termica */
    @page {
        margin: 0;
        size: 80mm auto;
    }

    body {
        width: 72mm !important;
        max-width: 72mm !important;
        margin: 0 auto !important;
        padding: 4px !important;
        font-family: monospace !important;
        font-size: 11px !important;
    }

    /* Nascondi elementi non necessari per la stampa */
    .button-container,
    #toggle-voice-btn,
    .mode-section,
    #toggle-button,
    #resetContabilitaBtn {
        display: none !important;
    }

    /* Stili per la stampa termica */
    h1,
    h2,
    h3 {
        text-align: center !important;
        margin: 3px 0 !important;
        font-size: 12px !important;
        font-weight: bold !important;
    }

    h1 {
        font-size: 14px !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-bottom: 8px !important;
    }

    th,
    td {
        padding: 2px !important;
        text-align: left !important;
    }

    .right {
        text-align: right !important;
    }

    .center {
        text-align: center !important;
    }

    .divider {
        border-top: 1px dashed #000 !important;
        margin: 3px 0 !important;
    }

    .total {
        font-weight: bold !important;
    }

    .footer {
        margin-top: 8px !important;
        text-align: center !important;
        font-size: 9px !important;
        border-top: 1px dashed #000 !important;
        padding-top: 4px !important;
    }
}