.scan-widget-landing {
  --sw-bg: #f4f6fb;
  --sw-card: #ffffff;
  --sw-text: #141822;
  --sw-accent: #f5ad4f;
  --sw-border: #cbd5e1;
  --sw-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin: 1.5rem 0 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--sw-text);
  line-height: 1.45;
}

.scan-widget-landing .widget-card {
  background: var(--sw-card);
  border-radius: 16px;
  box-shadow: var(--sw-shadow);
  padding: 20px 18px 22px;
}

.scan-widget-landing .widget-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.scan-widget-landing .widget-feature h2,
.scan-widget-landing .widget-feature p {
  margin: 0;
}

.scan-widget-landing .widget-feature h2 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.scan-widget-landing .widget-feature p {
  font-size: 15px;
  color: #334155;
}

.scan-widget-landing .widget-feature--scan {
  padding-top: 4px;
}

.scan-widget-landing .widget-feature-lead {
  margin-bottom: 14px !important;
  font-weight: 600;
  color: var(--sw-text) !important;
}

.scan-widget-landing .barcode-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.scan-widget-landing .scan-circle {
  border: 0;
  width: 112px;
  height: 112px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  animation: scan-widget-pulse 1.8s infinite;
}

.scan-widget-landing .scan-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scan-widget-landing .scan-circle:focus-visible {
  outline: 3px solid rgba(245, 173, 79, 0.55);
  outline-offset: 3px;
}

@keyframes scan-widget-pulse {
  0% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(245, 173, 79, 0.55);
  }
  70% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 16px rgba(245, 173, 79, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(245, 173, 79, 0);
  }
}

.scan-widget-landing .barcode-entry-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.scan-widget-landing .barcode-entry-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  background: #fff;
  color: var(--sw-text);
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.scan-widget-landing .barcode-entry-input::placeholder {
  color: #94a3b8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.scan-widget-landing .barcode-entry-input:focus {
  outline: none;
  border-color: var(--sw-accent);
  box-shadow: 0 0 0 3px rgba(245, 173, 79, 0.25);
}

.scan-widget-landing .barcode-entry-search {
  flex: 0 0 auto;
  width: 48px;
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.scan-widget-landing .barcode-entry-search:hover {
  border-color: var(--sw-accent);
  background: #fffbeb;
}

.scan-widget-landing .barcode-entry-search svg {
  width: 20px;
  height: 20px;
  display: block;
}
