


@font-face {
    font-family: "primary-font";
    src: url(/Helper/admin/fonts/22ad496f1bb20f84-s.p.woff2) format("woff2");
    font-display: swap;
    font-weight: 400
}

@font-face {
    font-family: "primary-font";
    src: url(/Helper/admin/fonts/54b4529efaa12236-s.p.woff2) format("woff2");
    font-display: swap;
    font-weight: 500
}

@font-face {
    font-family: "primary-font";
    src: url(/Helper/admin/fonts/269b444bb35841f5-s.p.woff2) format("woff2");
    font-display: swap;
    font-weight: 600
}

@font-face {
    font-family: "primary-font";
    src: url(/Helper/admin/fonts/da45a3b468d95beb-s.p.woff2) format("woff2");
    font-display: swap;
    font-weight: 700
}


@page {
    size: A4 landscape;
    margin: 0;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
    max-width: 29.7cm;
    width: 29.7cm;
}
@page {
    size: A4 landscape ;
    margin: 0;
}

body {
    font-family: "primary-font";
    overflow: auto;
    font-size: 10px;
    position: relative;
    width: 29.7cm;
    min-height: 770px;
    height: 770px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
}

.product-info {
    width: 23px;
    /*height: 62.5%;*/
    background-color: #FF7A00;
    border: 1px solid #D9D9D9;
    border-left: none;
    text-align: center;
    color: white;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-info p {
        text-wrap: nowrap;
    }

p {
    margin: 0;
}

/*شروع قسمت هدر شامل لوگو و پیش فاکتور شماره سریال و تاریخ*/

.header {
    width: 93%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paragraph {
    font-family: "primary-font";
    color: #203B64;
    font-size: large;
    font-weight: bolder;
    padding-right: 80px;
}

.header-left {
    padding-top: 20px;
    gap: 5px;
    font-weight: bold;
    width: 200px;
    display: flex;
    flex-direction: column;
}

.serial {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 10px;
}

.serial-box {

    justify-content: center;
    width: 113px;
    background-color: #F9FAFB;
    border-radius: 3px;
    display: flex;
}

    .serial-box div {
        display: flex;
        justify-content: center;
    }

/*پایان قسمت هدر شامل لوگو و پیش فاکتور شماره سریال و تاریخ*/

/*شروع باکس مشخصات فروشنده */

.detail-info {
    width: 20px;
    height: 100%;
    background-color: #203B64;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-wrap: nowrap;
}



.detail-box {
    margin-top: 10px;
    display: flex;
    width: 93%;
    border: 1px solid #D9D9D9;
    height: 90px;
    background-color: #F9FAFB;
    border-radius: 8px;
}

.detail-Info-Box {
    padding-right: 20px;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
}

.first-row {
    display: flex;
    justify-content: start;
    gap: 30px;
}

.field-name {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.field-name {
    font-family: "primary-font";
}

.text-box {
    margin: 0;
    width: 170px;
    height: 22px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    text-wrap: auto;
    align-items: center;
    box-sizing: border-box;
    justify-content: center;
}

    .text-box p {
        font-weight: 100;
    }

.square-box {
    display: flex;
    align-items: center;
    gap: 2px;
    text-align: center;
}

    .square-box p {
        font-family: "primary-font";
        padding-left: 3px;
    }

.Square {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background-color: white;
}




.second-row {
    display: flex;
    justify-content: start;
    gap: 10px;
}


/*پایان باکس مشخصات فروشنده */


/*شروع باکس مشخصات خریدار */

/*پایان باکس مشخصات خریدار */






/*شروع جدول */
table {
    width: 1020px;
    min-width: 1020px;
    max-width: 1020px;
    font-size: 10px;
    text-align: center;
    font-family: "primary-font";
    background-color: #F9FAFB;
    border-radius: 8px;
}

.table {
    display: flex;
    font-size: 10px;
    border-left: 1px solid #D9D9D9;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    margin-top: 15px;
    text-align: center;
    background-color: #F9FAFB;
    border-radius: 8px;
    font-family: "primary-font";
}

/* General table styles */
tr,
td,
th {
    border-bottom: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    height: 15px;
}

    /* Ensure the first column has a left border */
    td:first-child,
    th:first-child {
        border-left: 1px solid #D9D9D9;
    }

    /* Remove the right border for the last column */
    td:last-child,
    th:last-child {
        border-right: none;
        border-left: none;
    }

    /* Remove the bottom border for the last row */
    tr:last-child td {
        border-bottom: none;
    }



/*پایان جدول */
/*شروع توضیحات*/
.description {
    display: flex;
    flex-direction: column;
    background-color: #F9FAFB;
    width: 90.3%;
    padding-top: 10px;
    padding-right: 10px;
    margin-right: 21px;
    line-height: 17px;
    color: #585858;
    font-size: 12px;
}




/*پایان توضیحات*/

.signature {
    display: flex;
    margin-top: 15px;
    width: 90.3%;
    margin-right: 21px;
    font-family: "primary-font";
    font-size: 15px;
    justify-content: space-between;
}





