.qr-code-scanner-widget {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scanner-panel {
  position: relative;
}

.scanner-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.scanner-methods .scanner-method-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  transition: all 0.2s ease;
}
.scanner-methods .scanner-method-btn i {
  font-size: 18px;
}

.scanner-viewport {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease;
}
.scanner-viewport.upload-active {
  border-style: solid;
  border-color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), 0.02);
}
.scanner-viewport #qr-reader {
  width: 100%;
  max-width: 500px;
}
.scanner-viewport #qr-reader img {
  max-width: 100%;
}

.scanner-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}
.scanner-placeholder p {
  margin-top: 12px;
  font-size: 16px;
}

.scanner-controls .camera-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.scanner-controls .camera-controls select {
  flex: 1;
}
.scanner-controls .camera-controls .btn {
  white-space: nowrap;
}

.upload-zone {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 40px 20px;
  position: relative;
}
.upload-zone.drag-over {
  background: rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 6px;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.upload-label:hover {
  background: rgba(var(--bs-primary-rgb), 0.04);
  border-radius: 6px;
}

.upload-zone-text {
  text-align: center;
  margin-top: 16px;
  line-height: 2;
}
.upload-zone-text .upload-main-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--bs-primary);
  cursor: pointer;
}
.upload-zone-text .upload-main-text i {
  font-size: 18px;
  vertical-align: middle;
  margin-right: 4px;
}
.upload-zone-text .upload-or-text {
  font-size: 13px;
  color: #adb5bd;
}
.upload-zone-text .upload-drag-text {
  font-size: 14px;
  color: #6c757d;
}
.upload-zone-text .upload-drag-text i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

.scanner-result-panel {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  min-height: 400px;
  height: 100%;
}

.result-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #212529;
}

.scanner-result-content .result-empty {
  text-align: center;
  padding: 60px 20px;
}
.scanner-result-content .result-empty p {
  margin-top: 12px;
  font-size: 14px;
}

.result-data .result-image-wrapper {
  margin-bottom: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px;
  overflow: hidden;
}
.result-data .result-image-wrapper .result-image {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 4px;
}
.result-data .result-type-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 5px;
  color: #cf723a;
}

.result-text-wrapper {
  position: relative;
  margin-bottom: 16px;
}
.result-text-wrapper .result-text {
  font-family: "Courier New", monospace;
  font-size: 14px;
  resize: none;
  min-height: 100px;
  padding: 12px;
  padding-right: 44px;
  background: #fff;
}
.result-text-wrapper .btn-copy-result {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  font-size: 13px;
}

.result-message {
  text-align: center;
  padding: 20px;
}
.result-message .result-message-image-wrapper {
  margin-bottom: 16px;
}
.result-message .result-message-image-wrapper .result-message-image {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  padding: 4px;
  background: #fff;
}
.result-message .result-message-text {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
}

.result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/*# sourceMappingURL=qrCodeScanner.css.map */
