/* 手机扫码远程模式样式 */

.scan-remote-pairing {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 16px;
  color: white;
}

.scan-remote-pairing-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.scan-remote-pairing-header i {
  font-size: 20px;
}

.scan-remote-url {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.scan-remote-url .btn {
  background: white;
  color: #667eea;
  border: none;
  font-weight: bold;
}

.scan-remote-url .btn:hover {
  background: #f0f0f0;
}

.scan-remote-url .small {
  color: rgba(255, 255, 255, 0.8);
  word-break: break-all;
}

.scan-remote-status {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.scan-remote-status.scan-remote-status--success {
  background: rgba(40, 167, 69, 0.9);
}

.scan-remote-status.scan-remote-status--error {
  background: rgba(220, 53, 69, 0.9);
}

.scan-remote-status.scan-remote-status--info {
  background: rgba(23, 162, 184, 0.9);
}

/* QR code container */
.scan-remote-qr-wrapper {
  text-align: center;
  padding: 12px;
}

.scan-remote-qr-image {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  display: block;
  margin: 0 auto;
}

.scan-remote-url-text {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.scan-remote-url-text code {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 手机端样式已在 mobile_scan/index.html.erb 内联 */
