@page {
  size: A4;
  margin: 16mm;
}
body {
  background: #fff !important;
  color: #17261c !important;
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  font-size: 11px !important;
}
#app,
#dialog-root,
#toast-root,
.skip {
  display: none !important;
}
#print-root {
  display: block !important;
}
.invoice-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 2px solid #315843;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.invoice-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.invoice-brand img {
  width: 44px;
  height: 44px;
}
.invoice-brand strong {
  font-size: 25px;
}
.invoice-top h1 {
  font-size: 19px;
}
.invoice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  line-height: 2.3;
  margin-bottom: 24px;
}
.invoice-meta h2 {
  font-size: 12px;
  color: #61715e;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
.invoice-table th {
  background: #edf1e8;
  font-size: 10px;
}
.invoice-table td,
.invoice-table th {
  padding: 11px 7px;
  border-bottom: 1px solid #dfe3d7;
}
.invoice-table td {
  font-size: 10px;
}
.invoice-totals {
  margin: 20px 0 20px auto;
  width: 45%;
  display: grid;
  gap: 10px;
}
.invoice-totals div {
  display: flex;
  justify-content: space-between;
}
.invoice-totals .grand {
  font-size: 14px;
  border-top: 1px solid #dfe3d7;
  padding-top: 10px;
  font-weight: 700;
}
.invoice-note {
  margin-top: 25px;
  line-height: 2.2;
  font-size: 10px;
}
.invoice-watermark {
  padding: 12px;
  border: 1px dashed #bc815e;
  color: #9c522c;
  font-size: 10px;
  margin-top: 25px;
}
.invoice-footer {
  font-size: 9px;
  color: #6b7867;
  margin-top: 35px;
  text-align: center;
}
.invoice-table tr {
  break-inside: avoid;
}
a {
  color: inherit !important;
  text-decoration: none !important;
}
