/* [TFH-303:TFH_TRANSPORT_INVOICE_PDF:V028-CSS-START] */
.tfh-pdf-viewer-layer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3,13,25,.78);
  backdrop-filter: blur(8px);
}

.tfh-pdf-viewer-card {
  width: min(1280px, 100%);
  height: min(92dvh, 940px);
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  background: #eef2f5;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}

.tfh-pdf-viewer-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%,rgba(47,127,196,.28),transparent 34%),
    linear-gradient(110deg,#07182c,#173d61 68%,#0c2744);
}

.tfh-pdf-viewer-header span {
  color: var(--tfh-gold-300);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.tfh-pdf-viewer-header h2 {
  margin: 2px 0 0;
  font-size: 1.12rem;
}

.tfh-pdf-viewer-header p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.65);
  font-size: .7rem;
}

.tfh-pdf-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tfh-pdf-viewer-actions .tfh-primary-button,
.tfh-pdf-viewer-actions .tfh-secondary-button {
  min-height: 38px;
  padding: 7px 14px;
}

.tfh-pdf-viewer-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 1.45rem;
  cursor: pointer;
}

.tfh-pdf-viewer-body {
  min-height: 0;
  padding: 10px;
  background: #cfd7de;
}

.tfh-pdf-viewer-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid #aeb8c2;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 700px) {
  .tfh-pdf-viewer-layer {
    padding: 0;
  }

  .tfh-pdf-viewer-card {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .tfh-pdf-viewer-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tfh-pdf-viewer-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}
/* [TFH-303:TFH_TRANSPORT_INVOICE_PDF:V028-CSS-END] */
