.jk-bind-shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.45);
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.jk-bind-shop-overlay.open {
  display: flex;
}

.jk-bind-shop-modal {
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 16px 20px 20px;
  animation: jk-bind-shop-in 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@keyframes jk-bind-shop-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.jk-bind-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.jk-bind-shop-title {
  font-size: 17px;
  font-weight: 600;
  color: #303133;
}

.jk-bind-shop-close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #909399;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.jk-bind-shop-close:hover {
  background: #f5f7fa;
}

.jk-bind-shop-tip {
  font-size: 12px;
  color: #909399;
  margin-bottom: 12px;
  line-height: 18px;
}

.jk-bind-shop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: min(400px, calc(100vh - 160px));
  padding-right: 2px;
}

.jk-bind-shop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  background: #fafafa;
}

.jk-bind-shop-row-current {
  border-color: #409eff;
  background: #ecf5ff;
}

.jk-bind-shop-row-main {
  flex: 1;
  min-width: 0;
}

.jk-bind-shop-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 20px;
}

.jk-bind-shop-name {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
}

.jk-bind-type-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: #409eff;
  background: #ecf5ff;
  border: 1px solid #b3d8ff;
  border-radius: 3px;
  padding: 0 5px;
  line-height: 18px;
  flex-shrink: 0;
}

.jk-bind-current-tag {
  font-size: 11px;
  color: #409eff;
  background: #d9ecff;
  border-radius: 3px;
  padding: 0 5px;
  line-height: 18px;
  flex-shrink: 0;
}

.jk-bind-shop-id {
  font-size: 12px;
  color: #909399;
  margin-top: 2px;
  line-height: 16px;
}

.jk-bind-shop-btn {
  flex-shrink: 0;
  min-width: 56px;
  height: 28px;
  padding: 0 12px;
  border: none;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.jk-bind-shop-btn:hover:not(:disabled) {
  background: #66b1ff;
}

.jk-bind-shop-btn:disabled,
.jk-bind-shop-btn.jk-bind-shop-btn-done {
  background: #e4e7ed;
  color: #909399;
  cursor: default;
}

.jk-bind-shop-btn.jk-bind-shop-btn-done:hover {
  background: #e4e7ed;
}

.jk-bind-shop-empty {
  text-align: center;
  color: #909399;
  font-size: 14px;
  padding: 24px 12px;
}

.jk-bind-shop-loading,
.jk-bind-shop-error {
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  padding: 20px 12px;
}

.jk-bind-shop-loading {
  color: #606266;
}

.jk-bind-shop-error {
  color: #f56c6c;
}
