#mk-scan-widget {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  font-family: inherit;
}

#mk-scan-widget .mk-scan-bubble {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
}

#mk-scan-widget .mk-scan-icon {
  font-size: 20px;
  line-height: 1;
}

#mk-scan-widget .mk-scan-panel {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 280px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  padding: 10px;
  display: none;
}

#mk-scan-widget.is-open .mk-scan-panel {
  display: block;
}

#mk-scan-widget .mk-scan-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

#mk-scan-widget .mk-scan-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

#mk-scan-widget .mk-scan-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#mk-scan-widget .mk-scan-status {
  margin-top: 8px;
  font-size: 12px;
  color: #555;
  min-height: 16px;
}

#mk-scan-widget.is-loading .mk-scan-bubble {
  opacity: 0.75;
}

#mk-scan-widget .mk-scan-status.is-error {
  color: #b30000;
}

#mk-scan-widget .mk-scan-status.is-success {
  color: #0a7a2f;
}

#mk-scan-widget .mk-scan-status.is-info {
  color: #555;
}

/* Optional: show loading state on input */
#mk-scan-widget.is-loading .mk-scan-input {
  opacity: 0.85;
}