.code-scan-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  min-height: 54px;
  margin: 0 auto;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: #f5014e;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  touch-action: manipulation;
}

.code-scan-button .material-symbols-rounded {
  flex-shrink: 0;
  font-size: 28px;
  line-height: 1;
}

.code-scan-button:focus-visible {
  outline: 2px solid #f5014e;
  outline-offset: 3px;
}

.code-scan-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.code-scan-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.code-scan-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 4px auto;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.code-scan-divider::before,
.code-scan-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #dedee3;
}

[data-theme="dark"] .code-scan-divider {
  color: #aaa;
}

[data-theme="dark"] .code-scan-divider::before,
[data-theme="dark"] .code-scan-divider::after {
  border-color: #48484a;
}

.hero-inline-form.is-open.has-code-scan {
  max-height: 600px;
}

.modal-content.has-code-scan,
#lookupBlock {
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
