.cv-qr-wrap {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  padding: 10px;
  box-sizing: border-box;
  border-top: 1px solid #e5e7eb;
  overflow: visible;
}

.cv-qr-code {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.cv-qr-frame,
.cv-qr-symbol {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #fff;
}

.cv-qr-symbol canvas,
.cv-qr-symbol img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.cv-qr-copy {
  min-width: 0;
  width: 100%;
  display: block;
  color: #64748b;
  font-size: 9px;
  line-height: 1.35;
  white-space: normal;
}

.cv-qr-copy strong {
  display: block;
  color: #0b2559;
  font-size: 10px;
}

.cv-qr-disclaimer {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 8px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cv-document-signature {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid #eee;
  color: #aaa;
  font-size: 8px;
  line-height: 1.5;
}

.cv-qr-code[data-qr-status='loading']::after {
  content: 'Se generează…';
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 5px;
  background: #fff;
  color: #64748b;
  font-size: 8px;
  text-align: center;
}

.cv-qr-code[data-qr-status='error'] {
  color: #9f1239;
  font-size: 8px;
  text-align: center;
}

@media (max-width: 540px) {
  .cv-qr-wrap {
    gap: 10px;
  }

  .cv-qr-copy {
    font-size: 8.5px;
  }

  .cv-qr-copy strong {
    font-size: 9.5px;
  }
}
