/* OttoCare LOOKUP module — every rule scoped to .oc-lookup */
.oc-lookup, .oc-lookup * { box-sizing: border-box; }

.oc-lookup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
  min-width: 280px;
  max-width: 280px;
  font-family: 'DM Sans', sans-serif;
}

.oc-lookup .shop-group { display: flex; flex-direction: column; gap: 2px; }

.oc-lookup .shop-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 10px 4px;
  user-select: none;
}

.oc-lookup .customer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.oc-lookup .customer-btn:hover { background: rgba(255, 255, 255, 0.06); }
.oc-lookup .customer-btn.active { background: rgba(201, 168, 76, 0.12); }

.oc-lookup .shop-select-btn { margin-top: 2px; }

.oc-lookup .shop-phone-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  align-items: flex-start;
}

.oc-lookup .phone-shortcut-btn { padding: 7px 14px; width: auto; display: inline-flex; }
.oc-lookup .phone-shortcut-btn .customer-name { font-size: 13px; color: rgba(255, 255, 255, 0.42); }
.oc-lookup .phone-shortcut-btn.active .customer-name { color: #fff; }

.oc-lookup .customer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: background 0.15s;
}
.oc-lookup .customer-btn.active .customer-dot { background: #c9a84c; }

.oc-lookup .customer-info { flex: 1; }

.oc-lookup .customer-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
  transition: color 0.15s;
}
.oc-lookup .customer-btn.active .customer-name { color: #c9a84c; }
.oc-lookup .customer-btn:hover:not(.active) .customer-name { color: rgba(255, 255, 255, 0.85); }

.oc-lookup .phone-input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border 0.15s;
  width: 180px;
  margin-top: 4px;
}
.oc-lookup .phone-input:focus { border-color: #c9a84c; }

.oc-lookup .lookup-status {
  margin-top: 10px;
  min-height: 22px;
  color: #c9a84c;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.oc-lookup .lookup-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.25);
  border-top-color: #c9a84c;
  animation: oc-lookup-spin 0.8s linear infinite;
  display: none;
  flex-shrink: 0;
}
.oc-lookup .lookup-status.loading .lookup-spinner { display: inline-block; }
.oc-lookup .lookup-status.error { color: #ff8e8e; }

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

.oc-lookup .instructions-card {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 14px;
  max-width: 280px;
  min-width: 280px;
}
.oc-lookup .instructions-header {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.oc-lookup .instructions-text { font-size: 12px; color: rgba(255, 255, 255, 0.45); line-height: 1.6; }
