.modal-backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.quotation-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.quotation-table th, 
.quotation-table td {
  border: 1px solid #cbd5e1;
  word-wrap: break-word;
}

.col-stt { width: 8%; }
.col-title { width: 27%; }
.col-desc { width: 45%; }
.col-price { width: 20%; }

@media (min-width: 768px) {
  .desktop-table-view {
    display: block !important;
  }
  .mobile-cards-view {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .desktop-table-view {
    display: none !important;
  }
  .mobile-cards-view {
    display: block !important;
  }
}

.is-generating-pdf .desktop-table-view {
  display: block !important;
  width: 100% !important;
}

.is-generating-pdf .mobile-cards-view {
  display: none !important;
}

.is-generating-pdf .no-print {
  display: none !important;
}

.is-generating-pdf .grid-cols-1.sm\:grid-cols-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.is-generating-pdf .flex.flex-col.sm\:flex-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
}

@page {
  size: A4 portrait;
  margin: 10mm 12mm;
}

@media print {
  *, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .no-print, .mobile-cards-view {
    display: none !important;
  }

  .desktop-table-view {
    display: block !important;
    width: 100% !important;
  }

  .grid-cols-1.sm\:grid-cols-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .flex.flex-col.sm\:flex-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  .max-w-4xl {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .quotation-page-wrapper {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
  }

  .quotation-table {
    border: 1px solid #475569 !important;
    width: 100% !important;
    display: table !important;
  }

  .quotation-table th,
  .quotation-table td {
    border: 1px solid #94a3b8 !important;
    padding: 6pt 8pt !important;
  }

  .quotation-table thead th {
    background-color: var(--timi-primary, #2a7d62) !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .row-total {
    background-color: var(--timi-primary-soft, #f0f8f5) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .box-info {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .box-highlight {
    background-color: var(--timi-primary-soft, #f0f8f5) !important;
    border: 1px solid var(--timi-primary-tint, #d1e7dd) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .text-brand {
    color: var(--timi-primary, #2a7d62) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .page-break-avoid {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  a {
    text-decoration: none !important;
    color: inherit !important;
  }

  .col-desc ul,
  .quotation-table td.col-desc ul,
  .quotation-table td:nth-child(3) ul,
  .mobile-cards-view ul,
  .box-info ul,
  .box-highlight ul {
    list-style-type: disc !important;
    margin-left: 14pt !important;
    margin-top: 3pt !important;
    margin-bottom: 3pt !important;
    padding-left: 0 !important;
  }

  .col-desc ol,
  .quotation-table td.col-desc ol,
  .quotation-table td:nth-child(3) ol,
  .mobile-cards-view ol,
  .box-info ol,
  .box-highlight ol {
    list-style-type: decimal !important;
    margin-left: 14pt !important;
    margin-top: 3pt !important;
    margin-bottom: 3pt !important;
    padding-left: 0 !important;
  }

  .col-desc li,
  .quotation-table td.col-desc li,
  .quotation-table td:nth-child(3) li,
  .box-info li,
  .box-highlight li {
    margin-bottom: 2pt !important;
    line-height: 1.4 !important;
  }

  .col-desc p,
  .quotation-table td.col-desc p,
  .quotation-table td:nth-child(3) p,
  .box-info p,
  .box-highlight p {
    margin-bottom: 3pt !important;
    line-height: 1.4 !important;
  }
}

.col-desc ul,
.quotation-table td.col-desc ul,
.quotation-table td:nth-child(3) ul,
.mobile-cards-view ul,
.box-info ul,
.box-highlight ul {
  list-style-type: disc !important;
  margin-left: 1.25rem !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
  padding-left: 0 !important;
}

.col-desc ol,
.quotation-table td.col-desc ol,
.quotation-table td:nth-child(3) ol,
.mobile-cards-view ol,
.box-info ol,
.box-highlight ol {
  list-style-type: decimal !important;
  margin-left: 1.25rem !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
  padding-left: 0 !important;
}

.col-desc li,
.quotation-table td.col-desc li,
.quotation-table td:nth-child(3) li,
.mobile-cards-view li,
.box-info li,
.box-highlight li {
  margin-bottom: 0.25rem !important;
  line-height: 1.55 !important;
}

.col-desc p,
.quotation-table td.col-desc p,
.quotation-table td:nth-child(3) p,
.mobile-cards-view p,
.box-info p,
.box-highlight p {
  margin-bottom: 0.4rem !important;
  line-height: 1.55 !important;
}

.col-desc p:last-child,
.quotation-table td.col-desc p:last-child,
.quotation-table td:nth-child(3) p:last-child,
.mobile-cards-view p:last-child,
.box-info p:last-child,
.box-highlight p:last-child {
  margin-bottom: 0 !important;
}

.col-desc a,
.quotation-table td.col-desc a,
.quotation-table td:nth-child(3) a,
.mobile-cards-view a,
.box-info a,
.box-highlight a {
  color: var(--timi-primary, #2a7d62);
  text-decoration: underline;
}