@font-face {
  font-family: "Century Gothic FormaFX";
  src: url("../fonts/Century-Gothic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "LEMON MILK FormaFX";
  src: url("../fonts/LEMONMILK-Regular.otf") format("opentype");
  font-display: swap;
}

.quote-document {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 794px;
  background: #fff;
  z-index: -1;
}

.quote-doc-content {
  --pdf-navy: #041a33;
  --pdf-navy-2: #0a2f56;
  --pdf-blue: #2476e5;
  --pdf-cyan: #19e3ff;
  --pdf-teal: #0b8c7e;
  --pdf-ink: #183253;
  --pdf-muted: #6c7c95;
  --pdf-line: #d5e1ec;
  --pdf-soft: #f6faff;
  --pdf-panel: #f8fbff;
  color: var(--pdf-ink);
  background: #fff;
  font-family: "Century Gothic FormaFX", "Century Gothic", Tahoma, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.quote-doc-content * {
  box-sizing: border-box;
}

.quote-doc-content [dir="rtl"] {
  font-family: "Century Gothic FormaFX", Tahoma, Arial, sans-serif;
}

.quote-pdf-page {
  position: relative;
  width: 794px;
  height: 1122px;
  overflow: hidden;
  background: #fff;
  break-after: page;
  page-break-after: always;
}

.quote-pdf-page:last-child {
  break-after: auto;
  page-break-after: auto;
}

.pdf-header {
  height: 108px;
  padding: 24px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(118deg, #031121 0%, #07264a 45%, #0d3d68 100%);
}

.pdf-brand,
.pdf-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pdf-brand div,
.pdf-header-meta {
  display: grid;
}

.pdf-brand b,
.pdf-header-meta strong {
  font-family: "LEMON MILK FormaFX", sans-serif;
  font-size: 17px;
}

.pdf-brand span,
.pdf-header-meta span {
  font-size: 9px;
  opacity: .82;
}

.pdf-header-meta {
  text-align: end;
  gap: 4px;
}

.pdf-header-meta strong {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pdf-content {
  padding: 32px 42px 68px;
}

.pdf-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.pdf-section-heading i {
  width: 6px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--pdf-cyan), var(--pdf-blue));
}

.pdf-section-heading h2 {
  margin: 0;
  font-family: "LEMON MILK FormaFX", sans-serif;
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--pdf-navy);
}

.pdf-lead {
  margin: -5px 0 20px;
  color: var(--pdf-muted);
  font-size: 11px;
  max-width: 650px;
}

.pdf-footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 19px;
  padding-top: 9px;
  border-top: 1px solid var(--pdf-line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  color: var(--pdf-muted);
  font-size: 8px;
}

.pdf-footer b {
  color: var(--pdf-navy);
}

.pdf-money-lines {
  display: inline-grid;
  gap: 2px;
  white-space: nowrap;
  text-align: end;
}

.pdf-money-lines strong,
.money {
  white-space: nowrap;
}

.pdf-money-lines small {
  font-size: 8px;
  line-height: 1.2;
  color: var(--pdf-muted);
  white-space: nowrap;
}

.discount {
  font-weight: 700;
  color: #ec2e65;
}

.quote-doc-content.is-dark {
  --pdf-ink: #e9f2ff;
  --pdf-muted: #9fb0c7;
  --pdf-line: #28415b;
  --pdf-soft: #0c1b2b;
  --pdf-panel: #102238;
  background: #07111d;
}

.quote-doc-content.is-dark .quote-pdf-page {
  background: #07111d;
  color: #e9f2ff;
}

.quote-doc-content.is-dark .pdf-section-heading h2,
.quote-doc-content.is-dark .pdf-footer b {
  color: #f4f8ff;
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  .quote-document {
    position: static;
    left: auto;
  }

  .quote-pdf-page {
    width: 210mm;
    height: 297mm;
    margin: 0;
    box-shadow: none;
  }
}
