@page {
size: A4!important;
  margin: 0 !important;
  padding: 0 !important;

 width: 210mm; /*for chrome*/
height: 297mm; /*for chrome*/
}

@media print {
*{color:black !important;}  
body {
  margin: 0 !important;
  padding: 0 !important;
width:100% !important ;
height:100%  !important;
-webkit-print-color-adjust: exact !important; /* للحفاظ على الألوان عند الطباعة */
print-color-adjust: exact !important;
  }    
  img{filter: contrast(120%) brightness( 89%) saturate(155%);}

.page {
position: relative !important; /* بدلًا من static */
width:100% !important;
height:100% !important;



}  

.runner-layout{
position: relative;
width:100%;
height: 100%;
display: grid;
grid-template-columns: 0fr 1fr!important;

}
.section-right{   
background-color: white !important;
 }

.thumbnails,
nav,
footer,
.icons,
button,
.no-print {
    display: none !important;
} 
.section-left{
background-color: white !important;
}
nav{
  margin: 0 !important;
  padding: 0 !important;
}
  
  header
  {
    background-color: white!important;
  }

  .damenshi-logo {
    width: 100% !important;
    margin: 0 auto !important;   /*توسيط اللوجو */
   
    /* page-break-inside: avoid; تجنب تقسيم العنصر بين صفحات */
  }

  svg {
    fill: #000 !important;
    width: 200px !important;
    height: auto !important;
   
  }
/* /////////////////////////////info table for print///////////////////// */
.info_table{
  display: none;
}
.info-table-vertical{
  display: block !important;
}
.row-1, .row-2, .row-3, .row-4, .row-5, .row-6, .row-7{
  width: 100%;
  display: flex;
  justify-content:space-evenly;
  gap: 10px;
  align-items: center;
}
.info-table-vertical{
   width:95%;
   margin-top: 4%;
}
.info-table-vertical p{
    color:black;
    display: flex;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
}
.info-table-vertical .p-title{ font-family: 'MyFont_impact', sans-serif;font-size: xx-large;color: black;}
.row-1, .row-3, .row-5, .row-7{
  background-color: rgb(213, 213, 213);
}
.row-2, .row-4, .row-6{
   background-color: rgb(255, 255, 255);
}
.info-table-vertical img{aspect-ratio:1/1;width: 100%;max-width:100px;border: 1px solid ;border-color:black;}
.info-table-vertical .strip{aspect-ratio: 100/25;width: 100%;max-width:100px;background-repeat: repeat;background-size: 50px auto;border: 1px solid ;border-color:black;}
    
/* /////////////////////////////info table for print///////////////////// */
  /* تحسينات عامة للطباعة */
  * {
    text-shadow: none !important;
    box-shadow: none !important;
  }


  /* تجنب تقسيم العناصر بين صفحات */
  img, svg {
    page-break-inside: avoid;
  }
}
