.fedex-label-4x6,
.fedex-label-4x6 * {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
  box-sizing: border-box;
}

.fedex-label-4x6 {
  width: 4in;
  height: 6in;
  background: #fff;
  color: #000;
  padding: 8px;
  overflow: hidden;
}

.fx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
}

.fx-brand-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fx-logo {
  width: 58px;
  height: auto;
}

.fx-brand-text {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .3px;
}

.fx-company-contact {
  text-align: right;
  font-weight: 600 !important;
}

.fx-tracking-row {
  text-align: center;
  border-bottom: 2px solid #000;
  padding: 5px 0;
  font-weight: 700 !important;
}

.fx-tracking-row span {
  font-size: 10px !important;
  font-weight: 700 !important;
}

.fx-tracking-row strong {
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-left: 4px;
}

.fx-ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid #000;
}

.fx-section-title {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 5px;
  margin-bottom: 3px;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

.fx-line {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.fx-line b {
  font-weight: 700 !important;
}

.fx-address-line span {
  display: inline;
}

.fx-service-strip {
  padding: 5px 0;
  border-bottom: 2px solid #000;
}

.fx-service-strip div {
  font-weight: 600 !important;
  margin-bottom: 2px;
}

.fx-details-box {
  padding: 6px 0;
  border-bottom: 2px solid #000;
}

.fx-parcel-summary,
.fx-details-content,
#bookingDetails,
#parcelInfoSummary {
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
}

.fx-code-grid {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 7px;
}

.label-qr img,
.label-qr canvas,
#qrcode img,
#qrcode canvas {
  width: 85px !important;
  height: 85px !important;
}

.fx-barcode-wrap svg,
#barcode {
  width: 100% !important;
  height: 55px !important;
}

@media print {
  @page {
    size: 4in 6in;
    margin: 0;
  }

  html,
  body {
    width: 4in;
    height: 6in;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body * {
    visibility: hidden !important;
  }
div#parcelInfoSummary {
    font-size: 12px;
}
  #printableLabel,
  #printableLabel * {
    visibility: visible !important;
  }

  #printableLabel {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 4in !important;
    height: 6in !important;
    margin: 0 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .no-print,
  .modal-footer {
    display: none !important;
  }
}
