@page {
  size: A4;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body.pdf-body {
  margin: 0;
  background: #eef1f4;
  color: #162016;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.receipt-page {
  width: 100%;
}

.receipt-shell {
  min-height: 257mm;
  background: #ffffff;
}

.pdf-header {
  padding: 18px 22px 14px;
  border-bottom: 3px solid #16813d;
}

.pdf-header-table {
  width: 100%;
  border-collapse: collapse;
}

.pdf-header-table td {
  vertical-align: middle;
}

.pdf-header-logo-cell {
  width: 18%;
  text-align: center;
}

.pdf-header-logo-cell-left {
  text-align: left;
}

.pdf-header-logo-cell-right {
  text-align: right;
}

.pdf-header-center {
  width: 64%;
  color: #172117;
  text-align: center;
}

.pdf-header-logo {
  display: inline-block;
  height: auto;
}

.pdf-header-emblem {
  width: 82px;
}

.pdf-header-ministry-logo {
  width: 76px;
}

.pdf-institution-main {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdf-institution-line {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdf-institution-exam {
  margin: 0 0 7px;
  color: #26352a;
  font-size: 11.5px;
  font-weight: 700;
}

.pdf-school-name {
  margin: 0 0 5px;
  color: #16813d;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdf-school-decision {
  margin: 2px 0 0;
  color: #5b675d;
  font-size: 9.5px;
  font-weight: 700;
}

.receipt-title-block {
  margin: 24px 0 20px;
  text-align: center;
}

.receipt-kicker {
  margin: 0 0 6px;
  color: #16813d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.receipt-title-block h1 {
  margin: 0;
  color: #121812;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.receipt-subtitle {
  margin: 8px 0 0;
  color: #5b675d;
  font-size: 12px;
  font-weight: 700;
}

.receipt-summary {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
}

.receipt-summary td {
  width: 33.333%;
  padding: 13px 14px;
  background: #f1f7f3;
  border: 1px solid #c9dece;
  vertical-align: top;
}

.summary-label,
.footer-label {
  display: block;
  margin-bottom: 5px;
  color: #5d6a60;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.receipt-summary strong {
  color: #152417;
  font-size: 15px;
}

.receipt-summary .status-paid {
  color: #0f7a38;
}

.pdf-section {
  margin-top: 18px;
}

.pdf-section h2 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  color: #16813d;
  border-bottom: 1px solid #d7e1d8;
  font-size: 14px;
  text-transform: uppercase;
}

.pdf-info-table {
  width: 100%;
  border-collapse: collapse;
}

.pdf-info-table th,
.pdf-info-table td {
  padding: 9px 10px;
  border: 1px solid #dce4dc;
  vertical-align: top;
}

.pdf-info-table th {
  width: 18%;
  background: #f7faf8;
  color: #5d6a60;
  font-size: 10px;
  text-align: left;
  text-transform: uppercase;
}

.pdf-info-table td {
  width: 32%;
  color: #172117;
  font-weight: 700;
}

.quitus-candidate-card {
  width: 100%;
  border-collapse: collapse;
}

.quitus-candidate-info {
  width: 74%;
  padding: 0 14px 0 0;
  vertical-align: top;
}

.quitus-candidate-card .pdf-info-table th {
  width: 34%;
}

.quitus-candidate-card .pdf-info-table td {
  width: 66%;
}

.quitus-photo-cell {
  width: 26%;
  text-align: right;
  vertical-align: top;
}

.quitus-photo,
.quitus-photo-placeholder {
  display: inline-block;
  width: 122px;
  height: 148px;
  border: 1px solid #b8c6ba;
}

.quitus-photo {
  object-fit: cover;
}

.quitus-photo-placeholder {
  padding: 54px 10px 0;
  background: #f7faf8;
  color: #6f7b72;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.quitus-simple-table {
  width: 100%;
  border-collapse: collapse;
}

.quitus-simple-table th,
.quitus-simple-table td {
  padding: 9px 10px;
  border: 1px solid #dce4dc;
  vertical-align: top;
}

.quitus-simple-table th {
  background: #f7faf8;
  color: #5d6a60;
  font-size: 10px;
  text-align: left;
  text-transform: uppercase;
}

.quitus-simple-table td {
  color: #172117;
  font-weight: 700;
}

.quitus-file-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #dce4dc;
}

.quitus-file-list li {
  padding: 8px 10px;
  border-bottom: 1px solid #dce4dc;
}

.quitus-file-list li:last-child {
  border-bottom: 0;
}

.quitus-file-list span {
  display: inline-block;
  width: 36%;
  color: #5d6a60;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.quitus-file-list strong {
  color: #172117;
  font-size: 11px;
}

.quitus-empty {
  margin: 0;
  padding: 10px;
  border: 1px solid #dce4dc;
  color: #5d6a60;
  font-weight: 700;
}

.receipt-certification {
  margin-top: 24px;
  padding: 14px 16px;
  background: #fbfcf8;
  border: 1px solid #dfe6d5;
  border-left: 5px solid #d2a31b;
}

.receipt-certification p {
  margin: 0;
  color: #314033;
  font-size: 12.5px;
}

.receipt-footer-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
}

.receipt-footer-table td {
  width: 50%;
  padding-top: 12px;
  vertical-align: top;
}

.receipt-footer-table strong {
  display: block;
  color: #172117;
  font-size: 13px;
}

.receipt-qr-cell {
  text-align: right;
}

.receipt-qr-code {
  display: inline-block;
  width: 82px;
  height: 82px;
}

.receipt-qr-code svg {
  display: block;
  width: 82px;
  height: 82px;
}

.quitus-signature-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}

.quitus-signature-table td {
  width: 33.333%;
  padding-top: 10px;
  vertical-align: top;
}

.quitus-signature-table strong {
  display: block;
  color: #172117;
  font-size: 12px;
}

.quitus-signature-line {
  margin-top: 34px;
  padding-top: 7px;
  border-top: 1px solid #9daaa0;
  color: #5d6a60;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.quitus-stamp-box {
  width: 130px;
  height: 74px;
  padding: 25px 8px 0;
  border: 1px dashed #9daaa0;
  color: #5d6a60;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
