.qr-tool{display:flex;flex-direction:column;gap:1.25rem;width:100%;max-width:900px;margin:0 auto}.qr-tool p.privacy{margin:0;font-size:.9375rem;color:var(--c-success, #16a34a);font-weight:500}.qr-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.qr-actions button{min-height:44px;padding:.625rem 1.25rem;font-size:1rem;font-weight:600;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.qr-camera-container{display:flex;flex-direction:column;gap:.75rem;background:#0f172a;border-radius:12px;padding:1rem;color:#fff;overflow:hidden}.qr-video-wrapper{position:relative;width:100%;max-width:640px;margin:0 auto;aspect-ratio:4 / 3;background:#000;border-radius:8px;overflow:hidden}.qr-video-wrapper video{width:100%;height:100%;object-fit:cover}.qr-video-guide{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:65%;height:65%;border:2px dashed #22c55e;border-radius:12px;box-shadow:0 0 0 9999px #0006;pointer-events:none}.qr-camera-controls{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.qr-camera-controls button{min-height:44px;padding:.5rem 1rem;border-radius:6px;cursor:pointer}.qr-preview-box{display:flex;flex-direction:column;gap:.75rem;align-items:center;width:100%}.qr-preview-canvas-wrapper{max-width:100%;overflow-x:auto;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;padding:.5rem;display:flex;justify-content:center}.qr-preview-canvas{max-width:100%;height:auto;display:block;border-radius:4px}.qr-results{display:flex;flex-direction:column;gap:1rem;width:100%}.qr-card{display:flex;flex-direction:column;gap:.875rem;padding:1.25rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 1px 3px #0000000d;word-break:break-word}.qr-card-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.qr-badge{font-size:.8125rem;font-weight:700;padding:.25rem .625rem;border-radius:9999px;text-transform:uppercase;background:#e0f2fe;color:#0369a1}.qr-badge.vietqr{background:#fef3c7;color:#b45309}.qr-badge.wifi{background:#dcfce7;color:#15803d}.qr-badge.url{background:#e0e7ff;color:#4338ca}.qr-domain{font-size:1.125rem;line-height:1.4}.qr-domain strong{color:#0f172a}.qr-url-text{font-family:monospace;font-size:.875rem;color:#475569;padding:.5rem;background:#f8fafc;border-radius:6px;word-break:break-all}.qr-warning-box{padding:.75rem 1rem;border-radius:8px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;display:flex;flex-direction:column;gap:.375rem}.qr-warning-item{font-size:.875rem;font-weight:600}.qr-fields{display:flex;flex-direction:column;gap:.5rem}.qr-field{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem;font-size:.9375rem}.qr-field span.label{color:#64748b;min-width:110px}.qr-field code{font-family:monospace;background:#f1f5f9;padding:.125rem .375rem;border-radius:4px}.qr-crc-badge{display:inline-block;padding:.25rem .5rem;border-radius:6px;font-weight:700;font-size:.875rem}.qr-crc-valid{background:#dcfce7;color:#166534}.qr-crc-invalid{background:#fee2e2;color:#991b1b}.qr-raw-text{margin:0;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;white-space:pre-wrap;word-break:break-word;font-size:.9375rem;font-family:monospace}.qr-card-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.qr-card-actions button,.qr-card-actions a.button{min-height:44px;padding:.5rem 1rem;font-size:.9375rem;font-weight:600;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.qr-history{display:flex;flex-direction:column;gap:.75rem;border-top:1px solid #e2e8f0;padding-top:1.25rem;margin-top:1rem}.qr-history-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.qr-history-header h2{font-size:1.25rem;margin:0}.qr-history-list{display:flex;flex-direction:column;gap:.5rem}.qr-history-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.625rem .875rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.qr-history-text{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.qr-history-actions{display:flex;gap:.375rem}.qr-history-actions button{min-height:38px;padding:.25rem .625rem;font-size:.8125rem;border-radius:4px}@media(max-width:640px){.qr-card{padding:1rem}.qr-field{flex-direction:column;gap:.25rem}.qr-field span.label{min-width:unset}}
