/* QrCode common module, HTML5 variant.
   Fixed-size panel in the InformationBox region (top left), which it takes
   the place of when TestFlow shows the results QR code. Values are
   shared with the other common modules. */

.qr-code {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 43%;
  height: 64%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background-color: rgba(14, 21, 32, 0.92);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #eef2f6;
  /* Tiresias and Verdana are the fonts Ginga-NCL receivers must provide
     (ITU-T H.761, canvas:attrFont); Arial is the fallback elsewhere. */
  font-family: Tiresias, Verdana, Arial, Helvetica, sans-serif;
}

.qr-code-hidden {
  display: none;
}

.qr-code-header {
  flex-shrink: 0;
  padding: 22px 28px 10px;
}

.qr-code-title {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* The QR code, centered in the area under the title. */
.qr-code-body {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  margin: 0 28px 22px;
}

.qr-code-image {
  display: block;
}
