.lookup-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lookup-loading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 150px;
  margin-top: 20px;
  padding: 28px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius, 20px);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.65), rgba(219, 234, 254, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 12px 32px rgba(37, 99, 235, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  color: var(--ink-soft, #475467);
  font-size: 14px;
  text-align: center;
}

.lookup-loading > :not(.lookup-halo) {
  min-width: 0;
  max-width: 100%;
}

.lookup-halo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-top-color: var(--brand, #2563eb);
  border-right-color: rgba(56, 189, 248, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
  animation: lookup-spin 1s linear infinite;
}

#lookupForm .btn:disabled,
#orderForm .btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.lookup-enter {
  animation: lookup-reveal 180ms ease-out;
}

@keyframes lookup-spin {
  to { transform: rotate(360deg); }
}

@keyframes lookup-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lookup-halo,
  .lookup-enter {
    animation: none;
    transform: none;
  }
}
