.qr-tool-card {
  border: 3px solid #111111;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 6px 6px 0 #111111;
}

.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  align-items: start;
}

@media (max-width: 900px) {
  .qr-layout {
    grid-template-columns: 1fr;
  }
}

.qr-input {
  min-height: 14rem;
  resize: vertical;
}

.qr-preview-shell {
  min-height: 21rem;
  display: grid;
  place-items: center;
  border: 2px dashed #cbd5e1;
  border-radius: 1.25rem;
  background: #f8fafc;
}

.qr-preview-shell > [hidden] {
  display: none !important;
}

#qrCanvas {
  display: grid;
  place-items: center;
  width: 100%;
}

.qr-preview {
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 4px 4px 0 #111111;
}

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

.qr-empty-icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border: 3px solid #111111;
  background: #48dbfb;
  box-shadow: 4px 4px 0 #111111;
  font-size: 1.75rem;
}

.qr-status[data-type="success"] { color: #047857; }
.qr-status[data-type="error"] { color: #dc2626; }
