
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            font-size: 12px;
        }
        
        .page-break {
            page-break-before: always;
            margin-top: 40px;
        }
        
        .container {
            max-width: 900px;
            margin: 0 auto;
            margin-bottom: 40px;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        h2 {
            color: rgb(30 64 175 / var(--tw-text-opacity, 1));
        }
        .header h2 {
            margin: 0;
            font-size: 16px;
            font-weight: bold;
        }
        
        .header-left p, .header-right p {
            margin: 5px 0;
            font-size: 12px;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        th, td {
            border: 1px solid #000;
            padding: 10px;
            text-align: center;
            vertical-align: middle;
            font-size: 10px;
        }
        
        th {
            background-color: #f8f8f8;
            font-weight: bold;
        }
        
        .left-align {
            text-align: left;
            padding-left: 6px;
        }
        
        .signatures {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            font-size: 12px;
        }
        
        /* Stiluri specifice pentru REGISTRUL-JURNAL */
        .jurnal-table th:nth-child(1), .jurnal-table td:nth-child(1) { width: 8%; }
        .jurnal-table th:nth-child(2), .jurnal-table td:nth-child(2) { width: 10%; }
        .jurnal-table th:nth-child(3), .jurnal-table td:nth-child(3) { width: 22%; }
        .jurnal-table th:nth-child(4), .jurnal-table td:nth-child(4) { width: 22%; }
        .jurnal-table th:nth-child(5), .jurnal-table td:nth-child(5) { width: 9%; }
        .jurnal-table th:nth-child(6), .jurnal-table td:nth-child(6) { width: 9%; }
        .jurnal-table th:nth-child(7), .jurnal-table td:nth-child(7) { width: 10%; }
        .jurnal-table th:nth-child(8), .jurnal-table td:nth-child(8) { width: 10%; }
        
        /* Stiluri specifice pentru REGISTRUL-INVENTAR */
        .inventar-table th:nth-child(1), .inventar-table td:nth-child(1) { width: 8%; }
        .inventar-table th:nth-child(2), .inventar-table td:nth-child(2) { width: 30%; }
        .inventar-table th:nth-child(3), .inventar-table td:nth-child(3) { width: 15%; }
        .inventar-table th:nth-child(4), .inventar-table td:nth-child(4) { width: 15%; }
        .inventar-table th:nth-child(5), .inventar-table td:nth-child(5) { width: 16%; }
        .inventar-table th:nth-child(6), .inventar-table td:nth-child(6) { width: 16%; }
        
        /* Stiluri specifice pentru CARTEA MARE */
        .cartea-mare-table {
            font-size: 9px;
        }
        .cartea-mare-table th:nth-child(1), .cartea-mare-table td:nth-child(1) { width: 12%; }
        .cartea-mare-table th:nth-child(n+2):nth-child(-n+13), .cartea-mare-table td:nth-child(n+2):nth-child(-n+13) { width: 5.5%; }
        .cartea-mare-table th:nth-child(n+14), .cartea-mare-table td:nth-child(n+14) { width: 6%; }
        
        /* Stiluri specifice pentru CARTEA MARE (ŞAH) */
        .sah-table {
            table-layout: fixed;
        }
        .sah-table th:nth-child(1), .sah-table td:nth-child(1) { width: 15%; }
        .sah-table th:nth-child(2), .sah-table td:nth-child(2) { width: 12%; }
        .sah-table th:nth-child(3), .sah-table td:nth-child(3) { width: 8%; }
        .sah-table th:nth-child(4), .sah-table td:nth-child(4) { width: 8%; }
        /* Coloanele pentru zona Conturi corespondente - toate egale și mici */
        .sah-table th:nth-child(n+5), .sah-table td:nth-child(n+5) { 
            width: 3.5%; 
            border-right: 1px solid #000;
            padding: 2px 1px;
        }
        
        /* Stiluri speciale pentru zona conturi corespondente */
        .conturi-corespondente {
            background: repeating-linear-gradient(
                90deg,
                transparent,
                transparent 20px,
                #000 20px,
                #000 21px
            );
            min-height: 80px;
            position: relative;
        }
        
        /* Alternativ - stiluri pentru celulele din zona conturi corespondente */
        .sah-table .conturi-cell {
            border-right: 2px solid #000;
            width: 15px;
            min-width: 15px;
            max-width: 15px;
            padding: 2px;
        }
        
        .bold {
            font-weight: bold;
        }
        
        /* Stiluri specifice pentru REGISTRUL NUMERELOR DE INVENTAR */
        .inventar-numere-table th:nth-child(1), .inventar-numere-table td:nth-child(1) { width: 12%; }
        .inventar-numere-table th:nth-child(2), .inventar-numere-table td:nth-child(2) { width: 15%; }
        .inventar-numere-table th:nth-child(3), .inventar-numere-table td:nth-child(3) { width: 40%; }
        .inventar-numere-table th:nth-child(4), .inventar-numere-table td:nth-child(4) { width: 18%; }
        .inventar-numere-table th:nth-child(5), .inventar-numere-table td:nth-child(5) { width: 15%; }
        
        /* Stiluri specifice pentru FIŞA MIJLOCULUI FIX */
        .fisa-mijloc-fix-table {
            table-layout: fixed;
        }
        .fisa-mijloc-fix-table td:nth-child(1) { 
            width: 65%; 
            vertical-align: top;
            padding: 8px;
        }
        .fisa-mijloc-fix-table td:nth-child(2) { 
            width: 35%; 
            vertical-align: top;
            padding: 8px;
        }
        .fisa-mijloc-fix-table td {
            border: 1px solid #000;
            height: auto;
            min-height: 30px;
        }
        
        /* Stiluri pentru tabelul cu operațiunile mijlocului fix */
        .operatiuni-mijloc-fix-table {
            table-layout: fixed;
        }
        .operatiuni-mijloc-fix-table th:nth-child(1), .operatiuni-mijloc-fix-table td:nth-child(1) { width: 10%; }
        .operatiuni-mijloc-fix-table th:nth-child(2), .operatiuni-mijloc-fix-table td:nth-child(2) { width: 12%; }
        .operatiuni-mijloc-fix-table th:nth-child(3), .operatiuni-mijloc-fix-table td:nth-child(3) { width: 25%; }
        .operatiuni-mijloc-fix-table th:nth-child(4), .operatiuni-mijloc-fix-table td:nth-child(4) { width: 8%; }
        .operatiuni-mijloc-fix-table th:nth-child(5), .operatiuni-mijloc-fix-table td:nth-child(5) { width: 11%; }
        .operatiuni-mijloc-fix-table th:nth-child(6), .operatiuni-mijloc-fix-table td:nth-child(6) { width: 11%; }
        .operatiuni-mijloc-fix-table th:nth-child(7), .operatiuni-mijloc-fix-table td:nth-child(7) { width: 10%; }
        .operatiuni-mijloc-fix-table th:nth-child(8), .operatiuni-mijloc-fix-table td:nth-child(8) { width: 13%; }
        
        /* Stiluri pentru BON DE MIŞCARE A MIJLOACELOR FIXE */
        .bon-miscare-antet {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        .bon-miscare-antet td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        .bon-miscare-antet td:nth-child(1) { width: 20%; }
        .bon-miscare-antet td:nth-child(2) { width: 12%; }
        .bon-miscare-antet td:nth-child(3) { width: 12%; }
        .bon-miscare-antet td:nth-child(4) { width: 12%; }
        .bon-miscare-antet td:nth-child(5) { width: 22%; }
        .bon-miscare-antet td:nth-child(6) { width: 22%; }
        
        .text-explicativ {
            font-size: 12px;
            text-align: justify;
        }
        
        .bon-miscare-table {
            table-layout: fixed;
        }
        .bon-miscare-table th:nth-child(1), .bon-miscare-table td:nth-child(1) { width: 8%; }
        .bon-miscare-table th:nth-child(2), .bon-miscare-table td:nth-child(2) { width: 40%; }
        .bon-miscare-table th:nth-child(3), .bon-miscare-table td:nth-child(3) { width: 18%; }
        .bon-miscare-table th:nth-child(4), .bon-miscare-table td:nth-child(4) { width: 10%; }
        .bon-miscare-table th:nth-child(5), .bon-miscare-table td:nth-child(5) { width: 24%; }
        
        .semnături-bon {
            width: 100%;
            border-collapse: collapse;
        }
        .semnături-bon td {
            border: 1px solid #000;
            vertical-align: middle;
        }
        .semnături-bon td:nth-child(1) { width: 25%; }
        .semnături-bon td:nth-child(2) { width: 25%; }
        .semnături-bon td:nth-child(3) { width: 25%; }
        .semnături-bon td:nth-child(4) { width: 25%; }
        /* Stiluri specifice pentru CARTEA MARE (ŞAH) (14-1-3/a) - Optimizat */
    .sah-container-opt {
        width: 650px; /* Ajustat pentru a imita proporțiile din imagine */
        margin: 0 auto;
        padding: 20px 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
        font-size: 11px;
    }

    .sah-container-opt p {
        margin: 5px 0 15px 0;
        font-size: 12px;
    }

    .sah-table-opt {
        width: 100%;
        border-collapse: collapse;
        font-size: 10px;
        table-layout: fixed;
    }

    .sah-table-opt th,
    .sah-table-opt td {
        border: 1px solid #000;
        padding: 4px;
        height: 25px; /* Înălțime fixă pentru rânduri */
        vertical-align: top;
        text-align: center;
        box-sizing: border-box;
    }

    .sah-table-opt th {
        font-weight: bold;
    }

    /* Antetul superior */
    .sah-table-opt thead tr:first-child th:first-child {
        text-align: left;
        padding-left: 10px;
        width: 50%; /* CARTEA MARE (ŞAH) */
    }
    .sah-table-opt thead tr:first-child th:nth-child(2) { width: 15%; } /* Simbol cont */
    .sah-table-opt thead tr:first-child th:nth-child(3) { width: 10%; } /* Debit */
    .sah-table-opt thead tr:first-child th:last-child { width: 25%; } /* Pagina */

    /* Rândul Denumirea contului */
    .sah-table-opt thead tr:nth-child(2) td:first-child {
        text-align: left;
        padding-left: 10px;
        font-weight: normal;
        height: 30px; /* Mai înalt */
    }
    .sah-table-opt thead tr:nth-child(2) td:nth-child(3) {
        text-align: center; /* Credit */
    }

    /* Antetul coloanelor de date (Rândul 3) */
    .sah-table-opt thead tr:nth-child(3) th:nth-child(1) { width: 20%; } /* Nr. registrul-jurnal */
    .sah-table-opt thead tr:nth-child(3) th:nth-child(2) { width: 15%; } /* Data oper. */
    .sah-table-opt thead tr:nth-child(3) th:nth-child(3) { width: 10%; } /* Suma */
    .sah-table-opt thead tr:nth-child(3) th:last-child { width: 55%; } /* Conturi corespondente */

    /* Corpul tabelului */
    .sah-table-opt tbody td {
        padding: 0;
        height: 25px;
    }
    .sah-table-opt tbody td:nth-child(1) { width: 20%; padding: 4px; }
    .sah-table-opt tbody td:nth-child(2) { width: 15%; padding: 4px; }
    .sah-table-opt tbody td:nth-child(3) { width: 10%; padding: 4px; }
    .sah-table-opt tbody td:last-child { 
        width: 55%; 
        border: none; /* Eliminăm chenarul celulei mari */
        padding: 0;
    }

    /* Simularea coloanelor interne (Liniile verticale) */
    .conturi-corespondente-inner {
        display: flex;
        height: 100%;
        width: 100%;
    }
    /* Celula goală care se suprapune sub Conturi corespondente */
    .conturi-corespondente-inner .inner-cell {
        border: 1px solid #000; /* Reintroducem liniile din jurul celulei */
        border-top: none; 
        border-bottom: none; 
        border-right: none; 
        flex-grow: 1;
        width: 5%; /* 10 coloane * 5% = 50% din lățimea celule*/
    }
    /* Crearea liniilor verticale interne */
    .conturi-corespondente-inner .inner-cell-line {
        border-right: 1px solid #000;
        height: 100%;
        width: 10%; /* Lățimea exactă a fiecărei coloane interne (55% / 10 coloane = 5.5% fiecare) */
    }
    .conturi-corespondente-inner .inner-cell-line:last-child {
        border-right: none;
    }
    
    /* Reajustare pentru a uni Conturi Corespondente în zona de sus */
    .sah-table-opt thead tr:first-child th:nth-child(2),
    .sah-table-opt thead tr:first-child th:nth-child(3) {
        /* Simbol cont și Debit */
        vertical-align: bottom;
    }

        /* Stiluri pentru PROCES-VERBAL DE SCOATERE DIN FUNCŢIUNE */
        .proces-verbal-antet {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 10px;
        }
        
        .proces-verbal-antet td {
            border: 1px solid black;
            padding: 10px;
            vertical-align: middle;
            text-align: center;
        }
        
        .proces-verbal-antet td:first-child {
            width: 60%;
            text-align: left;
        }
        
        .proces-verbal-antet td:nth-child(2) {
            width: 20%;
        }
        
        .proces-verbal-antet td:nth-child(3) {
            width: 20%;
        }
        
        .proces-verbal-date {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .proces-verbal-date td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            height: 30px;
        }
        
        .proces-verbal-date td:first-child {
            width: 25%;
            text-align: left;
        }
        
        .proces-verbal-date td:nth-child(2),
        .proces-verbal-date td:nth-child(3),
        .proces-verbal-date td:nth-child(4) {
            width: 15%;
        }
        
        .proces-verbal-date td:last-child {
            width: 30%;
            text-align: left;
        }
        
        .constatari-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .mijloace-fixe-table {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .mijloace-fixe-table th,
        .mijloace-fixe-table td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .mijloace-fixe-table th:first-child,
        .mijloace-fixe-table td:first-child {
            width: 8%;
        }
        
        .mijloace-fixe-table th:nth-child(2),
        .mijloace-fixe-table td:nth-child(2) {
            width: 20%;
        }
        
        .mijloace-fixe-table th:nth-child(3),
        .mijloace-fixe-table td:nth-child(3) {
            width: 12%;
        }
        
        .mijloace-fixe-table th:nth-child(4),
        .mijloace-fixe-table td:nth-child(4) {
            width: 8%;
        }
        
        .mijloace-fixe-table th:nth-child(5),
        .mijloace-fixe-table td:nth-child(5) {
            width: 12%;
        }
        
        .mijloace-fixe-table th:nth-child(6),
        .mijloace-fixe-table td:nth-child(6) {
            width: 12%;
        }
        
        .mijloace-fixe-table th:nth-child(7),
        .mijloace-fixe-table td:nth-child(7) {
            width: 12%;
        }
        
        .mijloace-fixe-table th:nth-child(8),
        .mijloace-fixe-table td:nth-child(8) {
            width: 16%;
        }
        
        .ansamble-antet {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 10px;
        }
        
        .ansamble-antet td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            height: 30px;
        }
        
        .ansamble-antet td:first-child {
            width: 20%;
            text-align: left;
        }
        
        .ansamble-antet td:nth-child(2),
        .ansamble-antet td:nth-child(3),
        .ansamble-antet td:nth-child(4) {
            width: 12%;
        }
        
        .ansamble-antet td:nth-child(5),
        .ansamble-antet td:nth-child(6) {
            width: 18%;
            text-align: left;
        }
        
        .ansamble-table {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .ansamble-table th,
        .ansamble-table td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .ansamble-table th:first-child,
        .ansamble-table td:first-child {
            width: 10%;
        }
        
        .ansamble-table th:nth-child(2),
        .ansamble-table td:nth-child(2) {
            width: 25%;
        }
        
        .ansamble-table th:nth-child(3),
        .ansamble-table td:nth-child(3) {
            width: 15%;
        }
        
        .ansamble-table th:nth-child(4),
        .ansamble-table td:nth-child(4) {
            width: 10%;
        }
        
        .ansamble-table th:nth-child(5),
        .ansamble-table td:nth-child(5) {
            width: 15%;
        }
        
        .ansamble-table th:nth-child(6),
        .ansamble-table td:nth-child(6) {
            width: 12.5%;
        }
        
        .ansamble-table th:nth-child(7),
        .ansamble-table td:nth-child(7) {
            width: 12.5%;
        }
        
        .comisia-table {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
        }
        
        .comisia-table td {
            border: 1px solid black;
            padding: 5px;
            text-align: center;
            vertical-align: middle;
        }
        
        .comisia-table td:nth-child(1),
        .comisia-table td:nth-child(2),
        .comisia-table td:nth-child(3),
        .comisia-table td:nth-child(4),
        .comisia-table td:nth-child(5),
        .comisia-table td:nth-child(6),
        .comisia-table td:nth-child(7),
        .comisia-table td:nth-child(8) {
            width: 12.5%;
        }

        .receptie-comisie-table th, .receptie-comisie-table td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: top;
        }
        .receptie-comisie-table th:first-child, .receptie-comisie-table td:first-child {
            text-align: left;
        }
        .receptie-comisie-table {
            margin-top: 30px;
            width: 100%;
            border-collapse: collapse;
        }

        /* Stiluri pentru secțiunea ÎNCHEIERE DE LUARE ÎN PRIMIRE */
        .inchidere-luare-primire {
            width: 100%;
            border-collapse: collapse;
            margin-top: 40px;
        }
        .inchidere-luare-primire td {
            border: 1px solid #000;
            padding: 10px;
            text-align: center;
            vertical-align: middle;
        }
        .inchidere-luare-primire td.left-align {
            text-align: left;
            padding-left: 10px;
        }

        /* Stiluri pentru PROCES-VERBAL privind executarea completărilor și remediilor */
        .proces-verbal-completari-antet {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 10px;
        }
        
        .proces-verbal-completari-antet td {
            border: 1px solid black;
            padding: 10px;
            vertical-align: middle;
            text-align: center;
        }
        
        .proces-verbal-completari-antet td:first-child {
            width: 60%;
            text-align: left;
        }
        
        .proces-verbal-completari-antet td:nth-child(2) {
            width: 20%;
        }
        
        .proces-verbal-completari-antet td:nth-child(3) {
            width: 20%;
        }
        
        .proces-verbal-completari-date {
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .proces-verbal-completari-date td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            height: 30px;
        }
        
        .proces-verbal-completari-date td:first-child {
            width: 25%;
            text-align: left;
        }
        
        .proces-verbal-completari-date td:nth-child(2),
        .proces-verbal-completari-date td:nth-child(3),
        .proces-verbal-completari-date td:nth-child(4) {
            width: 15%;
        }
        
        .proces-verbal-completari-date td:last-child {
            width: 30%;
            text-align: left;
        }
        
        .remedii-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .remedii-table th,
        .remedii-table td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .remedii-table th:first-child,
        .remedii-table td:first-child {
            width: 8%;
        }
        
        .remedii-table th:nth-child(2),
        .remedii-table td:nth-child(2) {
            width: 20%;
        }
        
        .remedii-table th:nth-child(3),
        .remedii-table td:nth-child(3) {
            width: 12%;
        }
        
        .remedii-table th:nth-child(4),
        .remedii-table td:nth-child(4) {
            width: 8%;
        }
        
        .remedii-table th:nth-child(5),
        .remedii-table td:nth-child(5) {
            width: 12%;
        }
        
        .remedii-table th:nth-child(6),
        .remedii-table td:nth-child(6) {
            width: 12%;
        }
        
        .remedii-table th:nth-child(7),
        .remedii-table td:nth-child(7) {
            width: 12%;
        }
        
        .remedii-table th:nth-child(8),
        .remedii-table td:nth-child(8) {
            width: 16%;
        }
        
        .semnaturi-remedii {
            width: 100%;
            border-collapse: collapse;
        }
        .semnaturi-remedii td {
            border: 1px solid #000;
            vertical-align: middle;
        }
        .semnaturi-remedii td:nth-child(1) { width: 25%; }
        .semnaturi-remedii td:nth-child(2) { width: 25%; }
        .semnaturi-remedii td:nth-child(3) { width: 25%; }
        .semnaturi-remedii td:nth-child(4) { width: 25%; }
        
        /* Stiluri pentru DISPOZIȚIE DE LIVRARE (14-3-5A) */
        .dispozitie-livrare-antet {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .dispozitie-livrare-antet td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .dispozitie-livrare-antet td:nth-child(1) { width: 20%; }
        .dispozitie-livrare-antet td:nth-child(2) { width: 12%; }
        .dispozitie-livrare-antet td:nth-child(3) { width: 12%; }
        .dispozitie-livrare-antet td:nth-child(4) { width: 12%; }
        .dispozitie-livrare-antet td:nth-child(5) { width: 22%; }
        .dispozitie-livrare-antet td:nth-child(6) { width: 22%; }
        
        .dispozitie-livrare-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .dispozitie-livrare-table th,
        .dispozitie-livrare-table td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .dispozitie-livrare-table th {
            background-color: #f8f8f8;
            font-weight: bold;
        }
        
        .dispozitie-livrare-table td.left-align {
            text-align: left;
            padding-left: 6px;
        }
        
        .dispozitie-livrare-signatures {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            font-size: 12px;
        }

        /* AVIZ DE ÎNSOȚIRE A MĂRFII (14-3-6A) */
        .aviz-insotire-antet {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .aviz-insotire-antet td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .aviz-insotire-antet td:nth-child(1) { width: 20%; }
        .aviz-insotire-antet td:nth-child(2) { width: 12%; }
        .aviz-insotire-antet td:nth-child(3) { width: 12%; }
        .aviz-insotire-antet td:nth-child(4) { width: 12%; }
        .aviz-insotire-antet td:nth-child(5) { width: 22%; }
        .aviz-insotire-antet td:nth-child(6) { width: 22%; }
        
        .aviz-insotire-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        .aviz-insotire-table th,
        .aviz-insotire-table td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
            vertical-align: middle;
        }
        
        .aviz-insotire-table th {
            background-color: #f8f8f8;
            font-weight: bold;
        }
        
        .aviz-insotire-table td.left-align {
            text-align: left;
            padding-left: 6px;
        }
        
        .aviz-insotire-signatures {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            font-size: 12px;
        }
        /* Stiluri pentru Tabelul Aviz complet */
.aviz-insotire-complet {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
}

.aviz-insotire-complet th,
.aviz-insotire-complet td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.aviz-insotire-complet th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* Ajustarea alinierilor pentru celulele speciale */
.aviz-insotire-complet .align-left {
    text-align: left;
}
.aviz-insotire-complet .align-center {
    text-align: center;
}
.aviz-insotire-complet .align-right {
    text-align: right;
    padding-right: 15px; /* Spațiu pentru eticheta TOTAL */
}
.aviz-insotire-complet .bold {
    font-weight: bold;
}

/* Definiția lățimii coloanelor principale (7 coloane = 100%) */
.aviz-insotire-complet .col-nr-crt     { width: 5%; }    /* Coloana 1 */
.aviz-insotire-complet .col-denumire   { width: 30%; }   /* Coloana 2 */
.aviz-insotire-complet .col-um          { width: 8%; }    /* Coloana 3 */
.aviz-insotire-complet .col-cantitate   { width: 15%; }   /* Coloana 4 */
.aviz-insotire-complet .col-pret        { width: 12%; }   /* Coloana 5 */
.aviz-insotire-complet .col-valoare     { width: 15%; }   /* Coloana 6 */
.aviz-insotire-complet .col-tva         { width: 15%; }   /* Coloana 7 */

/* Corecția vizuală pentru Antetul Nr./Data */
.aviz-insotire-complet thead tr:first-child td {
    /* Asigură că padding-ul este consistent cu celelalte celule */
    padding: 10px;
    height: 30px; /* Ajută la distribuirea uniformă a spațiului */
}
.aviz-insotire-complet thead tr:nth-child(2) td {
    /* Asigură că padding-ul este consistent cu celelalte celule */
    padding: 10px;
    height: 30px; /* Ajută la distribuirea uniformă a spațiului */
}

/* Stiluri pentru rândul de TOTAL */
.aviz-insotire-complet .total-label {
    text-align: right;
    font-weight: bold;
}
.aviz-insotire-complet .total-value {
    text-align: center;
    font-weight: bold;
}
    /* Stiluri specifice pentru FIȘA DE MAGAZIE (14-3-8) */
.fisa-magazie-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Crucial pentru alinierea coloanelor */
    font-size: 11px;
}

.fisa-magazie-table th,
.fisa-magazie-table td {
    border: 1px solid #000;
    padding: 8px 4px; /* Padding mai mic pentru a arăta ca în imagine */
    text-align: center;
    vertical-align: middle;
    height: 20px; /* Înălțime uniformă pentru rândurile de date */
}

.fisa-magazie-table th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I: Entitatea, Titlu, Pagina */
.fisa-magazie-table .first-row-cell {
    padding: 5px 10px;
    height: 20px;
    font-weight: normal;
}

/* Antetul II: Magazia și Materialul (folosește th-uri, dar cu aliniere la stânga) */
.fisa-magazie-table .material-header {
    text-align: left;
    padding-left: 10px;
    font-weight: bold;
    height: 20px;
}

/* Antetul III & IV & V (Structura complexă) */
.fisa-magazie-table .sub-header {
    font-weight: normal; /* Unele sub-antete sunt afișate fără bold */
    padding: 5px 2px;
}

/* Definirea lățimii coloanelor principale (9 coloane = 100%) */
/* Rândul 5 (Dată, Număr, Fel, Intrări, Ieșiri, Stoc, Data și semnătura - 3 celule) */
.fisa-magazie-table tbody td:nth-child(1), .fisa-magazie-table thead th:nth-child(1) { width: 10%; } /* Dată */
.fisa-magazie-table tbody td:nth-child(2), .fisa-magazie-table thead th:nth-child(2) { width: 10%; } /* Număr */
.fisa-magazie-table tbody td:nth-child(3), .fisa-magazie-table thead th:nth-child(3) { width: 5%; }  /* Fel */
.fisa-magazie-table tbody td:nth-child(4), .fisa-magazie-table thead th:nth-child(4) { width: 10%; } /* Intrări */
.fisa-magazie-table tbody td:nth-child(5), .fisa-magazie-table thead th:nth-child(5) { width: 10%; } /* Ieșiri */
.fisa-magazie-table tbody td:nth-child(6), .fisa-magazie-table thead th:nth-child(6) { width: 10%; } /* Stoc */
/* Ultimele 3 coloane (Data și semnătura) */
.fisa-magazie-table tbody td:nth-child(n+7), .fisa-magazie-table thead th:nth-child(n+7) { width: 15%; }
/* Stiluri specifice pentru FIȘĂ DE EVIDENȚĂ A MATERIALELOR - STRUCTURA FINALĂ V3 */
.fisa-obiecte-inventar-table-final-v3 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
    line-height: 1.2;
}

.fisa-obiecte-inventar-table-final-v3 th,
.fisa-obiecte-inventar-table-final-v3 td {
    border: 1px solid #000;
    padding: 4px 5px; 
    text-align: center;
    vertical-align: middle;
    height: 20px; 
}

.fisa-obiecte-inventar-table-final-v3 th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I: Entitatea, Secția, Titlu */
.fisa-obiecte-inventar-table-final-v3 .header-cell {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 30px; 
}
.fisa-obiecte-inventar-table-final-v3 .header-entitate-sectie {
    /* Entitatea + Secția comasate (r1, r2) */
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    padding-top: 5px;
    padding-left: 10px;
    width: 20%; /* 2 din 12 coloane */
}
.fisa-obiecte-inventar-table-final-v3 .header-titlu {
    font-weight: bold;
    font-size: 13px;
    width: 80%; /* 10 din 12 coloane */
}

/* R3: Numele și prenumele */
.fisa-obiecte-inventar-table-final-v3 .signature-row {
    font-weight: normal;
    text-align: left;
    padding: 8px 10px;
    height: 20px;
}

/* R4, R5, R6: Structura complexă de date */
/* Lățimi pentru coloanele ce se întind pe 3 rânduri */
.fisa-obiecte-inventar-table-final-v3 .col-den-term {
    width: 10%; /* Denumirea/Termenul */
    font-size: 10px;
}
.fisa-obiecte-inventar-table-final-v3 .col-pu {
    width: 5%; /* P/U */
}
.fisa-obiecte-inventar-table-final-v3 .col-um {
    width: 5%; /* U/M */
}


/* PRIMIRI și RESTITUIRI (4 coloane fiecare) */
.fisa-obiecte-inventar-table-final-v3 .col-prim-rest-header {
    font-size: 10px;
    padding: 5px;
}

/* Documentul, Cantitatea, Semnătura */
.fisa-obiecte-inventar-table-final-v3 .col-doc-cant-sem {
    font-size: 10px;
    padding: 5px;
    font-weight: bold;
}

/* Detaliile Data/Fel și nr. (rândul 6) */
.fisa-obiecte-inventar-table-final-v3 .col-data-fel-sub {
    width: 5%; /* Fiecare ia 5% din lățime */
    font-weight: normal;
    padding: 3px 2px;
}

/* Definirea lățimii coloanelor principale (12 coloane = 100%) */
/* Primele 4 coloane (40%) */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(1) { width: 10%; } 
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(2) { width: 10%; } 
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(3) { width: 5%; }  
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(4) { width: 5%; }  

/* PRIMIRI (40% - 4 coloane) */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(5) { width: 5%; }  /* Data Primiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(6) { width: 5%; }  /* Fel și nr. Primiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(7) { width: 10%; } /* Cantitate Primiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(8) { width: 10%; } /* Semnătura Primiri */

/* RESTITUIRI (40% - 4 coloane) */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(9) { width: 5%; }  /* Data Restituiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(10) { width: 5%; } /* Fel și nr. Restituiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(11) { width: 10%; } /* Cantitate Restituiri */
.fisa-obiecte-inventar-table-final-v3 tbody tr td:nth-child(12) { width: 10%; } /* Semnătura Restituiri */

/* Stiluri specifice pentru LISTĂ DE INVENTARIERE (14-3-12) - FINAL */
.lista-inventariere-table-final {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
    line-height: 1.2;
}

.lista-inventariere-table-final th,
.lista-inventariere-table-final td {
    border: 1px solid #000;
    padding: 4px 2px; 
    text-align: center;
    vertical-align: middle;
    height: 18px; 
}

.lista-inventariere-table-final th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I & II: Entitatea, Magazia etc. */
.lista-inventariere-table-final .header-cell {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 30px; 
    font-size: 11px;
}
.lista-inventariere-table-final .header-entitate,
.lista-inventariere-table-final .header-gestiune {
    padding-top: 5px;
}
.lista-inventariere-table-final .header-titlu {
    font-weight: bold;
}
.lista-inventariere-table-final .material-header {
    text-align: left;
    padding-left: 10px;
    font-weight: bold;
    height: 25px;
    font-size: 11px;
}

/* R5, R6, R7: Coloanele de date (r5-r7) */
.lista-inventariere-table-final .col-r5-r7 {
    font-weight: bold;
    padding: 2px 1px;
    height: 30px;
}

/* Lățimile coloanelor (15 coloane = 100%) */
/* Distribuim lățimile pentru a se potrivi cu aspectul vizual: */
.lista-inventariere-table-final tbody tr td:nth-child(1) { width: 4%; }  /* 0 - Nr. crt. */
.lista-inventariere-table-final tbody tr td:nth-child(2) { width: 18%; } /* 1 - Denumirea bunurilor */
.lista-inventariere-table-final tbody tr td:nth-child(3) { width: 6%; }  /* 2 - Codul inventar */
.lista-inventariere-table-final tbody tr td:nth-child(4) { width: 4%; }  /* 3 - U/M */
/* Cantități (Stocuri, Diferențe) - 4 coloane */
.lista-inventariere-table-final tbody tr td:nth-child(5) { width: 6%; }  /* 4 - Scriptice */
.lista-inventariere-table-final tbody tr td:nth-child(6) { width: 6%; }  /* 5 - Faptice */
.lista-inventariere-table-final tbody tr td:nth-child(7) { width: 5%; }  /* 6 - Plus */
.lista-inventariere-table-final tbody tr td:nth-child(8) { width: 5%; }  /* 7 - Minus */
.lista-inventariere-table-final tbody tr td:nth-child(9) { width: 8%; }  /* 8 - Preț Unitar */
/* VALOAREA CONTABILĂ - 3 coloane */
.lista-inventariere-table-final tbody tr td:nth-child(10) { width: 8%; } /* 9 - Valoarea */
.lista-inventariere-table-final tbody tr td:nth-child(11) { width: 5%; } /* 10 - Diferențe Plus */
.lista-inventariere-table-final tbody tr td:nth-child(12) { width: 5%; } /* 11 - Diferențe Minus */
.lista-inventariere-table-final tbody tr td:nth-child(13) { width: 8%; } /* 12 - Valoarea de inventar */
/* DEPRECIEREA - 2 coloane */
.lista-inventariere-table-final tbody tr td:nth-child(14) { width: 8%; } /* 13 - Valoarea */
.lista-inventariere-table-final tbody tr td:nth-child(15) { width: 4%; } /* 14 - Motivul (cod) */

/* Secțiunea Semnături */
.lista-inventariere-table-final .signature-cell-title {
    font-weight: normal;
    background-color: transparent;
    padding: 8px 5px;
    height: 25px;
    vertical-align: top;
}
/* Aliniere Nume și Semnătură pe o lățime de 2 coloane (Nr. crt + Denumirea) */
.lista-inventariere-table-final tbody tr:nth-last-child(3) th:first-child,
.lista-inventariere-table-final tbody tr:last-child th:first-child {
    vertical-align: middle;
    height: 40px; 
}
/* Stiluri specifice pentru LISTĂ DE INVENTARIERE (14-3-12/b) - ANTET FINAL */
.lista-inventariere-b-table-antet {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 11px;
    line-height: 1.2;
}

.lista-inventariere-b-table-antet th,
.lista-inventariere-b-table-antet td {
    border: 1px solid #000;
    padding: 6px 4px; 
    text-align: center;
    vertical-align: middle;
    height: 20px; 
}

.lista-inventariere-b-table-antet th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I, II, III (Fără chenar la exterior, doar linii de separare) */
/* Resetarea chenarelor pentru Entitatea/Gestiunea/Titlu */
.lista-inventariere-b-table-antet thead tr:nth-child(-n+3) td {
    border: none !important;
    padding: 2px 5px;
    height: 15px;
    text-align: left;
    font-size: 12px;
}
/* Reintroducerea liniilor de separare orizontală */
.lista-inventariere-b-table-antet .header-top-cell,
.lista-inventariere-b-table-antet .header-gestiune-cell {
    border-bottom: 1px solid #000 !important;
}
.lista-inventariere-b-table-antet .header-top-cell {
    border-right: 1px solid #000 !important;
}
.lista-inventariere-b-table-antet .header-pagina-cell {
    border-right: none !important; /* Ultima coloană nu are linie dreapta */
    width: 15%; /* Lățimea Pagina */
}
.lista-inventariere-b-table-antet .header-titlu-cell {
    font-weight: bold;
    text-align: center !important;
    font-size: 14px;
    height: 35px;
}
.lista-inventariere-b-table-antet .align-right {
    text-align: right;
}


/* Antetul de date (R4, R5) */
.lista-inventariere-b-table-antet .col-main-header,
.lista-inventariere-b-table-antet .col-sub-header-1,
.lista-inventariere-b-table-antet .col-sub-header-2 {
    font-weight: bold;
    padding: 4px 2px;
    height: 35px;
}

/* Lățimile coloanelor (8 coloane = 100%) */
.lista-inventariere-b-table-antet tbody tr td:nth-child(1),
.lista-inventariere-b-table-antet thead th:nth-child(1) { width: 5%; }  /* Nr. crt. */
.lista-inventariere-b-table-antet tbody tr td:nth-child(2),
.lista-inventariere-b-table-antet thead th:nth-child(2) { width: 25%; } /* Cod sau denumire */
.lista-inventariere-b-table-antet tbody tr td:nth-child(3),
.lista-inventariere-b-table-antet thead th:nth-child(3) { width: 8%; }  /* Cantitate */
.lista-inventariere-b-table-antet tbody tr td:nth-child(4),
.lista-inventariere-b-table-antet thead th:nth-child(4) { width: 8%; }  /* Preț sub Inventar faptic */
.lista-inventariere-b-table-antet tbody tr td:nth-child(5),
.lista-inventariere-b-table-antet thead th:nth-child(5) { width: 18%; } /* Preț */
.lista-inventariere-b-table-antet tbody tr td:nth-child(6),
.lista-inventariere-b-table-antet thead th:nth-child(6) { width: 18%; } /* Valoare */
.lista-inventariere-b-table-antet tbody tr td:nth-child(7),
.lista-inventariere-b-table-antet thead th:nth-child(7) { width: 10%; } /* Valoare sub Deprecieri */
.lista-inventariere-b-table-antet tbody tr td:nth-child(8),
.lista-inventariere-b-table-antet thead th:nth-child(8) { width: 8%; }  /* Motivul cod sub Deprecieri */

/* Asigurarea că td-ul are linia dreapta reintrodusă (pentru cele două celule de sus) */
.lista-inventariere-b-table-antet thead tr:first-child td:nth-child(6) {
    border-right: 1px solid #000 !important;
}
/* Stiluri specifice pentru LISTĂ DE INVENTARIERE (14-3-12/a) */
.lista-inventariere-a-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
    line-height: 1.2;
}

.lista-inventariere-a-table th,
.lista-inventariere-a-table td {
    border: 1px solid #000;
    padding: 4px 2px; 
    text-align: center;
    vertical-align: middle;
    height: 18px; 
}

.lista-inventariere-a-table th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I & II: Entitatea, Titlu, Gestiune, Pagina, Magazia, Loc depozitare */
.lista-inventariere-a-table .header-cell {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 30px; 
    font-size: 11px;
}
.lista-inventariere-a-table .header-entitate,
.lista-inventariere-a-table .header-gestiune,
.lista-inventariere-a-table .header-pagina {
    padding-top: 5px;
}
.lista-inventariere-a-table .header-titlu {
    font-weight: bold;
    font-size: 12px;
}
.lista-inventariere-a-table .material-header {
    text-align: left;
    padding-left: 10px;
    font-weight: normal;
    height: 25px;
    font-size: 11px;
}
.lista-inventariere-a-table .align-left {
    text-align: left;
}
.lista-inventariere-a-table .align-right {
    text-align: right;
}

/* R5, R6: Coloanele de date (r5-r6) */
.lista-inventariere-a-table .col-r5-r6 {
    font-weight: bold;
    padding: 2px 1px;
    height: 30px;
}

/* Lățimile coloanelor (10 coloane = 100%) */
.lista-inventariere-a-table tbody tr td:nth-child(1) { width: 4%; }  /* 0 - Nr. crt. */
.lista-inventariere-a-table tbody tr td:nth-child(2) { width: 15%; } /* 1 - Denumirea bunurilor */
.lista-inventariere-a-table tbody tr td:nth-child(3) { width: 8%; }  /* 2 - Codul inventar */
.lista-inventariere-a-table tbody tr td:nth-child(4) { width: 5%; }  /* 3 - U/M */
.lista-inventariere-a-table tbody tr td:nth-child(5) { width: 8%; }  /* 4 - Cantitatea */
.lista-inventariere-a-table tbody tr td:nth-child(6) { width: 12%; } /* 5 - Preț unitar */
.lista-inventariere-a-table tbody tr td:nth-child(7) { width: 12%; } /* 6 - Valoarea contabilă */
.lista-inventariere-a-table tbody tr td:nth-child(8) { width: 12%; } /* 7 - Valoarea de inventar */
.lista-inventariere-a-table tbody tr td:nth-child(9) { width: 12%; } /* 8 - Deprecierea Valoarea */
.lista-inventariere-a-table tbody tr td:nth-child(10) { width: 12%; } /* 9 - Deprecierea Motivul */

/* Rândul Total pagină */
.lista-inventariere-a-table .total-page-row {
    font-weight: bold;
    text-align: left;
    background-color: #f8f8f8;
}
.lista-inventariere-a-table .total-label {
    padding-left: 10px;
}

/* Secțiunea Semnături */
.lista-inventariere-a-table .signature-cell-title-col {
    font-weight: bold;
    background-color: #f8f8f8;
    vertical-align: top;
    padding-top: 8px;
    height: 40px;
}
.lista-inventariere-a-table .signature-cell-title-row {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 20px;
    padding: 5px 2px;
}

/* Footer note */
.lista-inventariere-a-table tfoot .footer-note {
    text-align: left;
    border: none;
    padding: 10px 0 0 0;
    font-size: 10px;
    font-style: italic;
}
/* Stiluri specifice pentru LISTĂ DE INVENTARIERE (14-3-12/a) - FINAL */
.lista-inventariere-a-table-final {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
    line-height: 1.2;
}

.lista-inventariere-a-table-final th,
.lista-inventariere-a-table-final td {
    border: 1px solid #000;
    padding: 4px 2px; 
    text-align: center;
    vertical-align: middle;
    height: 18px; 
}

.lista-inventariere-a-table-final th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Antetul I & II: Entitatea, Titlu, Gestiune, Pagina, Magazia, Loc depozitare */
.lista-inventariere-a-table-final .header-cell {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 30px; 
    font-size: 11px;
}
.lista-inventariere-a-table-final .header-entitate,
.lista-inventariere-a-table-final .header-gestiune,
.lista-inventariere-a-table-final .header-pagina {
    padding-top: 5px;
}
.lista-inventariere-a-table-final .header-titlu {
    font-weight: bold;
    font-size: 12px;
}
.lista-inventariere-a-table-final .material-header {
    text-align: left;
    padding-left: 10px;
    font-weight: normal;
    height: 25px;
    font-size: 11px;
}
.lista-inventariere-a-table-final .align-left {
    text-align: left;
}
.lista-inventariere-a-table-final .align-right {
    text-align: right;
}

/* R5, R6: Coloanele de date (r5-r6) */
.lista-inventariere-a-table-final .col-r5-r6 {
    font-weight: bold;
    padding: 2px 1px;
    height: 30px;
}

/* Lățimile coloanelor (10 coloane = 100%) */
.lista-inventariere-a-table-final tbody tr td:nth-child(1) { width: 4%; }  /* 0 - Nr. crt. */
.lista-inventariere-a-table-final tbody tr td:nth-child(2) { width: 15%; } /* 1 - Denumirea bunurilor */
.lista-inventariere-a-table-final tbody tr td:nth-child(3) { width: 8%; }  /* 2 - Codul inventar */
.lista-inventariere-a-table-final tbody tr td:nth-child(4) { width: 5%; }  /* 3 - U/M */
.lista-inventariere-a-table-final tbody tr td:nth-child(5) { width: 8%; }  /* 4 - Cantitatea */
.lista-inventariere-a-table-final tbody tr td:nth-child(6) { width: 12%; } /* 5 - Preț unitar */
.lista-inventariere-a-table-final tbody tr td:nth-child(7) { width: 12%; } /* 6 - Valoarea contabilă */
.lista-inventariere-a-table-final tbody tr td:nth-child(8) { width: 12%; } /* 7 - Valoarea de inventar */
.lista-inventariere-a-table-final tbody tr td:nth-child(9) { width: 12%; } /* 8 - Deprecierea Valoarea */
.lista-inventariere-a-table-final tbody tr td:nth-child(10) { width: 12%; } /* 9 - Deprecierea Motivul */

/* Rândul Total pagină */
.lista-inventariere-a-table-final .total-page-row {
    font-weight: bold;
    text-align: left;
    background-color: #f8f8f8;
}
.lista-inventariere-a-table-final .total-label {
    padding-left: 10px;
}

/* Secțiunea Semnături */
.lista-inventariere-a-table-final .signature-cell-title-col {
    font-weight: bold;
    background-color: #f8f8f8;
    vertical-align: top;
    padding-top: 8px;
    height: 40px;
}
.lista-inventariere-a-table .signature-cell-title-row {
    font-weight: normal;
    background-color: transparent;
    vertical-align: top;
    height: 20px;
    padding: 5px 2px;
}

/* Rândul de semnătură de jos */
.lista-inventariere-a-table-final tbody tr:last-child th {
    font-weight: bold;
    height: 40px;
    vertical-align: middle;
}
.lista-inventariere-a-table-final tbody tr:last-child td {
    height: 40px;
}

/* Footer note */
.lista-inventariere-a-table-final tfoot .footer-note {
    text-align: left;
    border: none;
    padding: 10px 0 0 0;
    font-size: 10px;
    font-style: italic;
}
/* Stiluri specifice pentru CHITANŢĂ (14-4-1) */
.chitanta-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.chitanta-table td {
    border: 1px solid #000;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.chitanta-table .left-align-chitanta {
    text-align: left;
    height: 15px; /* Spațiu mic între rândurile de date */
}

/* Secțiunea Titlu (CHITANŢA nr. Data) */
.chitanta-table .chitanta-title,
.chitanta-table .chitanta-data {
    text-align: center;
    font-weight: bold;
    height: 15px;
    padding: 5px 10px;
}
.chitanta-table .chitanta-data {
    font-weight: normal;
}

/* Secțiunea Detalii tranzacție */
.chitanta-table .transaction-detail {
    height: 15px;
}

/* Secțiunea Semnătură Casier */
.chitanta-table .casier-signature-cell {
    text-align: right;
    font-weight: normal;
    padding-top: 20px; /* Spațiu deasupra semnăturii */

}
/* Stiluri specifice pentru CHITANŢĂ PENTRU OPERAŢIUNI ÎN VALUTĂ (14-4-1/a) */
.chitanta-valuta-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.chitanta-valuta-table td,
.chitanta-valuta-table th {
    /* Setări de bază pentru a elimina bordurile suplimentare */
    border: 1px solid #000;
    padding: 8px 10px;
    vertical-align: top;
    text-align: center;
}

/* Secțiunile de Antet/Titlu/Detalii (Fără borduri laterale sau orizontale interioare) */
.chitanta-valuta-table .header-text,
.chitanta-valuta-table .chitanta-title-valuta,
.chitanta-valuta-table .chitanta-data-valuta,
.chitanta-valuta-table .transaction-detail-valuta {
    /* Elimină toate bordurile și le reintroducem selectiv */
    border: none !important;
    text-align: left;
    height: 15px;
    padding: 2px 0 2px 10px;
}
.chitanta-valuta-table .chitanta-title-valuta,
.chitanta-valuta-table .chitanta-data-valuta {
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
}
.chitanta-valuta-table .chitanta-data-valuta {
    font-weight: normal;
    border-bottom: 1px solid #000 !important;
}
/* Reintroducerea chenarului exterior general */
.chitanta-valuta-table tbody tr:first-child td {
    border-top: 1px solid #000 !important;
}
.chitanta-valuta-table tbody tr td:first-child,
.chitanta-valuta-table tbody tr td:last-child {
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
}
.chitanta-valuta-table tbody tr:nth-child(10) td, /* Rândul de separare de la Am primit/plătit */
.chitanta-valuta-table tbody tr:nth-child(11) td {
    border: none !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
}
.chitanta-valuta-table tbody tr:nth-child(11) td {
    border-bottom: 1px solid #000 !important;
}

/* Antetul Valută și Rândurile de Date */
.chitanta-valuta-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    vertical-align: middle;
    padding: 5px;
}

/* Lățimile coloanelor (6 coloane = 100%) */
.chitanta-valuta-table th:nth-child(1) { width: 15%; } /* Felul valutei */
.chitanta-valuta-table th:nth-child(2) { width: 10%; } /* Suma în cifre */
.chitanta-valuta-table th:nth-child(3) { width: 30%; } /* Suma în litere */
.chitanta-valuta-table th:nth-child(4) { width: 10%; } /* Cursul */
.chitanta-valuta-table th:nth-child(5) { width: 35%; } /* C/Val în lei (c=2) */

.chitanta-valuta-table td:nth-child(1) { width: 15%; } /* Felul valutei */
.chitanta-valuta-table td:nth-child(2) { width: 10%; } /* Suma în cifre */
.chitanta-valuta-table td:nth-child(3) { width: 30%; } /* Suma în litere */
.chitanta-valuta-table td:nth-child(4) { width: 10%; } /* Cursul */
.chitanta-valuta-table td:nth-child(5) { width: 35%; } /* C/Val în lei (c=2) */

/* Rândul Total */
.chitanta-valuta-table .total-row-valuta {
    font-weight: bold;
}
.chitanta-valuta-table .total-label-valuta {
    text-align: center;
}

/* Semnătura Casier */
.chitanta-valuta-table .casier-signature-cell-valuta {
    text-align: right;
    font-weight: normal;
    padding-top: 20px; 
    border-bottom: 1px solid #000 !important;
}
/* Stiluri pentru DISPOZIȚIE DE PLATĂ/ÎNCASARE CĂTRE CASIERIE (14-4-4) */
/* Container general (pentru a asigura că ambele tabele sunt închise) */
.container-dispozitie-plata {
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

/* Stiluri de bază pentru ambele tabele */
.dispozitie-plata-table-main,
.dispozitie-plata-table-beneficiar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;
}

.dispozitie-plata-table-main td,
.dispozitie-plata-table-main th,
.dispozitie-plata-table-beneficiar td,
.dispozitie-plata-table-beneficiar th {
    border: 1px solid #000;
    padding: 6px 8px;
    vertical-align: top;
    text-align: center;
    font-size: 12px;
    height: 18px;
}

/* TABELUL 1: CORUL DISPOZIȚIEI */
.dispozitie-plata-table-main th {
    background-color: #f8f8f8;
}
.dispozitie-plata-table-main .left-align-dispozitie {
    text-align: left;
    height: 18px;
}
.dispozitie-plata-table-main .entitatea-row {
    border-bottom: none !important;
}
.dispozitie-plata-table-main .dispozitie-nr-row {
    font-weight: bold;
    height: 30px;
}
.dispozitie-plata-table-main .detail-row {
    border-top: none !important;
}

/* Semnături T1 */
.dispozitie-plata-table-main .signature-header-col-1 {
    width: 20%;
}
.dispozitie-plata-table-main .signature-header-col-2 {
    width: 30%;
}
.dispozitie-plata-table-main .signature-header-col-3 {
    width: 50%;
}
.dispozitie-plata-table-main tfoot .footer-note-dispozitie {
    text-align: left;
    border: none;
    font-size: 10px;
    padding-top: 5px;
}

/* TABELUL 2: DATE SUPLIMENTARE (BENEFICIAR) */
.dispozitie-plata-table-beneficiar {
    table-layout: auto; /* Permitem lățimilor să fie flexibile */
}

/* Celula stânga: "Se completează..." */
.dispozitie-plata-table-beneficiar .beneficiar-left-text {
    width: 20%;
    text-align: left;
    vertical-align: middle;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.5;
}

/* Antet Beneficiar */
.dispozitie-plata-table-beneficiar .beneficiar-header-title {
    background-color: #f8f8f8;
    font-weight: bold;
    height: 25px;
}

/* Detalii Beneficiar */
.dispozitie-plata-table-beneficiar .beneficiar-detail-row {
    text-align: left;
    border-bottom: none !important;
    line-height: 1.5;
}
.dispozitie-plata-table-beneficiar .beneficiar-detail-row-bottom {
    text-align: left;
    line-height: 1.5;
    border-top: none !important;
}

/* Secțiunea Casier */
.dispozitie-plata-table-beneficiar .casier-section-title {
    font-weight: bold;
    background-color: #f8f8f8;
    height: 25px;
}
.dispozitie-plata-table-beneficiar .casier-detail-row {
    text-align: left;
    border-top: none !important;
    line-height: 1.5;
}
.dispozitie-plata-table-beneficiar tbody tr:last-child .casier-detail-row {
    border-bottom: 1px solid #000 !important;
}
/* Stiluri pentru Tabelul Achiziții */
.achizitii-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.achizitii-table th,
.achizitii-table td {
    border: 1px solid #000;
    padding: 8px 5px; 
    text-align: center;
    vertical-align: middle;
}

.achizitii-table th {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Lățimile coloanelor (6 coloane = 100%) */
.achizitii-table th:nth-child(1), .achizitii-table td:nth-child(1) { width: 20%; } /* Produsul */
.achizitii-table th:nth-child(2), .achizitii-table td:nth-child(2) { width: 8%; }  /* Cod */
.achizitii-table th:nth-child(3), .achizitii-table td:nth-child(3) { width: 8%; }  /* U/M */
.achizitii-table th:nth-child(4), .achizitii-table td:nth-child(4) { width: 12%; } /* Cantitate */
.achizitii-table th:nth-child(5), .achizitii-table td:nth-child(5) { width: 26%; } /* Preț unitar de achiziție */
.achizitii-table th:nth-child(6), .achizitii-table td:nth-child(6) { width: 26%; } /* Valoarea achiziției */

/* Rândul TOTAL */
.achizitii-table .total-row-achizitii th,
.achizitii-table .total-row-achizitii td {
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Rândul Semnăturilor */
.achizitii-table .signature-cell {
    border: none;
    padding-top: 20px;
    font-size: 12px;
}
.achizitii-table .achizitor {
    text-align: left;
    /* Aliniere la C3/C4 în HTML, vizual C1/C2/C3 */
}
.achizitii-table .gestionar {
    text-align: right;
    /* Aliniere la C6/C7 în HTML, vizual C4/C5/C6 */
}

/* Footer Semnături */
.contract-achizitie-table-corectat tfoot .signature-footer {
    border: none;
    padding-top: 20px;
    font-size: 12px;
}
.contract-achizitie-table-corectat tfoot .achizitor {
    text-align: left;
}
.contract-achizitie-table-corectat tfoot .gestionar {
    text-align: right;
}