$spacer-xl: 2.875rem;
$page-padding: 3cm;

.invoice-page {
  background-color: #fff;
  padding: $page-padding;
  max-width: 58rem;
  // box-shadow: 0px 0px 16px rgba(109, 114, 120, 0.6);
  @include box-shadow(0 0 map-get($spacers, 3) theme-color("info-transparent"));
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #191919;

  section {
    margin-bottom: $spacer-xl;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .text-sm {
    font-size: 0.875rem;
    line-height: 1.3125rem;
  }

  h1 {
    margin-bottom: 0;
  }

  .table {
    min-width: 0;
  }
}

hr.separator {
  border: none;
  border-bottom: 1px dashed theme-color('info'); //text-grey
  margin-bottom: $spacer-xl;
}

.invoice-heading-md {
  font-size: 1.1875rem;
  line-height: 1.625rem;
  letter-spacing: 0.25px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.625rem;
}

/*  For Print */

@media screen {
  .page-break {
    display: none;
  }
}

@media print {
  .page-break {
    display: block;
    break-before: page;
    height: $page-padding;
  }

  .invoice-page {
    max-width: unset;
  }
}

// Page rules only supported in Chrome and Edge, not Safari, Firefox, IE.
@page {
  size: A4;
}
