/* ================= QR PREVIEW AREA ================= */
#qrPreviewArea {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

#qrFrameWrapper {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  line-height: 0;
  transition: all 0.2s;
}

#qrInner {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

#qrPlaceholder {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px 20px;
  min-height: 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #faf9fd;
}

/* ================= SCAN LABEL ================= */
#scanLabel {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 12px;
  width: 100%;
  display: none;
  line-height: 1.4;
}

/* ================= QR FRAME STYLES ================= */
.frame-border {
  border: 4px solid var(--frame-color);
}

.frame-rounded {
  border: 4px solid var(--frame-color);
  border-radius: 12px;
}

.frame-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.frame-double {
  border: 6px double var(--frame-color);
}

.frame-dashed {
  border: 4px dashed var(--frame-color);
}

.frame-glow {
  box-shadow: 0 0 25px 8px var(--frame-color);
}

.frame-card {
  background: #1a1a2e;
  border-radius: 24px;
  padding: 16px 16px 0 16px;
}

.frame-card #qrInner {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  line-height: 0;
}

/* ================= MOBILE QR ================= */
@media (max-width: 768px) {
  #qrPreviewArea {
    padding: 10px;
  }
}
